Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
haoban-3
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
haoban-3
Commits
29419b85
Commit
29419b85
authored
Apr 23, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改卡券
parent
a670677b
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
14 additions
and
21 deletions
+14
-21
index.html
dist/index.html
+2
-2
app.08b3f8217d4088843e1a8a8a2eee6bc4.css
dist/static/css/app.08b3f8217d4088843e1a8a8a2eee6bc4.css
+0
-0
10.9dd83b3436bebfd12f91.js
dist/static/js/10.9dd83b3436bebfd12f91.js
+2
-2
11.59c87174f09911b8256b.js
dist/static/js/11.59c87174f09911b8256b.js
+2
-2
12.e8cd784bf481f550c766.js
dist/static/js/12.e8cd784bf481f550c766.js
+2
-2
app.1bc75221d84dbc6210e0.js
dist/static/js/app.1bc75221d84dbc6210e0.js
+2
-2
manifest.515a8a4466abb9561fac.js
dist/static/js/manifest.515a8a4466abb9561fac.js
+2
-2
newCard.vue
src/views/apps/card/newCard.vue
+2
-9
No files found.
dist/index.html
View file @
29419b85
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
rel=
stylesheet
type=
text/css
href=
//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css
><link
href=
./static/css/app.7241e3a31bf6350a52efe97b656554b2.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
class=
damolish
><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.bac0677801e2a238467e.js
></script><script
type=
text/javascript
src=
./static/js/vendor.694f8850ed5112713591.js
></script><script
type=
text/javascript
src=
./static/js/app.5e12682ce21d5a9744df.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
rel=
stylesheet
type=
text/css
href=
//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css
><link
href=
./static/css/app.08b3f8217d4088843e1a8a8a2eee6bc4.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
class=
damolish
><div
id=
app
></div><script
src=
//web-1251519181.file.myqcloud.com/lib/vue/2.6.6/vue.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vue-router/3.0.2/vue-router.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/lib/vuex/3.1.0/vuex.min.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/img-preview.2.0.00.js
></script><script
src=
//web-1251519181.file.myqcloud.com/components/footer.2.0.04.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.515a8a4466abb9561fac.js
></script><script
type=
text/javascript
src=
./static/js/vendor.694f8850ed5112713591.js
></script><script
type=
text/javascript
src=
./static/js/app.1bc75221d84dbc6210e0.js
></script></body></html>
\ No newline at end of file
dist/static/css/app.
7241e3a31bf6350a52efe97b656554b2
.css
→
dist/static/css/app.
08b3f8217d4088843e1a8a8a2eee6bc4
.css
View file @
29419b85
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/1
2.2fd29e02837a34a220fc
.js
→
dist/static/js/1
0.9dd83b3436bebfd12f91
.js
View file @
29419b85
webpackJsonp
([
12
],{
"7/Zw"
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
r
=
a
(
"mvHQ"
),
s
=
a
.
n
(
r
),
o
=
a
(
"P9l9"
),
n
=
a
(
"Ch4/"
),
l
=
a
(
"PI0u"
),
i
=
{
name
:
"gic-select-store"
,
props
:{
width
:{
type
:
String
,
default
:
function
(){
return
"357px"
}},
selectData
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
[]}},
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
projectName
:
""
,
enterpriseId
:
this
.
brandId
,
checkAll
:
!
1
,
isIndeterminate
:
!
1
,
searchSelect
:
""
,
storeVisible
:
!
1
,
stores
:[],
storesCopy
:[],
dailyRuleForm
:{
stores
:[]},
pageNum
:
1
,
pageSize
:
200
}},
methods
:{
handleCheckAllChange
:
function
(
e
){
this
.
dailyRuleForm
.
stores
=
e
?
this
.
stores
.
map
(
function
(
e
){
return
e
.
storeId
}):[],
this
.
isIndeterminate
=!
1
,
this
.
$emit
(
"returnStores"
,
this
.
dailyRuleForm
.
stores
)},
handleStoresChange
:
function
(
e
){
var
t
=
e
.
length
;
this
.
checkAll
=
t
===
this
.
stores
.
length
,
this
.
isIndeterminate
=
t
>
0
&&
t
<
this
.
stores
.
length
,
this
.
$emit
(
"returnStores"
,
this
.
dailyRuleForm
.
stores
)},
toInput
:
Object
(
l
.
a
)(
function
(
e
,
t
){
""
!=
this
.
searchSelect
&&
(
this
.
stores
=
[],
this
.
pageNum
=
1
,
this
.
getStoreData
())},
500
),
changeVisible
:
function
(){},
checkStore
:
function
(
e
){
var
t
=
this
;
if
(
e
.
select
){
e
.
select
=!
1
;
var
a
=
t
.
dailyRuleForm
.
stores
.
indexOf
(
e
.
storeId
);
t
.
dailyRuleForm
.
stores
.
splice
(
a
,
1
)}
else
e
.
select
=!
0
,
t
.
dailyRuleForm
.
stores
.
push
(
e
.
storeId
);
t
.
storesCopy
.
forEach
(
function
(
e
){
t
.
dailyRuleForm
.
stores
.
includes
(
e
.
storeId
)
&&
(
e
.
select
=!
0
)})},
clearSearch
:
function
(){
this
.
stores
=
[],
this
.
pageNum
=
1
,
this
.
getStoreData
()},
getStoreData
:
function
(){
var
e
=
this
,
t
=
{
searchName
:
e
.
searchSelect
,
gicEnterpriseId
:
e
.
brandId
,
pageNum
:
e
.
pageNum
,
pageSize
:
e
.
pageSize
};
Object
(
o
.
a
)(
"/haoban-app-customer-web/cardCoupon/get-store-list"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
.
result
&&
a
.
result
.
result
.
forEach
(
function
(
t
){
t
.
select
=!
1
,
e
.
selectData
.
includes
(
t
.
storeId
)
&&
(
t
.
select
=!
0
)}),
1
==
e
.
pageNum
?(
e
.
stores
=
JSON
.
parse
(
s
()(
a
.
result
.
result
))
||
[],
e
.
storesCopy
=
JSON
.
parse
(
s
()(
a
.
result
.
result
))
||
[]):
a
.
result
.
result
.
forEach
(
function
(
t
){
e
.
stores
.
push
(
t
),
e
.
storesCopy
.
push
(
t
)}),
void
(
e
.
pageNum
*
e
.
pageSize
<
a
.
result
.
totalCount
&&
(
e
.
pageNum
++
,
e
.
$nextTick
(
function
(){
e
.
getStoreData
()})));
n
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
e
){
e
&&
(
this
.
checkAll
=!
1
,
this
.
isIndeterminate
=!
1
,
this
.
stores
=
[],
this
.
storesCopy
=
[],
this
.
searchSelect
=
""
,
this
.
getStoreData
())},
selectData
:
function
(
e
,
t
){
e
.
length
?
this
.
dailyRuleForm
.
stores
=
JSON
.
parse
(
s
()(
e
)):
this
.
dailyRuleForm
.
stores
=
[]}},
mounted
:
function
(){
this
.
brandId
&&
(
this
.
stores
=
[],
this
.
storesCopy
=
[],
this
.
getStoreData
()),
this
.
selectData
.
length
?
this
.
dailyRuleForm
.
stores
=
JSON
.
parse
(
s
()(
this
.
selectData
)):
this
.
dailyRuleForm
.
stores
=
[]}},
c
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"el-popover"
,{
attrs
:{
placement
:
"bottom"
,
title
:
""
,
width
:
"350"
,
trigger
:
"click"
},
model
:{
value
:
e
.
storeVisible
,
callback
:
function
(
t
){
e
.
storeVisible
=
t
},
expression
:
"storeVisible"
}},[
a
(
"div"
,{
staticClass
:
"daily-store-select"
},[
a
(
"div"
,{
staticClass
:
"select-search"
},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
placeholder
:
"请输入门店名称"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearSearch
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
toInput
(
a
,
e
.
searchSelect
);
var
a
}},
model
:{
value
:
e
.
searchSelect
,
callback
:
function
(
t
){
e
.
searchSelect
=
t
},
expression
:
"searchSelect"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"checkbox border-box"
,
staticStyle
:{
padding
:
"15px 20px"
}},[
a
(
"el-checkbox"
,{
attrs
:{
indeterminate
:
e
.
isIndeterminate
},
on
:{
change
:
e
.
handleCheckAllChange
},
model
:{
value
:
e
.
checkAll
,
callback
:
function
(
t
){
e
.
checkAll
=
t
},
expression
:
"checkAll"
}},[
e
.
_v
(
"全选"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-scrollbar define-search-select"
},[
a
(
"div"
,{
staticClass
:
"el-select-dropdown__wrap el-scrollbar__wrap"
,
staticStyle
:{
"margin-bottom"
:
"-5px"
,
"margin-right"
:
"-5px"
}},[
a
(
"el-checkbox-group"
,{
on
:{
change
:
e
.
handleStoresChange
},
model
:{
value
:
e
.
dailyRuleForm
.
stores
,
callback
:
function
(
t
){
e
.
$set
(
e
.
dailyRuleForm
,
"stores"
,
t
)},
expression
:
"dailyRuleForm.stores"
}},[
a
(
"ul"
,{
staticClass
:
"el-scrollbar__view el-select-dropdown__list"
},[
e
.
_l
(
e
.
stores
,
function
(
t
){
return
a
(
"li"
,{
key
:
t
.
storeId
,
class
:[
"el-select-dropdown__item"
,
t
.
select
?
"selected hover"
:
""
]},[
a
(
"el-checkbox"
,{
attrs
:{
label
:
t
.
storeId
}},[
e
.
_v
(
e
.
_s
(
t
.
storeName
))])],
1
)}),
e
.
_v
(
" "
),
e
.
stores
.
length
?
e
.
_e
():
a
(
"li"
,{
staticClass
:
"text-center"
},[
a
(
"span"
,[
e
.
_v
(
"暂无数据"
)])])],
2
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-scrollbar__bar is-horizontal"
},[
a
(
"div"
,{
staticClass
:
"el-scrollbar__thumb"
,
staticStyle
:{
transform
:
"translateX(0%)"
}})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-scrollbar__bar is-vertical"
},[
a
(
"div"
,{
staticClass
:
"el-scrollbar__thumb"
,
staticStyle
:{
transform
:
"translateY(0%)"
}})])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"show-select-num cursor-pointer w-350"
,
attrs
:{
slot
:
"reference"
},
on
:{
click
:
e
.
changeVisible
},
slot
:
"reference"
},[
e
.
_v
(
"
\
n 已经选择"
+
e
.
_s
(
e
.
dailyRuleForm
.
stores
.
length
)
+
"家门店
\
n "
),
a
(
"span"
,{
staticClass
:
"el-input__suffix"
},[
a
(
"span"
,{
staticClass
:
"el-input__suffix-inner"
},[
a
(
"i"
,{
class
:[
"el-select__caret el-input__icon el-icon-arrow-up"
,
e
.
storeVisible
?
"is-reverse"
:
""
]})])])])])},
staticRenderFns
:[]};
var
d
=
a
(
"VU/8"
)(
i
,
c
,
!
1
,
function
(
e
){
a
(
"tF+o"
)},
"data-v-741aa34c"
,
null
).
exports
,
u
=
a
(
"Ggl+"
),
p
=
{
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
coupCardId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
dialogVisible
:
!
0
,
selectCoupCardId
:
this
.
coupCardId
||
""
,
tableData
:[],
currentPage
:
1
,
pageSize
:
6
,
total
:
0
}},
methods
:{
handleClose
:
function
(
e
){
this
.
$emit
(
"closeCard"
)},
toConfirm
:
function
(){
var
e
=
this
,
t
=
{};
e
.
tableData
.
forEach
(
function
(
a
){
a
.
coupCardId
==
e
.
selectCoupCardId
&&
(
t
=
a
)}),
e
.
$emit
(
"returnId"
,
e
.
selectCoupCardId
,
t
)},
toCancel
:
function
(){
this
.
$emit
(
"closeCard"
)},
toInput
:
Object
(
l
.
a
)(
function
(
e
,
t
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
200
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
getTableList
:
function
(
e
){
var
t
=
this
,
a
=
{
cardName
:
t
.
searchInput
||
""
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
,
gicEnterpriseId
:
t
.
brandId
};
Object
(
o
.
a
)(
"/haoban-app-customer-web/cardCoupon/find-select-card-page"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
tableData
=
a
.
result
.
list
||
[],
t
.
total
=
a
.
result
.
pageInfo
.
total
,
!
1
;
n
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
this
.
getTableList
()},
coupCardId
:
function
(
e
,
t
){
e
&&
(
this
.
selectCoupCardId
=
e
)}},
mounted
:
function
(){
this
.
selectCoupCardId
=
this
.
coupCardId
,
this
.
brandId
&&
this
.
getTableList
()}},
m
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
"卡券选择"
,
visible
:
e
.
dialogVisible
,
width
:
"994px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
}}},[
a
(
"div"
,{
staticClass
:
"search-div"
},[
a
(
"el-input"
,{
staticClass
:
"w-264"
,
staticStyle
:{
width
:
"264px"
},
attrs
:{
placeholder
:
"请输入卡券名称"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
toInput
(
a
,
e
.
searchInput
);
var
a
}},
model
:{
value
:
e
.
searchInput
,
callback
:
function
(
t
){
e
.
searchInput
=
t
},
expression
:
"searchInput"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})]),
a
(
"span"
,{
staticClass
:
"search-tip p-l-20 font-14 color-909399"
},[
e
.
_v
(
"仅支持选择“领取限制>=100”的卡券,系统已自动过滤不符合条件的卡券,符合条件的卡券共"
+
e
.
_s
(
e
.
total
)
+
"张"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"chat-log-content boder-box m-t-20"
},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
}},[
a
(
"el-table-column"
,{
attrs
:{
"class-name"
:
"hide-ellipsis"
,
label
:
""
,
width
:
"50"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-radio"
,{
attrs
:{
disabled
:
1
==
t
.
row
.
selected
,
label
:
t
.
row
.
coupCardId
},
model
:{
value
:
e
.
selectCoupCardId
,
callback
:
function
(
t
){
e
.
selectCoupCardId
=
t
},
expression
:
"selectCoupCardId"
}},[
e
.
_v
(
e
.
_s
(
""
))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"cardName"
,
label
:
"卡券名称"
,
"show-overflow-tooltip"
:
""
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"备注名"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
subName
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"effectDateString"
,
label
:
"有效期"
,
"show-overflow-tooltip"
:
""
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"cardLimit"
,
label
:
"领取限制"
,
"show-overflow-tooltip"
:
""
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"storeMode"
,
label
:
"适用门店"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
0
==
t
.
row
.
storeMode
?
"所有门店"
:
1
==
t
.
row
.
storeMode
?
"部分分组"
:
"部分门店"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"couponStock"
,
label
:
"库存"
,
"show-overflow-tooltip"
:
""
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"getedQuantity"
,
label
:
"领取次数"
,
"show-overflow-tooltip"
:
""
}})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-size"
:
e
.
pageSize
,
layout
:
" prev, pager, next"
,
total
:
e
.
total
},
on
:{
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer m-b-20"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
e
.
toCancel
}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
toConfirm
}},[
e
.
_v
(
"确认"
)])],
1
)])},
staticRenderFns
:[]};
var
f
=
a
(
"VU/8"
)(
p
,
m
,
!
1
,
function
(
e
){
a
(
"F0H0"
)},
"data-v-3f3f56a1"
,
null
).
exports
,
h
=
a
(
"3E4D"
),
g
=
{
name
:
"chat-log"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
components
:{
selectCard
:
f
,
gicSelectGroup
:
u
.
a
,
gicSelectStore
:
d
},
data
:
function
(){
var
e
=
this
;
return
{
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
activeId
:
"3"
,
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
selectCoupCard
:{},
formData
:{
id
:
""
,
coupCardId
:
""
,
sendRange
:
"0"
,
selectList
:[],
eachSendTimes
:
3
,
sendType
:
"0"
,
totalSendTimes
:
0
},
rules
:{
coupCardId
:[{
required
:
!
0
,
message
:
"请选择卡券"
,
trigger
:
"change"
}],
sendRange
:[{
validator
:
function
(
t
,
a
,
r
){
return
""
==
a
?
r
(
new
Error
(
"请选择发送范围"
)):
"1"
!=
a
&&
"2"
!=
a
||
e
.
formData
.
selectList
.
length
?
void
r
():
r
(
new
Error
(
"请选择发送范围"
))},
trigger
:
"change"
}],
sendType
:[{
validator
:
function
(
t
,
a
,
r
){
return
""
==
a
?
r
(
new
Error
(
"请选择券发放总数"
)):
"1"
!=
a
||
e
.
formData
.
totalSendTimes
?
void
r
():
r
(
new
Error
(
"请选择券发放总数"
))},
trigger
:
"change"
}],
eachSendTimes
:[{
required
:
!
0
,
message
:
"请输入券发放张数"
,
trigger
:
"blur"
}]},
cardSelectShow
:
!
1
,
addTag
:
!
0
}},
methods
:{
returnStores
:
function
(
e
){
console
.
log
(
"store:"
,
e
),
this
.
formData
.
selectList
=
JSON
.
parse
(
s
()(
e
))},
checkGroupIds
:
function
(
e
){
console
.
log
(
e
),
this
.
formData
.
selectList
=
JSON
.
parse
(
s
()(
e
))},
showCard
:
function
(){
this
.
cardSelectShow
=!
0
},
closeCard
:
function
(){
this
.
cardSelectShow
=!
1
},
returnId
:
function
(
e
,
t
){
this
.
formData
.
coupCardId
=
e
,
this
.
selectCoupCard
=
t
,
this
.
cardSelectShow
=!
1
},
submitForm
:
Object
(
l
.
a
)(
function
(
e
,
t
){
var
a
=
this
;
return
!!
(
"1"
!=
a
.
formData
.
sendRange
&&
"2"
!=
a
.
formData
.
sendRange
||
a
.
formData
.
selectList
.
length
)
&&
(
!
(
"1"
==
a
.
formData
.
sendType
&&!
a
.
formData
.
totalSendTimes
)
&&
(
!
(
"1"
==
a
.
formData
.
receiveType
&&!
a
.
formData
.
totalReceiveTimes
)
&&
(
!
t
&&
a
.
$route
.
query
.
coupCardId
&&
(
a
.
addTag
=!
1
),
t
&&
a
.
$route
.
query
.
coupCardId
&&
(
a
.
addTag
=!
0
),
void
a
.
$refs
[
e
].
validate
(
function
(
e
){
e
&&
a
.
postSaveCard
(
t
)}))))},
300
),
postSaveCard
:
function
(
e
){
var
t
=
this
,
a
=
{
id
:
t
.
formData
.
id
,
coupCardId
:
t
.
formData
.
coupCardId
&&!
t
.
addTag
?
t
.
formData
.
coupCardId
:
""
,
sendRange
:
t
.
formData
.
sendRange
,
selectList
:
1
==
t
.
formData
.
sendRange
?
t
.
formData
.
selectList
.
map
(
function
(
e
){
return
e
.
storeGroupId
}).
join
(
","
):
2
==
t
.
formData
.
sendRange
?
t
.
formData
.
selectList
.
join
(
","
):
""
,
eachSendTimes
:
t
.
formData
.
eachSendTimes
,
sendType
:
t
.
formData
.
sendType
,
totalSendTimes
:
t
.
formData
.
totalSendTimes
,
gicEnterpriseId
:
t
.
brandId
,
wxEnterpriseId
:
t
.
wxEnterpriseId
};
Object
(
o
.
d
)(
t
.
$route
.
query
.
coupCardId
?
"/haoban-app-customer-web/cardCoupon/edit-card-coup"
:
"/haoban-app-customer-web/cardCoupon/add-card-coup"
,
a
).
then
(
function
(
a
){
var
r
=
a
.
data
;
1
==
r
.
errorCode
&&
(
h
.
a
.
showmsg
(
t
.
$route
.
query
.
coupCardId
?
"编辑卡券成功"
:
"新建卡券成功"
,
"success"
),
e
?(
t
.
addTag
=!
0
,
t
.
formData
=
{
id
:
""
,
coupCardId
:
""
,
sendRange
:
"0"
,
selectList
:[],
eachSendTimes
:
3
,
sendType
:
"0"
,
totalSendTimes
:
0
},
t
.
selectCoupCard
=
{}):
t
.
$router
.
push
(
"/cardList"
)),
n
.
a
.
errorMsg
(
r
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
toReturn
:
function
(){
var
e
=
this
;
e
.
$confirm
(
"是否确认返回,返回后当前页面内容将丢失"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
e
.
$router
.
push
(
"/onlineChatSet?activeTab="
+
e
.
$route
.
query
.
activeTab
+
"&appIcon="
+
e
.
$route
.
query
.
appIcon
)}).
catch
(
function
(){})},
changeRange
:
function
(
e
){
this
.
formData
.
selectList
=
[]},
getCardData
:
function
(){
var
e
=
this
,
t
=
{
coupCardId
:
e
.
$route
.
query
.
coupCardId
,
gicEnterpriseId
:
e
.
brandId
};
Object
(
o
.
a
)(
"/haoban-app-customer-web/cardCoupon/find-card-coup-detail"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
.
detail
?(
a
.
result
.
list
&&
a
.
result
.
list
.
forEach
(
function
(
e
){
e
.
label
=
e
.
name
,
e
.
departmentId
=
e
.
id
,
e
.
storeGroupId
=
e
.
id
,
e
.
storeGroupName
=
e
.
name
,
e
.
departmentName
=
e
.
name
,
2
==
a
.
result
.
detail
.
sendRange
&&
(
e
.
storeId
=
e
.
id
)}),
e
.
selectCoupCard
=
a
.
result
.
gicDetail
,
e
.
formData
=
{
id
:
a
.
result
.
detail
.
id
,
coupCardId
:
a
.
result
.
detail
.
coupCardId
,
sendRange
:
String
(
a
.
result
.
detail
.
sendRange
),
selectList
:
0
!=
a
.
result
.
detail
.
sendRange
?
2
==
a
.
result
.
detail
.
sendRange
?
a
.
result
.
list
.
map
(
function
(
e
){
return
e
.
id
}):
a
.
result
.
list
:[],
eachSendTimes
:
a
.
result
.
detail
.
eachSendTimes
,
sendType
:
String
(
a
.
result
.
detail
.
sendType
),
totalSendTimes
:
a
.
result
.
detail
.
totalSendTimes
},
!
1
):(
e
.
addTag
=!
1
,
h
.
a
.
showmsg
(
"请先保存上一个商户的设置内容"
,
"warning"
),
!
1
);
n
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
if
(
e
&&
this
.
$route
.
query
.
coupCardId
&&!
this
.
addTag
)
return
this
.
activeBrand
=
e
,
this
.
getCardData
(),
!
1
;
e
&&
(
this
.
addTag
=!
0
,
this
.
formData
=
{
id
:
""
,
coupCardId
:
""
,
sendRange
:
"0"
,
selectList
:[],
eachSendTimes
:
3
,
sendType
:
"0"
,
totalSendTimes
:
0
},
this
.
selectCoupCard
=
{})},
activeGroupId
:
function
(
e
,
t
){
e
&&
(
this
.
activeGroup
=
e
)}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"1"
),
this
.
activeBrand
=
this
.
brandId
,
this
.
$route
.
query
.
coupCardId
&&
this
.
brandId
&&
(
this
.
addTag
=!
1
,
this
.
getCardData
())}},
b
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"section"
,{
staticClass
:
"common-right-wrap"
},[
a
(
"div"
,{
staticClass
:
"new-card-body border-box"
},[
a
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
formData
,
rules
:
e
.
rules
,
"label-width"
:
"120px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"选择卡券"
,
prop
:
"coupCardId"
}},[
e
.
formData
.
coupCardId
?
e
.
_e
():
a
(
"div"
,{
staticClass
:
"card-add-btn text-center cursor-pointer"
,
on
:{
click
:
e
.
showCard
}},[
a
(
"span"
,{
staticClass
:
"el-icon-plus font-12 color-909399"
}),
a
(
"span"
,{
staticClass
:
"font-14 color-909399"
},[
e
.
_v
(
"添加卡券"
)])]),
e
.
_v
(
" "
),
e
.
formData
.
coupCardId
?
a
(
"div"
,{
staticClass
:
"selected-card-body flex"
},[
a
(
"div"
,{
staticClass
:
"selected-card font-14 color-909399"
},[
e
.
_v
(
e
.
_s
(
e
.
selectCoupCard
.
cardName
)
+
" | "
+
e
.
_s
(
e
.
selectCoupCard
.
effectDateString
)
+
" | 限制"
+
e
.
_s
(
e
.
selectCoupCard
.
cardLimit
)
+
"张/人 | 适用门店:"
+
e
.
_s
(
0
==
e
.
selectCoupCard
.
storeMode
?
"所有门店"
:
1
==
e
.
selectCoupCard
.
storeMode
?
"部分分组"
:
"部分门店"
)
+
" | 库存:"
+
e
.
_s
(
e
.
selectCoupCard
.
couponStock
))]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
staticClass
:
"m-l-10"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
e
.
showCard
}},[
e
.
_v
(
"重新选择"
)])],
1
):
e
.
_e
()]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-form-item el-form-item--large"
},[
a
(
"label"
,{
staticClass
:
"el-form-item__label"
,
staticStyle
:{
width
:
"120px"
,
cursor
:
"pointer"
},
attrs
:{
for
:
"name"
}},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"卡券的发送范围设置"
,
placement
:
"top-start"
}},[
a
(
"span"
,{
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
e
.
_v
(
"选择发送范围"
)])])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-form-item__content"
,
staticStyle
:{
"margin-left"
:
"120px"
}},[
a
(
"el-radio"
,{
attrs
:{
label
:
"0"
},
on
:{
change
:
e
.
changeRange
},
model
:{
value
:
e
.
formData
.
sendRange
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"sendRange"
,
t
)},
expression
:
"formData.sendRange"
}},[
e
.
_v
(
"所有门店"
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
staticClass
:
"m-l-40 m-r-8"
,
attrs
:{
label
:
"1"
},
on
:{
change
:
e
.
changeRange
},
model
:{
value
:
e
.
formData
.
sendRange
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"sendRange"
,
t
)},
expression
:
"formData.sendRange"
}},[
e
.
_v
(
"部分分组"
)]),
e
.
_v
(
" "
),
1
==
e
.
formData
.
sendRange
?
a
(
"div"
,{
staticClass
:
"w-240 inline-block item-cell-select"
},[
a
(
"gic-select-group"
,{
staticClass
:
"m-l-10"
,
attrs
:{
brandId
:
e
.
brandId
,
width
:
213
,
selectData
:
e
.
formData
.
selectList
},
on
:{
checkGroupIds
:
e
.
checkGroupIds
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
staticClass
:
"m-l-40 m-r-8"
,
attrs
:{
label
:
"2"
},
on
:{
change
:
e
.
changeRange
},
model
:{
value
:
e
.
formData
.
sendRange
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"sendRange"
,
t
)},
expression
:
"formData.sendRange"
}},[
e
.
_v
(
"部分门店"
)]),
e
.
_v
(
" "
),
2
==
e
.
formData
.
sendRange
?
a
(
"div"
,{
staticClass
:
"w-240 inline-block item-cell-select"
},[
a
(
"gic-select-store"
,{
attrs
:{
brandId
:
e
.
brandId
,
selectData
:
e
.
formData
.
selectList
},
on
:{
returnStores
:
e
.
returnStores
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
"1"
!=
e
.
formData
.
sendRange
&&
"2"
!=
e
.
formData
.
sendRange
||
e
.
formData
.
selectList
.
length
?
e
.
_e
():
a
(
"div"
,{
staticClass
:
"el-form-item__error"
},[
e
.
_v
(
"请选择发送范围"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-form-item el-form-item--large"
},[
a
(
"label"
,{
staticClass
:
"el-form-item__label"
,
staticStyle
:{
width
:
"120px"
,
cursor
:
"pointer"
},
attrs
:{
for
:
"name"
}},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"卡券限制每个会员最大发放次数"
,
placement
:
"top-start"
}},[
a
(
"span"
,{
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
e
.
_v
(
"券发放张数"
)])])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-form-item__content"
,
staticStyle
:{
"margin-left"
:
"120px"
}},[
a
(
"el-input-number"
,{
staticClass
:
"w-90"
,
attrs
:{
"controls-position"
:
"right"
,
min
:
0
,
max
:
20
},
model
:{
value
:
e
.
formData
.
eachSendTimes
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"eachSendTimes"
,
t
)},
expression
:
"formData.eachSendTimes"
}}),
a
(
"span"
,{
staticClass
:
"font-14 color-c0c4cc p-l-20"
},[
e
.
_v
(
"最多20张每人"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-form-item el-form-item--large"
},[
a
(
"label"
,{
staticClass
:
"el-form-item__label"
,
staticStyle
:{
width
:
"120px"
,
cursor
:
"pointer"
},
attrs
:{
for
:
"name"
}},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"卡券发放总数,不得超过券库存数"
,
placement
:
"top-start"
}},[
a
(
"span"
,{
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
e
.
_v
(
"券发放总数"
)])])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-form-item__content"
,
staticStyle
:{
"margin-left"
:
"120px"
}},[
a
(
"el-radio"
,{
attrs
:{
label
:
"0"
},
model
:{
value
:
e
.
formData
.
sendType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"sendType"
,
t
)},
expression
:
"formData.sendType"
}},[
e
.
_v
(
"无限制"
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
staticClass
:
"m-l-40"
,
attrs
:{
label
:
"1"
},
model
:{
value
:
e
.
formData
.
sendType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"sendType"
,
t
)},
expression
:
"formData.sendType"
}},[
e
.
_v
(
"限制总数"
)]),
1
==
e
.
formData
.
sendType
?
a
(
"el-input-number"
,{
staticClass
:
"m-l-10"
,
attrs
:{
"controls-position"
:
"right"
,
min
:
1
,
max
:
999999999
},
model
:{
value
:
e
.
formData
.
totalSendTimes
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"totalSendTimes"
,
t
)},
expression
:
"formData.totalSendTimes"
}}):
e
.
_e
()],
1
)]),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"确认"
+
e
.
_s
(
e
.
$route
.
query
.
coupCardId
&&!
e
.
addTag
?
"编辑"
:
"新建"
))]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
,
"flag"
)}}},[
e
.
_v
(
"确认并继续新建"
)])],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
e
.
cardSelectShow
?
a
(
"select-card"
,{
attrs
:{
coupCardId
:
e
.
formData
.
coupCardId
,
brandId
:
e
.
brandId
},
on
:{
closeCard
:
e
.
closeCard
,
returnId
:
e
.
returnId
}}):
e
.
_e
()],
1
)},
staticRenderFns
:[]};
var
C
=
a
(
"VU/8"
)(
g
,
b
,
!
1
,
function
(
e
){
a
(
"SmLB"
)},
"data-v-1e886fd9"
,
null
);
t
.
default
=
C
.
exports
},
F0H0
:
function
(
e
,
t
){},
SmLB
:
function
(
e
,
t
){},
"tF+o"
:
function
(
e
,
t
){}});
\ No newline at end of file
webpackJsonp
([
10
],{
"7/Zw"
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"mvHQ"
),
r
=
a
.
n
(
s
),
o
=
a
(
"P9l9"
),
n
=
a
(
"Ch4/"
),
l
=
a
(
"PI0u"
),
i
=
{
name
:
"gic-select-store"
,
props
:{
width
:{
type
:
String
,
default
:
function
(){
return
"357px"
}},
selectData
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
[]}},
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
projectName
:
""
,
enterpriseId
:
this
.
brandId
,
checkAll
:
!
1
,
isIndeterminate
:
!
1
,
searchSelect
:
""
,
storeVisible
:
!
1
,
stores
:[],
storesCopy
:[],
dailyRuleForm
:{
stores
:[]},
pageNum
:
1
,
pageSize
:
200
}},
methods
:{
handleCheckAllChange
:
function
(
e
){
this
.
dailyRuleForm
.
stores
=
e
?
this
.
stores
.
map
(
function
(
e
){
return
e
.
storeId
}):[],
this
.
isIndeterminate
=!
1
,
this
.
$emit
(
"returnStores"
,
this
.
dailyRuleForm
.
stores
)},
handleStoresChange
:
function
(
e
){
var
t
=
e
.
length
;
this
.
checkAll
=
t
===
this
.
stores
.
length
,
this
.
isIndeterminate
=
t
>
0
&&
t
<
this
.
stores
.
length
,
this
.
$emit
(
"returnStores"
,
this
.
dailyRuleForm
.
stores
)},
toInput
:
Object
(
l
.
a
)(
function
(
e
,
t
){
""
!=
this
.
searchSelect
&&
(
this
.
stores
=
[],
this
.
pageNum
=
1
,
this
.
getStoreData
())},
500
),
changeVisible
:
function
(){},
checkStore
:
function
(
e
){
var
t
=
this
;
if
(
e
.
select
){
e
.
select
=!
1
;
var
a
=
t
.
dailyRuleForm
.
stores
.
indexOf
(
e
.
storeId
);
t
.
dailyRuleForm
.
stores
.
splice
(
a
,
1
)}
else
e
.
select
=!
0
,
t
.
dailyRuleForm
.
stores
.
push
(
e
.
storeId
);
t
.
storesCopy
.
forEach
(
function
(
e
){
t
.
dailyRuleForm
.
stores
.
includes
(
e
.
storeId
)
&&
(
e
.
select
=!
0
)})},
clearSearch
:
function
(){
this
.
stores
=
[],
this
.
pageNum
=
1
,
this
.
getStoreData
()},
getStoreData
:
function
(){
var
e
=
this
,
t
=
{
searchName
:
e
.
searchSelect
,
gicEnterpriseId
:
e
.
brandId
,
pageNum
:
e
.
pageNum
,
pageSize
:
e
.
pageSize
};
Object
(
o
.
a
)(
"/haoban-app-customer-web/cardCoupon/get-store-list"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
.
result
&&
a
.
result
.
result
.
forEach
(
function
(
t
){
t
.
select
=!
1
,
e
.
selectData
.
includes
(
t
.
storeId
)
&&
(
t
.
select
=!
0
)}),
1
==
e
.
pageNum
?(
e
.
stores
=
JSON
.
parse
(
r
()(
a
.
result
.
result
))
||
[],
e
.
storesCopy
=
JSON
.
parse
(
r
()(
a
.
result
.
result
))
||
[]):
a
.
result
.
result
.
forEach
(
function
(
t
){
e
.
stores
.
push
(
t
),
e
.
storesCopy
.
push
(
t
)}),
void
(
e
.
pageNum
*
e
.
pageSize
<
a
.
result
.
totalCount
&&
(
e
.
pageNum
++
,
e
.
$nextTick
(
function
(){
e
.
getStoreData
()})));
n
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
e
){
e
&&
(
this
.
checkAll
=!
1
,
this
.
isIndeterminate
=!
1
,
this
.
stores
=
[],
this
.
storesCopy
=
[],
this
.
searchSelect
=
""
,
this
.
getStoreData
())},
selectData
:
function
(
e
,
t
){
e
.
length
?
this
.
dailyRuleForm
.
stores
=
JSON
.
parse
(
r
()(
e
)):
this
.
dailyRuleForm
.
stores
=
[]}},
mounted
:
function
(){
this
.
brandId
&&
(
this
.
stores
=
[],
this
.
storesCopy
=
[],
this
.
getStoreData
()),
this
.
selectData
.
length
?
this
.
dailyRuleForm
.
stores
=
JSON
.
parse
(
r
()(
this
.
selectData
)):
this
.
dailyRuleForm
.
stores
=
[]}},
c
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"el-popover"
,{
attrs
:{
placement
:
"bottom"
,
title
:
""
,
width
:
"350"
,
trigger
:
"click"
},
model
:{
value
:
e
.
storeVisible
,
callback
:
function
(
t
){
e
.
storeVisible
=
t
},
expression
:
"storeVisible"
}},[
a
(
"div"
,{
staticClass
:
"daily-store-select"
},[
a
(
"div"
,{
staticClass
:
"select-search"
},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
placeholder
:
"请输入门店名称"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearSearch
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
toInput
(
a
,
e
.
searchSelect
);
var
a
}},
model
:{
value
:
e
.
searchSelect
,
callback
:
function
(
t
){
e
.
searchSelect
=
t
},
expression
:
"searchSelect"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"checkbox border-box"
,
staticStyle
:{
padding
:
"15px 20px"
}},[
a
(
"el-checkbox"
,{
attrs
:{
indeterminate
:
e
.
isIndeterminate
},
on
:{
change
:
e
.
handleCheckAllChange
},
model
:{
value
:
e
.
checkAll
,
callback
:
function
(
t
){
e
.
checkAll
=
t
},
expression
:
"checkAll"
}},[
e
.
_v
(
"全选"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-scrollbar define-search-select"
},[
a
(
"div"
,{
staticClass
:
"el-select-dropdown__wrap el-scrollbar__wrap"
,
staticStyle
:{
"margin-bottom"
:
"-5px"
,
"margin-right"
:
"-5px"
}},[
a
(
"el-checkbox-group"
,{
on
:{
change
:
e
.
handleStoresChange
},
model
:{
value
:
e
.
dailyRuleForm
.
stores
,
callback
:
function
(
t
){
e
.
$set
(
e
.
dailyRuleForm
,
"stores"
,
t
)},
expression
:
"dailyRuleForm.stores"
}},[
a
(
"ul"
,{
staticClass
:
"el-scrollbar__view el-select-dropdown__list"
},[
e
.
_l
(
e
.
stores
,
function
(
t
){
return
a
(
"li"
,{
key
:
t
.
storeId
,
class
:[
"el-select-dropdown__item"
,
t
.
select
?
"selected hover"
:
""
]},[
a
(
"el-checkbox"
,{
attrs
:{
label
:
t
.
storeId
}},[
e
.
_v
(
e
.
_s
(
t
.
storeName
))])],
1
)}),
e
.
_v
(
" "
),
e
.
stores
.
length
?
e
.
_e
():
a
(
"li"
,{
staticClass
:
"text-center"
},[
a
(
"span"
,[
e
.
_v
(
"暂无数据"
)])])],
2
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-scrollbar__bar is-horizontal"
},[
a
(
"div"
,{
staticClass
:
"el-scrollbar__thumb"
,
staticStyle
:{
transform
:
"translateX(0%)"
}})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-scrollbar__bar is-vertical"
},[
a
(
"div"
,{
staticClass
:
"el-scrollbar__thumb"
,
staticStyle
:{
transform
:
"translateY(0%)"
}})])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"show-select-num cursor-pointer w-350"
,
attrs
:{
slot
:
"reference"
},
on
:{
click
:
e
.
changeVisible
},
slot
:
"reference"
},[
e
.
_v
(
"
\
n 已经选择"
+
e
.
_s
(
e
.
dailyRuleForm
.
stores
.
length
)
+
"家门店
\
n "
),
a
(
"span"
,{
staticClass
:
"el-input__suffix"
},[
a
(
"span"
,{
staticClass
:
"el-input__suffix-inner"
},[
a
(
"i"
,{
class
:[
"el-select__caret el-input__icon el-icon-arrow-up"
,
e
.
storeVisible
?
"is-reverse"
:
""
]})])])])])},
staticRenderFns
:[]};
var
d
=
a
(
"VU/8"
)(
i
,
c
,
!
1
,
function
(
e
){
a
(
"tF+o"
)},
"data-v-741aa34c"
,
null
).
exports
,
u
=
a
(
"Ggl+"
),
p
=
{
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
coupCardId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
dialogVisible
:
!
0
,
selectCoupCardId
:
this
.
coupCardId
||
""
,
tableData
:[],
currentPage
:
1
,
pageSize
:
6
,
total
:
0
}},
methods
:{
handleClose
:
function
(
e
){
this
.
$emit
(
"closeCard"
)},
toConfirm
:
function
(){
var
e
=
this
,
t
=
{};
e
.
tableData
.
forEach
(
function
(
a
){
a
.
coupCardId
==
e
.
selectCoupCardId
&&
(
t
=
a
)}),
e
.
$emit
(
"returnId"
,
e
.
selectCoupCardId
,
t
)},
toCancel
:
function
(){
this
.
$emit
(
"closeCard"
)},
toInput
:
Object
(
l
.
a
)(
function
(
e
,
t
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
200
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
getTableList
:
function
(
e
){
var
t
=
this
,
a
=
{
cardName
:
t
.
searchInput
||
""
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
,
gicEnterpriseId
:
t
.
brandId
};
Object
(
o
.
a
)(
"/haoban-app-customer-web/cardCoupon/find-select-card-page"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
tableData
=
a
.
result
.
list
||
[],
t
.
total
=
a
.
result
.
pageInfo
.
total
,
!
1
;
n
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
this
.
getTableList
()},
coupCardId
:
function
(
e
,
t
){
e
&&
(
this
.
selectCoupCardId
=
e
)}},
mounted
:
function
(){
this
.
selectCoupCardId
=
this
.
coupCardId
,
this
.
brandId
&&
this
.
getTableList
()}},
m
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
"卡券选择"
,
visible
:
e
.
dialogVisible
,
width
:
"994px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
}}},[
a
(
"div"
,{
staticClass
:
"search-div"
},[
a
(
"el-input"
,{
staticClass
:
"w-264"
,
staticStyle
:{
width
:
"264px"
},
attrs
:{
placeholder
:
"请输入卡券名称"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
toInput
(
a
,
e
.
searchInput
);
var
a
}},
model
:{
value
:
e
.
searchInput
,
callback
:
function
(
t
){
e
.
searchInput
=
t
},
expression
:
"searchInput"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})]),
a
(
"span"
,{
staticClass
:
"search-tip p-l-20 font-14 color-909399"
},[
e
.
_v
(
"仅支持选择“领取限制>=100”的卡券,系统已自动过滤不符合条件的卡券,符合条件的卡券共"
+
e
.
_s
(
e
.
total
)
+
"张"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"chat-log-content boder-box m-t-20"
},[
a
(
"el-table"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
}},[
a
(
"el-table-column"
,{
attrs
:{
"class-name"
:
"hide-ellipsis"
,
label
:
""
,
width
:
"50"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-radio"
,{
attrs
:{
disabled
:
1
==
t
.
row
.
selected
,
label
:
t
.
row
.
coupCardId
},
model
:{
value
:
e
.
selectCoupCardId
,
callback
:
function
(
t
){
e
.
selectCoupCardId
=
t
},
expression
:
"selectCoupCardId"
}},[
e
.
_v
(
e
.
_s
(
""
))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"cardName"
,
label
:
"卡券名称"
,
"show-overflow-tooltip"
:
""
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"备注名"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
subName
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"effectDateString"
,
label
:
"有效期"
,
"show-overflow-tooltip"
:
""
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"cardLimit"
,
label
:
"领取限制"
,
"show-overflow-tooltip"
:
""
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"storeMode"
,
label
:
"适用门店"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
0
==
t
.
row
.
storeMode
?
"所有门店"
:
1
==
t
.
row
.
storeMode
?
"部分分组"
:
"部分门店"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"couponStock"
,
label
:
"库存"
,
"show-overflow-tooltip"
:
""
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"getedQuantity"
,
label
:
"领取次数"
,
"show-overflow-tooltip"
:
""
}})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-size"
:
e
.
pageSize
,
layout
:
" prev, pager, next"
,
total
:
e
.
total
},
on
:{
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer m-b-20"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
e
.
toCancel
}},[
e
.
_v
(
"取 消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
toConfirm
}},[
e
.
_v
(
"确认"
)])],
1
)])},
staticRenderFns
:[]};
var
f
=
a
(
"VU/8"
)(
p
,
m
,
!
1
,
function
(
e
){
a
(
"F0H0"
)},
"data-v-3f3f56a1"
,
null
).
exports
,
h
=
a
(
"3E4D"
),
g
=
{
name
:
"chat-log"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
components
:{
selectCard
:
f
,
gicSelectGroup
:
u
.
a
,
gicSelectStore
:
d
},
data
:
function
(){
var
e
=
this
;
return
{
activeBrand
:
this
.
brandId
,
activeGroup
:
this
.
activeGroupId
,
activeId
:
"3"
,
wxEnterpriseId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
selectCoupCard
:{},
formData
:{
id
:
""
,
coupCardId
:
""
,
sendRange
:
"0"
,
selectList
:[],
eachSendTimes
:
3
,
sendType
:
"0"
,
totalSendTimes
:
0
},
rules
:{
coupCardId
:[{
required
:
!
0
,
message
:
"请选择卡券"
,
trigger
:
"change"
}],
sendRange
:[{
validator
:
function
(
t
,
a
,
s
){
return
""
==
a
?
s
(
new
Error
(
"请选择发送范围"
)):
"1"
!=
a
&&
"2"
!=
a
||
e
.
formData
.
selectList
.
length
?
void
s
():
s
(
new
Error
(
"请选择发送范围"
))},
trigger
:
"change"
}],
sendType
:[{
validator
:
function
(
t
,
a
,
s
){
return
""
==
a
?
s
(
new
Error
(
"请选择券发放总数"
)):
"1"
!=
a
||
e
.
formData
.
totalSendTimes
?
void
s
():
s
(
new
Error
(
"请选择券发放总数"
))},
trigger
:
"change"
}],
eachSendTimes
:[{
required
:
!
0
,
message
:
"请输入券发放张数"
,
trigger
:
"blur"
}]},
cardSelectShow
:
!
1
,
addTag
:
!
0
}},
methods
:{
returnStores
:
function
(
e
){
console
.
log
(
"store:"
,
e
),
this
.
formData
.
selectList
=
JSON
.
parse
(
r
()(
e
))},
checkGroupIds
:
function
(
e
){
console
.
log
(
e
),
this
.
formData
.
selectList
=
JSON
.
parse
(
r
()(
e
))},
showCard
:
function
(){
this
.
cardSelectShow
=!
0
},
closeCard
:
function
(){
this
.
cardSelectShow
=!
1
},
returnId
:
function
(
e
,
t
){
this
.
formData
.
coupCardId
=
e
,
this
.
selectCoupCard
=
t
,
this
.
cardSelectShow
=!
1
},
submitForm
:
Object
(
l
.
a
)(
function
(
e
,
t
){
var
a
=
this
;
return
!!
(
"1"
!=
a
.
formData
.
sendRange
&&
"2"
!=
a
.
formData
.
sendRange
||
a
.
formData
.
selectList
.
length
)
&&
(
!
(
"1"
==
a
.
formData
.
sendType
&&!
a
.
formData
.
totalSendTimes
)
&&
(
!
(
"1"
==
a
.
formData
.
receiveType
&&!
a
.
formData
.
totalReceiveTimes
)
&&
void
a
.
$refs
[
e
].
validate
(
function
(
e
){
e
&&
a
.
postSaveCard
(
t
)})))},
300
),
postSaveCard
:
function
(
e
){
var
t
=
this
,
a
=
{
id
:
t
.
formData
.
id
,
coupCardId
:
t
.
formData
.
coupCardId
&&!
t
.
addTag
?
t
.
formData
.
coupCardId
:
""
,
sendRange
:
t
.
formData
.
sendRange
,
selectList
:
1
==
t
.
formData
.
sendRange
?
t
.
formData
.
selectList
.
map
(
function
(
e
){
return
e
.
storeGroupId
}).
join
(
","
):
2
==
t
.
formData
.
sendRange
?
t
.
formData
.
selectList
.
join
(
","
):
""
,
eachSendTimes
:
t
.
formData
.
eachSendTimes
,
sendType
:
t
.
formData
.
sendType
,
totalSendTimes
:
t
.
formData
.
totalSendTimes
,
gicEnterpriseId
:
t
.
brandId
,
wxEnterpriseId
:
t
.
wxEnterpriseId
};
Object
(
o
.
d
)(
t
.
$route
.
query
.
coupCardId
?
"/haoban-app-customer-web/cardCoupon/edit-card-coup"
:
"/haoban-app-customer-web/cardCoupon/add-card-coup"
,
a
).
then
(
function
(
a
){
var
s
=
a
.
data
;
1
==
s
.
errorCode
&&
(
h
.
a
.
showmsg
(
t
.
$route
.
query
.
coupCardId
?
"编辑卡券成功"
:
"新建卡券成功"
,
"success"
),
e
?(
t
.
addTag
=!
0
,
t
.
formData
=
{
id
:
""
,
coupCardId
:
""
,
sendRange
:
"0"
,
selectList
:[],
eachSendTimes
:
3
,
sendType
:
"0"
,
totalSendTimes
:
0
},
t
.
selectCoupCard
=
{}):
t
.
$router
.
push
(
"/cardList"
)),
n
.
a
.
errorMsg
(
s
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
toReturn
:
function
(){
var
e
=
this
;
e
.
$confirm
(
"是否确认返回,返回后当前页面内容将丢失"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
e
.
$router
.
push
(
"/onlineChatSet?activeTab="
+
e
.
$route
.
query
.
activeTab
+
"&appIcon="
+
e
.
$route
.
query
.
appIcon
)}).
catch
(
function
(){})},
changeRange
:
function
(
e
){
this
.
formData
.
selectList
=
[]},
getCardData
:
function
(){
var
e
=
this
,
t
=
{
coupCardId
:
e
.
$route
.
query
.
coupCardId
,
gicEnterpriseId
:
e
.
brandId
};
Object
(
o
.
a
)(
"/haoban-app-customer-web/cardCoupon/find-card-coup-detail"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
.
detail
?(
a
.
result
.
list
&&
a
.
result
.
list
.
forEach
(
function
(
e
){
e
.
label
=
e
.
name
,
e
.
departmentId
=
e
.
id
,
e
.
storeGroupId
=
e
.
id
,
e
.
storeGroupName
=
e
.
name
,
e
.
departmentName
=
e
.
name
,
2
==
a
.
result
.
detail
.
sendRange
&&
(
e
.
storeId
=
e
.
id
)}),
e
.
selectCoupCard
=
a
.
result
.
gicDetail
,
e
.
formData
=
{
id
:
a
.
result
.
detail
.
id
,
coupCardId
:
a
.
result
.
detail
.
coupCardId
,
sendRange
:
String
(
a
.
result
.
detail
.
sendRange
),
selectList
:
0
!=
a
.
result
.
detail
.
sendRange
?
2
==
a
.
result
.
detail
.
sendRange
?
a
.
result
.
list
.
map
(
function
(
e
){
return
e
.
id
}):
a
.
result
.
list
:[],
eachSendTimes
:
a
.
result
.
detail
.
eachSendTimes
,
sendType
:
String
(
a
.
result
.
detail
.
sendType
),
totalSendTimes
:
a
.
result
.
detail
.
totalSendTimes
},
!
1
):(
e
.
addTag
=!
1
,
h
.
a
.
showmsg
(
"请先保存上一个商户的设置内容"
,
"warning"
),
!
1
);
n
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
if
(
e
&&
this
.
$route
.
query
.
coupCardId
&&!
this
.
addTag
)
return
this
.
activeBrand
=
e
,
this
.
getCardData
(),
!
1
;
e
&&
(
this
.
addTag
=!
0
,
this
.
formData
=
{
id
:
""
,
coupCardId
:
""
,
sendRange
:
"0"
,
selectList
:[],
eachSendTimes
:
3
,
sendType
:
"0"
,
totalSendTimes
:
0
},
this
.
selectCoupCard
=
{})},
activeGroupId
:
function
(
e
,
t
){
e
&&
(
this
.
activeGroup
=
e
)}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"1"
),
this
.
activeBrand
=
this
.
brandId
,
this
.
$route
.
query
.
coupCardId
&&
this
.
brandId
&&
(
this
.
addTag
=!
1
,
this
.
getCardData
())}},
b
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"section"
,{
staticClass
:
"common-right-wrap"
},[
a
(
"div"
,{
staticClass
:
"new-card-body border-box"
},[
a
(
"el-form"
,{
ref
:
"ruleForm"
,
staticClass
:
"demo-ruleForm"
,
attrs
:{
model
:
e
.
formData
,
rules
:
e
.
rules
,
"label-width"
:
"120px"
}},[
a
(
"el-form-item"
,{
attrs
:{
label
:
"选择卡券"
,
prop
:
"coupCardId"
}},[
e
.
formData
.
coupCardId
?
e
.
_e
():
a
(
"div"
,{
staticClass
:
"card-add-btn text-center cursor-pointer"
,
on
:{
click
:
e
.
showCard
}},[
a
(
"span"
,{
staticClass
:
"el-icon-plus font-12 color-909399"
}),
a
(
"span"
,{
staticClass
:
"font-14 color-909399"
},[
e
.
_v
(
"添加卡券"
)])]),
e
.
_v
(
" "
),
e
.
formData
.
coupCardId
?
a
(
"div"
,{
staticClass
:
"selected-card-body flex"
},[
a
(
"div"
,{
staticClass
:
"selected-card font-14 color-909399"
},[
e
.
_v
(
e
.
_s
(
e
.
selectCoupCard
.
cardName
)
+
" | "
+
e
.
_s
(
e
.
selectCoupCard
.
effectDateString
)
+
" | 限制"
+
e
.
_s
(
e
.
selectCoupCard
.
cardLimit
)
+
"张/人 | 适用门店:"
+
e
.
_s
(
0
==
e
.
selectCoupCard
.
storeMode
?
"所有门店"
:
1
==
e
.
selectCoupCard
.
storeMode
?
"部分分组"
:
"部分门店"
)
+
" | 库存:"
+
e
.
_s
(
e
.
selectCoupCard
.
couponStock
))]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
staticClass
:
"m-l-10"
,
attrs
:{
type
:
"text"
},
on
:{
click
:
e
.
showCard
}},[
e
.
_v
(
"重新选择"
)])],
1
):
e
.
_e
()]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-form-item el-form-item--large"
},[
a
(
"label"
,{
staticClass
:
"el-form-item__label"
,
staticStyle
:{
width
:
"120px"
,
cursor
:
"pointer"
},
attrs
:{
for
:
"name"
}},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"卡券的发送范围设置"
,
placement
:
"top-start"
}},[
a
(
"span"
,{
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
e
.
_v
(
"选择发送范围"
)])])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-form-item__content"
,
staticStyle
:{
"margin-left"
:
"120px"
}},[
a
(
"el-radio"
,{
attrs
:{
label
:
"0"
},
on
:{
change
:
e
.
changeRange
},
model
:{
value
:
e
.
formData
.
sendRange
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"sendRange"
,
t
)},
expression
:
"formData.sendRange"
}},[
e
.
_v
(
"所有门店"
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
staticClass
:
"m-l-40 m-r-8"
,
attrs
:{
label
:
"1"
},
on
:{
change
:
e
.
changeRange
},
model
:{
value
:
e
.
formData
.
sendRange
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"sendRange"
,
t
)},
expression
:
"formData.sendRange"
}},[
e
.
_v
(
"部分分组"
)]),
e
.
_v
(
" "
),
1
==
e
.
formData
.
sendRange
?
a
(
"div"
,{
staticClass
:
"w-240 inline-block item-cell-select"
},[
a
(
"gic-select-group"
,{
staticClass
:
"m-l-10"
,
attrs
:{
brandId
:
e
.
brandId
,
width
:
213
,
selectData
:
e
.
formData
.
selectList
},
on
:{
checkGroupIds
:
e
.
checkGroupIds
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
staticClass
:
"m-l-40 m-r-8"
,
attrs
:{
label
:
"2"
},
on
:{
change
:
e
.
changeRange
},
model
:{
value
:
e
.
formData
.
sendRange
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"sendRange"
,
t
)},
expression
:
"formData.sendRange"
}},[
e
.
_v
(
"部分门店"
)]),
e
.
_v
(
" "
),
2
==
e
.
formData
.
sendRange
?
a
(
"div"
,{
staticClass
:
"w-240 inline-block item-cell-select"
},[
a
(
"gic-select-store"
,{
attrs
:{
brandId
:
e
.
brandId
,
selectData
:
e
.
formData
.
selectList
},
on
:{
returnStores
:
e
.
returnStores
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
"1"
!=
e
.
formData
.
sendRange
&&
"2"
!=
e
.
formData
.
sendRange
||
e
.
formData
.
selectList
.
length
?
e
.
_e
():
a
(
"div"
,{
staticClass
:
"el-form-item__error"
},[
e
.
_v
(
"请选择发送范围"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-form-item el-form-item--large"
},[
a
(
"label"
,{
staticClass
:
"el-form-item__label"
,
staticStyle
:{
width
:
"120px"
,
cursor
:
"pointer"
},
attrs
:{
for
:
"name"
}},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"卡券限制每个会员最大发放次数"
,
placement
:
"top-start"
}},[
a
(
"span"
,{
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
e
.
_v
(
"券发放张数"
)])])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-form-item__content"
,
staticStyle
:{
"margin-left"
:
"120px"
}},[
a
(
"el-input-number"
,{
staticClass
:
"w-90"
,
attrs
:{
"controls-position"
:
"right"
,
min
:
0
,
max
:
20
},
model
:{
value
:
e
.
formData
.
eachSendTimes
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"eachSendTimes"
,
t
)},
expression
:
"formData.eachSendTimes"
}}),
a
(
"span"
,{
staticClass
:
"font-14 color-c0c4cc p-l-20"
},[
e
.
_v
(
"最多20张每人"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-form-item el-form-item--large"
},[
a
(
"label"
,{
staticClass
:
"el-form-item__label"
,
staticStyle
:{
width
:
"120px"
,
cursor
:
"pointer"
},
attrs
:{
for
:
"name"
}},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"卡券发放总数,不得超过券库存数"
,
placement
:
"top-start"
}},[
a
(
"span"
,{
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
e
.
_v
(
"券发放总数"
)])])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-form-item__content"
,
staticStyle
:{
"margin-left"
:
"120px"
}},[
a
(
"el-radio"
,{
attrs
:{
label
:
"0"
},
model
:{
value
:
e
.
formData
.
sendType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"sendType"
,
t
)},
expression
:
"formData.sendType"
}},[
e
.
_v
(
"无限制"
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
staticClass
:
"m-l-40"
,
attrs
:{
label
:
"1"
},
model
:{
value
:
e
.
formData
.
sendType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"sendType"
,
t
)},
expression
:
"formData.sendType"
}},[
e
.
_v
(
"限制总数"
)]),
1
==
e
.
formData
.
sendType
?
a
(
"el-input-number"
,{
staticClass
:
"m-l-10"
,
attrs
:{
"controls-position"
:
"right"
,
min
:
1
,
max
:
999999999
},
model
:{
value
:
e
.
formData
.
totalSendTimes
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"totalSendTimes"
,
t
)},
expression
:
"formData.totalSendTimes"
}}):
e
.
_e
()],
1
)]),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"确认"
+
e
.
_s
(
e
.
$route
.
query
.
coupCardId
&&!
e
.
addTag
?
"编辑"
:
"新建"
))]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
,
"flag"
)}}},[
e
.
_v
(
"确认并继续新建"
)])],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
e
.
cardSelectShow
?
a
(
"select-card"
,{
attrs
:{
coupCardId
:
e
.
formData
.
coupCardId
,
brandId
:
e
.
brandId
},
on
:{
closeCard
:
e
.
closeCard
,
returnId
:
e
.
returnId
}}):
e
.
_e
()],
1
)},
staticRenderFns
:[]};
var
v
=
a
(
"VU/8"
)(
g
,
b
,
!
1
,
function
(
e
){
a
(
"bT3H"
)},
"data-v-8f17a3aa"
,
null
);
t
.
default
=
v
.
exports
},
F0H0
:
function
(
e
,
t
){},
bT3H
:
function
(
e
,
t
){},
"tF+o"
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/1
0.f64bf1b4c969dc8e4324
.js
→
dist/static/js/1
1.59c87174f09911b8256b
.js
View file @
29419b85
webpackJsonp
([
10
],{
JwJ7
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"fZjL"
),
i
=
a
.
n
(
s
),
o
=
a
(
"LRn8"
),
n
=
a
(
"fPyK"
),
l
=
a
(
"swl+"
),
r
=
a
(
"P9l9"
),
c
=
a
(
"Ch4/"
),
d
=
a
(
"3E4D"
),
m
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
filters
:{
formatTimeYMD
:
function
(
e
){
return
e
&&
"- -"
!=
e
?
e
.
split
(
" "
)[
0
]:
"--"
},
formatTimeHMS
:
function
(
e
){
return
e
&&
"- -"
!=
e
?
e
.
split
(
" "
)[
1
]:
"--"
}},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
activeId
:
"2"
,
activeBrand
:
this
.
brandId
,
selectRadio
:
0
,
showDialog
:
!
1
,
conditionObj
:{
completed
:
""
,
overdue
:
""
},
completedOptions
:[{
label
:
"所以完成情况"
,
value
:
""
},{
label
:
"已完成"
,
value
:
"1"
},{
label
:
"未完成"
,
value
:
"0"
}],
overOptions
:[{
label
:
"所以逾期情况"
,
value
:
""
},{
label
:
"已逾期"
,
value
:
"1"
},{
label
:
"未逾期"
,
value
:
"0"
}],
tableData
:[],
multipleSelection
:[],
dialogVisible
:
!
1
,
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
previewVisible
:
!
1
,
previewData
:{},
userData
:{
staffName
:
""
,
phoneNumber
:
""
,
nationCode
:
""
,
postion
:
""
,
departmentName
:
""
,
headImg
:
""
}}},
computed
:{},
methods
:{
showSingleInfo
:
function
(
e
){
var
t
=
this
,
a
=
{
clerkId
:
e
};
Object
(
r
.
d
)(
"/haoban-manage3-web/get-clerk-info"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
c
.
a
.
errorMsg
(
a
):
t
.
userData
=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getPreviewData
:
function
(
e
,
t
){
var
a
=
this
,
s
=
{
storeId
:
a
.
conditionObj
.
storeId
,
taskId
:
t
.
taskId
,
clerkId
:
t
.
clerkId
};
a
.
previewVisible
=!
0
,
Object
(
r
.
d
)(
"/haoban-app-daily-three-web/daily/get-daily-report-detail"
,
s
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
a
.
previewData
=
t
.
result
,
void
(
a
.
previewVisible
=!
0
);
c
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleCommand
:
function
(
e
){
this
.
selectRadio
=
e
},
selectBrandId
:
function
(
e
){
this
.
activeBrand
=
e
},
setSelectTab
:
function
(
e
){
this
.
activeTab
=
e
.
tabId
},
changeSelect
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
multDel
:
function
(){
if
(
!
this
.
multipleSelection
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择删除项"
}),
!
1
;
this
.
showDialog
=!
0
},
hideDialog
:
function
(
e
){
if
(
this
.
showDialog
=!
1
,
!
i
()(
e
).
length
)
return
!
1
;
this
.
postMultDel
(
e
)},
postMultDel
:
function
(
e
){
var
t
=
this
,
a
=
{
storeId
:
t
.
conditionObj
.
storeId
,
taskIds
:
t
.
multipleSelection
.
map
(
function
(
e
){
return
e
.
taskId
})
||
""
,
overdue
:
t
.
conditionObj
.
overdue
||
""
,
completed
:
t
.
conditionObj
.
completed
||
""
,
reason
:
e
.
reason
,
enterpriseId
:
t
.
activeBrand
,
chooseAll
:
t
.
selectRadio
};
Object
(
r
.
d
)(
"/haoban-app-daily-three-web/daily/batch-delete-store-task"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
d
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
t
.
getTableList
();
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
handleDel
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"确认要删除吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
postDel
(
e
,
t
)}).
catch
(
function
(){})},
postDel
:
function
(
e
,
t
){
var
a
=
this
,
s
=
{
taskId
:
t
.
taskId
};
Object
(
r
.
a
)(
"/haoban-app-daily-three-web/daily/delete-task-items"
,
s
).
then
(
function
(
t
){
var
s
=
t
.
data
;
if
(
1
==
s
.
errorCode
)
return
d
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
tableData
.
splice
(
e
,
1
);
c
.
a
.
errorMsg
(
s
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handlePreview
:
function
(
e
,
t
){
this
.
postPreview
(
e
,
t
)},
postPreview
:
function
(
e
,
t
){
var
a
=
window
.
location
.
origin
+
"/haoban3web/pages/hbapp/daily/html/task/taskDailyReport.html?taskId="
+
t
.
taskId
+
"&gicStoreId="
+
this
.
conditionObj
.
storeId
+
"&gicClerkId="
+
t
.
clerkId
+
"&isShare=1"
;
this
.
$refs
.
qrcodePreview
.
qrcode
(
a
,
"daily-detail"
),
this
.
dialogVisible
=!
0
},
getTableList
:
function
(
e
){
var
t
=
this
,
a
=
{
storeId
:
t
.
conditionObj
.
storeId
||
""
,
overdue
:
t
.
conditionObj
.
overdue
||
""
,
completed
:
t
.
conditionObj
.
completed
||
""
,
currentPage
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
,
enterpriseId
:
t
.
activeBrand
};
Object
(
r
.
a
)(
"/haoban-app-daily-three-web/daily/page-store-task"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
tableData
=
a
.
result
.
result
||
[],
void
(
t
.
total
=
a
.
result
.
totalCount
);
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getTableList
())}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"11"
),
this
.
activeBrand
=
this
.
brandId
,
this
.
conditionObj
.
storeId
=
this
.
$route
.
query
.
storeId
,
this
.
brandId
&&
this
.
getTableList
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
multipleDel
:
o
.
a
,
qrcodeDialog
:
n
.
a
,
detailPreview
:
l
.
a
}},
u
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"div"
,{
staticClass
:
"daily-set-content border-box"
},[
a
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-23"
},[
a
(
"div"
,{
staticClass
:
"table-condition-left"
},[
a
(
"el-select"
,{
staticClass
:
"w-162"
,
attrs
:{
placeholder
:
"所有完成情况"
},
on
:{
change
:
e
.
changeSelect
},
model
:{
value
:
e
.
conditionObj
.
completed
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"completed"
,
t
)},
expression
:
"conditionObj.completed"
}},
e
.
_l
(
e
.
completedOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})),
a
(
"el-select"
,{
staticClass
:
"w-162 m-l-10"
,
attrs
:{
placeholder
:
"所有逾期情况"
},
on
:{
change
:
e
.
changeSelect
},
model
:{
value
:
e
.
conditionObj
.
overdue
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"overdue"
,
t
)},
expression
:
"conditionObj.overdue"
}},
e
.
_l
(
e
.
overOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-condition-right"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"danger"
},
on
:{
click
:
e
.
multDel
}},[
e
.
_v
(
"批量删除"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
e
.
tableH
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"35"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
width
:
"25"
},
scopedSlots
:
e
.
_u
([{
key
:
"header"
,
fn
:
function
(
t
){
return
[
a
(
"el-dropdown"
,{
staticStyle
:{
"line-height"
:
"10px"
,
padding
:
"0"
,
"margin-left"
:
"-15px"
,
transform
:
"translateY(4px)"
,
"-webkit-transform"
:
"translateY(4px)"
},
attrs
:{
placement
:
"bottom-start"
},
on
:{
command
:
e
.
handleCommand
}},[
a
(
"span"
,{
staticClass
:
"el-dropdown-link"
},[
a
(
"i"
,{
staticClass
:
"iconfont icongengduo"
})]),
e
.
_v
(
" "
),
a
(
"el-dropdown-menu"
,{
attrs
:{
slot
:
"dropdown"
},
slot
:
"dropdown"
},[
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"0"
}},[
a
(
"span"
,{
style
:{
color
:
0
==
e
.
selectRadio
?
"#2f54eb"
:
"#606266"
}},[
e
.
_v
(
"选择当页"
)])]),
e
.
_v
(
" "
),
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"1"
}},[
a
(
"span"
,{
style
:{
color
:
1
==
e
.
selectRadio
?
"#2f54eb"
:
"#606266"
}},[
e
.
_v
(
"选择全部"
)])])],
1
)],
1
)]}},{
key
:
"default"
,
fn
:
function
(
e
){}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"指派对象"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"flex flex-pack-center flex-start"
},[
a
(
"el-popover"
,{
attrs
:{
placement
:
"top-start"
,
width
:
"300"
,
trigger
:
"hover"
},
on
:{
show
:
function
(
a
){
e
.
showSingleInfo
(
t
.
row
.
clerkId
)}}},[
a
(
"div"
,{
staticClass
:
"apply-info-detail"
},[
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"div"
,{
staticClass
:
"apply-info-img flex-align-center flex-pack-center bg-82C5FF "
},[
e
.
userData
.
headImg
?
a
(
"img"
,{
attrs
:{
src
:
e
.
userData
.
headImg
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex flex-column apply-info-right flex-space-between"
},[
a
(
"div"
,{
staticClass
:
"apply-info-name"
},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
userData
.
staffName
||
"--"
)
+
" ( "
+
e
.
_s
(
e
.
userData
.
position
||
"--"
)
+
")
\
n "
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-phone"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
e
.
_v
(
"手机号:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
e
.
_v
(
e
.
_s
(
"86"
==
e
.
userData
.
nationCode
?
e
.
userData
.
phoneNumber
:
"+"
+
e
.
userData
.
nationCode
+
"-"
+
e
.
userData
.
phoneNumber
))])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-store"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
e
.
_v
(
"所属部门:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
e
.
_v
(
e
.
_s
(
e
.
userData
.
departmentName
||
"--"
))])])])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
},[
a
(
"div"
,{
staticClass
:
"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic cursor-pointer"
},[
t
.
row
.
headImgUrl
?
a
(
"img"
,{
attrs
:{
src
:
t
.
row
.
headImgUrl
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"clerk-info flex flex-column flex-space-between m-l-16"
,
staticStyle
:{
overflow
:
"hidden"
,
"text-overflow"
:
"ellipsis"
,
"white-space"
:
"nowrap"
}},[
a
(
"p"
,{
staticClass
:
"font-14 color-303133"
,
staticStyle
:{
"line-height"
:
"18px"
,
overflow
:
"hidden"
,
"text-overflow"
:
"ellipsis"
,
"white-space"
:
"nowrap"
}},[
e
.
_v
(
e
.
_s
(
t
.
row
.
clerkName
))]),
e
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"font-14 color-909399"
,
staticStyle
:{
"line-height"
:
"18px"
,
overflow
:
"hidden"
,
"text-overflow"
:
"ellipsis"
,
"white-space"
:
"nowrap"
}},[
e
.
_v
(
e
.
_s
(
t
.
row
.
clerkPhone
))])])],
1
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"创建时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
createTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
createTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"完成期限"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
lastTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
lastTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"逾期情况"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
isOverTime
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"完成情况"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
isCompleted
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"完成时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
finishTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
finishTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提交人"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
operationStaffName
))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
handleDel
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"删除"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
handlePreview
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"预览"
)])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
a
(
"multiple-del"
,{
attrs
:{
showDialog
:
e
.
showDialog
,
detailFlag
:
!
0
},
on
:{
hideDialog
:
e
.
hideDialog
}}),
e
.
_v
(
" "
),
a
(
"qrcode-dialog"
,{
ref
:
"qrcodePreview"
,
model
:{
value
:
e
.
dialogVisible
,
callback
:
function
(
t
){
e
.
dialogVisible
=
t
},
expression
:
"dialogVisible"
}}),
e
.
_v
(
" "
),
a
(
"detail-preview"
,{
ref
:
"detailPreview"
,
attrs
:{
previewData
:
e
.
previewData
},
model
:{
value
:
e
.
previewVisible
,
callback
:
function
(
t
){
e
.
previewVisible
=
t
},
expression
:
"previewVisible"
}})],
1
)},
staticRenderFns
:[]};
var
f
=
a
(
"VU/8"
)(
m
,
u
,
!
1
,
function
(
e
){
a
(
"WGjl"
)},
"data-v-6e67de53"
,
null
);
t
.
default
=
f
.
exports
},
WGjl
:
function
(
e
,
t
){},
n1YH
:
function
(
e
,
t
){},
"swl+"
:
function
(
e
,
t
,
a
){
"use strict"
;
var
s
=
a
(
"mvHQ"
),
i
=
a
.
n
(
s
),
o
=
a
(
"fZjL"
),
n
=
a
.
n
(
o
),
l
=
{
name
:
"detail-preview"
,
props
:{
value
:{
type
:
Boolean
,
default
:
function
(){
return
!
1
}},
previewData
:{
type
:
Object
,
default
:
function
(){
return
{
title
:
""
,
taskDescription
:
""
,
lastTime
:
""
,
taskStatus
:
1
,
executiveClerkId
:
""
,
bindFlag
:
0
,
taskRecordList
:[],
taskType
:
1
,
memberInfo
:{
cardNum
:
""
,
imgUrl
:
""
,
memberName
:
""
,
memberGender
:
""
,
memberAge
:
""
,
birthday
:
""
,
clerkName
:
""
,
costFee
:
""
,
memberGradeName
:
""
,
costTimes
:
""
,
lastCostFee
:
""
,
phoneNumber
:
""
,
openCardTime
:
""
,
memberType
:
"0"
,
birthType
:
""
,
accumulatPoints
:
""
}}}}},
directives
:{
htmlContent
:{
bind
:
function
(
e
,
t
){
e
.
innerHTML
=
t
.
value
},
update
:
function
(
e
,
t
){
e
.
innerHTML
=
t
.
value
}}},
data
:
function
(){
return
{
noticeData
:{
title
:
""
,
taskDescription
:
""
,
lastTime
:
""
,
taskStatus
:
1
,
executiveClerkId
:
""
,
bindFlag
:
0
,
taskRecordList
:[],
taskType
:
1
,
memberInfo
:{
cardNum
:
""
,
imgUrl
:
""
,
memberName
:
""
,
memberGender
:
""
,
memberAge
:
""
,
birthday
:
""
,
clerkName
:
""
,
costFee
:
""
,
memberGradeName
:
""
,
costTimes
:
""
,
lastCostFee
:
""
,
phoneNumber
:
""
,
openCardTime
:
""
,
memberType
:
"0"
,
birthType
:
""
,
accumulatPoints
:
""
}},
time
:
null
}},
methods
:{
timeStampSpaces
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
,
a
=
new
Date
(
Number
(
e
)).
getTime
()
-
t
.
getTime
();
if
(
console
.
log
(
a
),
a
<
0
)
return
""
;
var
s
=
a
%
864
e5
,
i
=
s
%
36
e5
;
return
Math
.
floor
(
a
/
864
e5
)
+
"天"
+
Math
.
floor
(
s
/
36
e5
)
+
"小时"
+
Math
.
floor
(
i
/
6
e4
)
+
"分"
}},
closeDialog
:
function
(){
this
.
$emit
(
"input"
,
!
1
),
this
.
$emit
(
"closePreview"
),
this
.
noticeData
=
{
title
:
""
,
taskDescription
:
""
,
lastTime
:
""
,
taskStatus
:
1
,
executiveClerkId
:
""
,
bindFlag
:
0
,
taskRecordList
:[],
taskType
:
1
,
memberInfo
:{
cardNum
:
""
,
imgUrl
:
""
,
memberName
:
""
,
memberGender
:
""
,
memberAge
:
""
,
birthday
:
""
,
clerkName
:
""
,
costFee
:
""
,
memberGradeName
:
""
,
costTimes
:
""
,
lastCostFee
:
""
,
phoneNumber
:
""
,
openCardTime
:
""
,
memberType
:
"0"
,
birthType
:
""
,
accumulatPoints
:
""
}},
clearInterval
(
this
.
time
)}},
watch
:{
previewData
:
function
(
e
,
t
){
var
a
=
this
;
n
()(
e
).
length
&&
(
a
.
noticeData
=
JSON
.
parse
(
i
()(
e
)),
a
.
time
=
setInterval
(
function
(){
a
.
timeStampSpaces
(
a
.
previewData
.
lastTime
)},
6
e4
))}},
mounted
:
function
(){
var
e
=
this
;
n
()(
e
.
previewData
).
length
&&
(
e
.
noticeData
=
JSON
.
parse
(
i
()(
e
.
previewData
)),
e
.
time
=
setInterval
(
function
(){
e
.
timeStampSpaces
(
e
.
previewData
.
lastTime
)},
6
e4
))},
beforeDestroy
:
function
(){
clearInterval
(
this
.
time
),
this
.
time
=
null
}},
r
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
directives
:[{
name
:
"show"
,
rawName
:
"v-show"
,
value
:
e
.
value
,
expression
:
"value"
}],
staticClass
:
"qr-dialog-content"
,
staticStyle
:{
opacity
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"qr-mask"
,
on
:{
click
:
function
(
t
){
return
t
.
stopPropagation
(),
e
.
closeDialog
(
t
)}}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"qr-dialog border-box"
},[
a
(
"div"
,{
staticClass
:
"qr-dialog-body border-box"
},[
a
(
"div"
,{
staticClass
:
"detail-content border-box"
},[
a
(
"div"
,{
staticClass
:
"detail-content-top border-box"
},[
a
(
"div"
,{
staticClass
:
"task-title font-14 color-303133 font-w-500"
},[
e
.
_v
(
e
.
_s
(
e
.
noticeData
.
title
))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task-des font-12 color-303133 font-w-400"
},[
e
.
_v
(
e
.
_s
(
e
.
noticeData
.
taskDescription
))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task-over font-10 color-fd6b6d font-w-400"
},[
1
==
e
.
noticeData
.
taskStatus
?
a
(
"span"
,[
e
.
_v
(
"逾期剩余时长:"
+
e
.
_s
(
e
.
timeStampSpaces
(
e
.
noticeData
.
lastTime
)))]):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
e
.
noticeData
.
taskStatus
?
a
(
"span"
,[
e
.
_v
(
"已完成"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
3
==
e
.
noticeData
.
taskStatus
?
a
(
"span"
,[
e
.
_v
(
"已放弃"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
4
==
e
.
noticeData
.
taskStatus
?
a
(
"span"
,[
e
.
_v
(
"已逾期"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
5
==
e
.
noticeData
.
taskStatus
?
a
(
"span"
,[
e
.
_v
(
"已完成"
)]):
e
.
_e
()]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task-people"
},
e
.
_l
(
e
.
noticeData
.
taskRecordList
,
function
(
t
,
s
){
return
a
(
"div"
,{
key
:
s
+
"record"
,
staticClass
:
"task-item-cell"
},[
a
(
"div"
,{
staticClass
:
"task-item-content"
},[
a
(
"span"
,{
staticClass
:
"iconfont icondingwei font-10 color-4b69e5"
}),
a
(
"span"
,{
staticClass
:
"font-10 color-606266 opt-content"
},[
e
.
_v
(
e
.
_s
(
t
.
optContent
))])]),
e
.
_v
(
" "
),
a
(
"div"
,{
class
:[
"task-item-date"
,
s
!=
e
.
noticeData
.
taskRecordList
.
length
-
1
?
"item-border"
:
""
]},[
a
(
"span"
,{
staticClass
:
"p-l-14 font-10 color-909399"
},[
e
.
_v
(
e
.
_s
(
t
.
optTime
))])])])}))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"detail-content-bottom border-box m-t-10"
},[
a
(
"div"
,{
staticClass
:
"user-info flex "
},[
a
(
"div"
,{
staticClass
:
"user-photo"
},[
a
(
"img"
,{
attrs
:{
src
:
e
.
noticeData
.
memberInfo
.
imgUrl
,
alt
:
""
}})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"user-name-body"
},[
a
(
"div"
,{
staticClass
:
"user-name"
},[
a
(
"span"
,{
staticClass
:
"font-12 color-30313 font-w-500"
},[
e
.
_v
(
e
.
_s
(
e
.
noticeData
.
memberInfo
.
memberName
))]),
a
(
"span"
,{
class
:[
"p-l-6 font-12 iconfont"
,
0
==
e
.
noticeData
.
memberInfo
.
memberGender
?
""
:
1
==
e
.
noticeData
.
memberInfo
.
memberGender
?
"iconnan color-4b69e5"
:
"color-ff8ea0 iconxingbienv"
]})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"user-age font-10 color-7f818a"
},[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
e
.
noticeData
.
memberInfo
.
memberAge
)
+
"岁"
)]),
a
(
"span"
,{
staticClass
:
"dot"
}),
a
(
"span"
,[
e
.
_v
(
"生日 "
+
e
.
_s
(
0
==
e
.
noticeData
.
memberInfo
.
birthType
?
"农历"
:
"阳历"
)
+
e
.
_s
(
e
.
noticeData
.
memberInfo
.
birthday
))])])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"user-info-body"
},[
a
(
"ul"
,{
staticClass
:
"flex font-10 flex-wrap"
},[
a
(
"li"
,{
staticClass
:
"flex-1 line-h-16 m-b-10"
},[
a
(
"span"
,{
staticClass
:
"font-10 color-303133"
},[
e
.
_v
(
"会员卡:"
)]),
a
(
"span"
,{
staticClass
:
"font-10 color-7f818a"
},[
e
.
_v
(
e
.
_s
(
e
.
noticeData
.
memberInfo
.
memberGradeName
))])]),
e
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"flex-1 line-h-16 m-b-10"
},[
a
(
"span"
,{
staticClass
:
"font-10 color-303133"
},[
e
.
_v
(
"会员身份:"
)]),
a
(
"span"
,{
staticClass
:
"font-10 color-7f818a"
},[
e
.
_v
(
e
.
_s
(
1
==
e
.
noticeData
.
memberInfo
.
memberType
?
"pos会员"
:
"微信会员"
))])]),
e
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"flex-1 line-h-16 m-b-10"
},[
a
(
"span"
,{
staticClass
:
"font-10 color-303133"
},[
e
.
_v
(
"会员卡号:"
)]),
a
(
"span"
,{
staticClass
:
"font-10 color-7f818a"
},[
e
.
_v
(
e
.
_s
(
e
.
noticeData
.
memberInfo
.
cardNum
))])]),
e
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"flex-1 line-h-16 m-b-10"
},[
a
(
"span"
,{
staticClass
:
"font-10 color-303133"
},[
e
.
_v
(
"积 分:"
)]),
a
(
"span"
,{
staticClass
:
"font-10 color-7f818a"
},[
e
.
_v
(
e
.
_s
(
e
.
noticeData
.
memberInfo
.
accumulatPoints
))])]),
e
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"flex-1 line-h-16 m-b-10"
},[
a
(
"span"
,{
staticClass
:
"font-10 color-303133"
},[
e
.
_v
(
"消费总额:"
)]),
a
(
"span"
,{
staticClass
:
"font-10 color-7f818a"
},[
e
.
_v
(
e
.
_s
(
e
.
noticeData
.
memberInfo
.
costFee
))])]),
e
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"flex-1 line-h-16 m-b-10"
},[
a
(
"span"
,{
staticClass
:
"font-10 color-303133"
},[
e
.
_v
(
"消费次数:"
)]),
a
(
"span"
,{
staticClass
:
"font-10 color-7f818a"
},[
e
.
_v
(
e
.
_s
(
e
.
noticeData
.
memberInfo
.
costTimes
))])])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"user-clerk"
},[
a
(
"span"
,{
staticClass
:
"iconfont iconziyuan1 font-10 color-4b69e5"
}),
a
(
"span"
,{
staticClass
:
"font-10 color-4b69e5 clerk-name"
},[
e
.
_v
(
e
.
_s
(
e
.
noticeData
.
memberInfo
.
clerkName
))])])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"qr-dialog__hd"
},[
a
(
"i"
,{
staticClass
:
"el-icon-plus"
,
on
:{
click
:
function
(
t
){
return
t
.
stopPropagation
(),
e
.
closeDialog
(
t
)}}})])])])])},
staticRenderFns
:[]};
var
c
=
a
(
"VU/8"
)(
l
,
r
,
!
1
,
function
(
e
){
a
(
"n1YH"
)},
"data-v-3660ceba"
,
null
);
t
.
a
=
c
.
exports
}});
\ No newline at end of file
webpackJsonp
([
11
],{
JwJ7
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"fZjL"
),
i
=
a
.
n
(
s
),
o
=
a
(
"LRn8"
),
n
=
a
(
"fPyK"
),
l
=
a
(
"swl+"
),
r
=
a
(
"P9l9"
),
c
=
a
(
"Ch4/"
),
d
=
a
(
"3E4D"
),
m
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
filters
:{
formatTimeYMD
:
function
(
e
){
return
e
&&
"- -"
!=
e
?
e
.
split
(
" "
)[
0
]:
"--"
},
formatTimeHMS
:
function
(
e
){
return
e
&&
"- -"
!=
e
?
e
.
split
(
" "
)[
1
]:
"--"
}},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
activeId
:
"2"
,
activeBrand
:
this
.
brandId
,
selectRadio
:
0
,
showDialog
:
!
1
,
conditionObj
:{
completed
:
""
,
overdue
:
""
},
completedOptions
:[{
label
:
"所以完成情况"
,
value
:
""
},{
label
:
"已完成"
,
value
:
"1"
},{
label
:
"未完成"
,
value
:
"0"
}],
overOptions
:[{
label
:
"所以逾期情况"
,
value
:
""
},{
label
:
"已逾期"
,
value
:
"1"
},{
label
:
"未逾期"
,
value
:
"0"
}],
tableData
:[],
multipleSelection
:[],
dialogVisible
:
!
1
,
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
previewVisible
:
!
1
,
previewData
:{},
userData
:{
staffName
:
""
,
phoneNumber
:
""
,
nationCode
:
""
,
postion
:
""
,
departmentName
:
""
,
headImg
:
""
}}},
computed
:{},
methods
:{
showSingleInfo
:
function
(
e
){
var
t
=
this
,
a
=
{
clerkId
:
e
};
Object
(
r
.
d
)(
"/haoban-manage3-web/get-clerk-info"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
c
.
a
.
errorMsg
(
a
):
t
.
userData
=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
getPreviewData
:
function
(
e
,
t
){
var
a
=
this
,
s
=
{
storeId
:
a
.
conditionObj
.
storeId
,
taskId
:
t
.
taskId
,
clerkId
:
t
.
clerkId
};
a
.
previewVisible
=!
0
,
Object
(
r
.
d
)(
"/haoban-app-daily-three-web/daily/get-daily-report-detail"
,
s
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
a
.
previewData
=
t
.
result
,
void
(
a
.
previewVisible
=!
0
);
c
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleCommand
:
function
(
e
){
this
.
selectRadio
=
e
},
selectBrandId
:
function
(
e
){
this
.
activeBrand
=
e
},
setSelectTab
:
function
(
e
){
this
.
activeTab
=
e
.
tabId
},
changeSelect
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
multDel
:
function
(){
if
(
!
this
.
multipleSelection
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择删除项"
}),
!
1
;
this
.
showDialog
=!
0
},
hideDialog
:
function
(
e
){
if
(
this
.
showDialog
=!
1
,
!
i
()(
e
).
length
)
return
!
1
;
this
.
postMultDel
(
e
)},
postMultDel
:
function
(
e
){
var
t
=
this
,
a
=
{
storeId
:
t
.
conditionObj
.
storeId
,
taskIds
:
t
.
multipleSelection
.
map
(
function
(
e
){
return
e
.
taskId
})
||
""
,
overdue
:
t
.
conditionObj
.
overdue
||
""
,
completed
:
t
.
conditionObj
.
completed
||
""
,
reason
:
e
.
reason
,
enterpriseId
:
t
.
activeBrand
,
chooseAll
:
t
.
selectRadio
};
Object
(
r
.
d
)(
"/haoban-app-daily-three-web/daily/batch-delete-store-task"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
d
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
t
.
getTableList
();
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
handleDel
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"确认要删除吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
postDel
(
e
,
t
)}).
catch
(
function
(){})},
postDel
:
function
(
e
,
t
){
var
a
=
this
,
s
=
{
taskId
:
t
.
taskId
};
Object
(
r
.
a
)(
"/haoban-app-daily-three-web/daily/delete-task-items"
,
s
).
then
(
function
(
t
){
var
s
=
t
.
data
;
if
(
1
==
s
.
errorCode
)
return
d
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
tableData
.
splice
(
e
,
1
);
c
.
a
.
errorMsg
(
s
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handlePreview
:
function
(
e
,
t
){
this
.
postPreview
(
e
,
t
)},
postPreview
:
function
(
e
,
t
){
var
a
=
window
.
location
.
origin
+
"/haoban3web/pages/hbapp/daily/html/task/taskDailyReport.html?taskId="
+
t
.
taskId
+
"&gicStoreId="
+
this
.
conditionObj
.
storeId
+
"&gicClerkId="
+
t
.
clerkId
+
"&isShare=1"
;
this
.
$refs
.
qrcodePreview
.
qrcode
(
a
,
"daily-detail"
),
this
.
dialogVisible
=!
0
},
getTableList
:
function
(
e
){
var
t
=
this
,
a
=
{
storeId
:
t
.
conditionObj
.
storeId
||
""
,
overdue
:
t
.
conditionObj
.
overdue
||
""
,
completed
:
t
.
conditionObj
.
completed
||
""
,
currentPage
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
,
enterpriseId
:
t
.
activeBrand
};
Object
(
r
.
a
)(
"/haoban-app-daily-three-web/daily/page-store-task"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
tableData
=
a
.
result
.
result
||
[],
void
(
t
.
total
=
a
.
result
.
totalCount
);
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getTableList
())}},
mounted
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
$emit
(
"showTab"
,
"11"
),
this
.
activeBrand
=
this
.
brandId
,
this
.
conditionObj
.
storeId
=
this
.
$route
.
query
.
storeId
,
this
.
brandId
&&
this
.
getTableList
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
multipleDel
:
o
.
a
,
qrcodeDialog
:
n
.
a
,
detailPreview
:
l
.
a
}},
u
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"div"
,{
staticClass
:
"daily-set-content border-box"
},[
a
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-23"
},[
a
(
"div"
,{
staticClass
:
"table-condition-left"
},[
a
(
"el-select"
,{
staticClass
:
"w-162"
,
attrs
:{
placeholder
:
"所有完成情况"
},
on
:{
change
:
e
.
changeSelect
},
model
:{
value
:
e
.
conditionObj
.
completed
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"completed"
,
t
)},
expression
:
"conditionObj.completed"
}},
e
.
_l
(
e
.
completedOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})),
a
(
"el-select"
,{
staticClass
:
"w-162 m-l-10"
,
attrs
:{
placeholder
:
"所有逾期情况"
},
on
:{
change
:
e
.
changeSelect
},
model
:{
value
:
e
.
conditionObj
.
overdue
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"overdue"
,
t
)},
expression
:
"conditionObj.overdue"
}},
e
.
_l
(
e
.
overOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-condition-right"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"danger"
},
on
:{
click
:
e
.
multDel
}},[
e
.
_v
(
"批量删除"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
e
.
tableH
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"35"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
width
:
"25"
},
scopedSlots
:
e
.
_u
([{
key
:
"header"
,
fn
:
function
(
t
){
return
[
a
(
"el-dropdown"
,{
staticStyle
:{
"line-height"
:
"10px"
,
padding
:
"0"
,
"margin-left"
:
"-15px"
,
transform
:
"translateY(4px)"
,
"-webkit-transform"
:
"translateY(4px)"
},
attrs
:{
placement
:
"bottom-start"
},
on
:{
command
:
e
.
handleCommand
}},[
a
(
"span"
,{
staticClass
:
"el-dropdown-link"
},[
a
(
"i"
,{
staticClass
:
"iconfont icongengduo"
})]),
e
.
_v
(
" "
),
a
(
"el-dropdown-menu"
,{
attrs
:{
slot
:
"dropdown"
},
slot
:
"dropdown"
},[
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"0"
}},[
a
(
"span"
,{
style
:{
color
:
0
==
e
.
selectRadio
?
"#2f54eb"
:
"#606266"
}},[
e
.
_v
(
"选择当页"
)])]),
e
.
_v
(
" "
),
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"1"
}},[
a
(
"span"
,{
style
:{
color
:
1
==
e
.
selectRadio
?
"#2f54eb"
:
"#606266"
}},[
e
.
_v
(
"选择全部"
)])])],
1
)],
1
)]}},{
key
:
"default"
,
fn
:
function
(
e
){}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"指派对象"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"flex flex-pack-center flex-start"
},[
a
(
"el-popover"
,{
attrs
:{
placement
:
"top-start"
,
width
:
"300"
,
trigger
:
"hover"
},
on
:{
show
:
function
(
a
){
e
.
showSingleInfo
(
t
.
row
.
clerkId
)}}},[
a
(
"div"
,{
staticClass
:
"apply-info-detail"
},[
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"div"
,{
staticClass
:
"apply-info-img flex-align-center flex-pack-center bg-82C5FF "
},[
e
.
userData
.
headImg
?
a
(
"img"
,{
attrs
:{
src
:
e
.
userData
.
headImg
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex flex-column apply-info-right flex-space-between"
},[
a
(
"div"
,{
staticClass
:
"apply-info-name"
},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
userData
.
staffName
||
"--"
)
+
" ( "
+
e
.
_s
(
e
.
userData
.
position
||
"--"
)
+
")
\
n "
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-phone"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
e
.
_v
(
"手机号:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
e
.
_v
(
e
.
_s
(
"86"
==
e
.
userData
.
nationCode
?
e
.
userData
.
phoneNumber
:
"+"
+
e
.
userData
.
nationCode
+
"-"
+
e
.
userData
.
phoneNumber
))])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-store"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
e
.
_v
(
"所属部门:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
e
.
_v
(
e
.
_s
(
e
.
userData
.
departmentName
||
"--"
))])])])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
},[
a
(
"div"
,{
staticClass
:
"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic cursor-pointer"
},[
t
.
row
.
headImgUrl
?
a
(
"img"
,{
attrs
:{
src
:
t
.
row
.
headImgUrl
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"clerk-info flex flex-column flex-space-between m-l-16"
,
staticStyle
:{
overflow
:
"hidden"
,
"text-overflow"
:
"ellipsis"
,
"white-space"
:
"nowrap"
}},[
a
(
"p"
,{
staticClass
:
"font-14 color-303133"
,
staticStyle
:{
"line-height"
:
"18px"
,
overflow
:
"hidden"
,
"text-overflow"
:
"ellipsis"
,
"white-space"
:
"nowrap"
}},[
e
.
_v
(
e
.
_s
(
t
.
row
.
clerkName
))]),
e
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"font-14 color-909399"
,
staticStyle
:{
"line-height"
:
"18px"
,
overflow
:
"hidden"
,
"text-overflow"
:
"ellipsis"
,
"white-space"
:
"nowrap"
}},[
e
.
_v
(
e
.
_s
(
t
.
row
.
clerkPhone
))])])],
1
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
"name"
,
label
:
"创建时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
createTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
createTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"完成期限"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
lastTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
lastTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"逾期情况"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
isOverTime
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"完成情况"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
isCompleted
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"完成时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
finishTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
finishTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提交人"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
operationStaffName
))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
handleDel
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"删除"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
handlePreview
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"预览"
)])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
a
(
"multiple-del"
,{
attrs
:{
showDialog
:
e
.
showDialog
,
detailFlag
:
!
0
},
on
:{
hideDialog
:
e
.
hideDialog
}}),
e
.
_v
(
" "
),
a
(
"qrcode-dialog"
,{
ref
:
"qrcodePreview"
,
model
:{
value
:
e
.
dialogVisible
,
callback
:
function
(
t
){
e
.
dialogVisible
=
t
},
expression
:
"dialogVisible"
}}),
e
.
_v
(
" "
),
a
(
"detail-preview"
,{
ref
:
"detailPreview"
,
attrs
:{
previewData
:
e
.
previewData
},
model
:{
value
:
e
.
previewVisible
,
callback
:
function
(
t
){
e
.
previewVisible
=
t
},
expression
:
"previewVisible"
}})],
1
)},
staticRenderFns
:[]};
var
f
=
a
(
"VU/8"
)(
m
,
u
,
!
1
,
function
(
e
){
a
(
"WGjl"
)},
"data-v-6e67de53"
,
null
);
t
.
default
=
f
.
exports
},
WGjl
:
function
(
e
,
t
){},
n1YH
:
function
(
e
,
t
){},
"swl+"
:
function
(
e
,
t
,
a
){
"use strict"
;
var
s
=
a
(
"mvHQ"
),
i
=
a
.
n
(
s
),
o
=
a
(
"fZjL"
),
n
=
a
.
n
(
o
),
l
=
{
name
:
"detail-preview"
,
props
:{
value
:{
type
:
Boolean
,
default
:
function
(){
return
!
1
}},
previewData
:{
type
:
Object
,
default
:
function
(){
return
{
title
:
""
,
taskDescription
:
""
,
lastTime
:
""
,
taskStatus
:
1
,
executiveClerkId
:
""
,
bindFlag
:
0
,
taskRecordList
:[],
taskType
:
1
,
memberInfo
:{
cardNum
:
""
,
imgUrl
:
""
,
memberName
:
""
,
memberGender
:
""
,
memberAge
:
""
,
birthday
:
""
,
clerkName
:
""
,
costFee
:
""
,
memberGradeName
:
""
,
costTimes
:
""
,
lastCostFee
:
""
,
phoneNumber
:
""
,
openCardTime
:
""
,
memberType
:
"0"
,
birthType
:
""
,
accumulatPoints
:
""
}}}}},
directives
:{
htmlContent
:{
bind
:
function
(
e
,
t
){
e
.
innerHTML
=
t
.
value
},
update
:
function
(
e
,
t
){
e
.
innerHTML
=
t
.
value
}}},
data
:
function
(){
return
{
noticeData
:{
title
:
""
,
taskDescription
:
""
,
lastTime
:
""
,
taskStatus
:
1
,
executiveClerkId
:
""
,
bindFlag
:
0
,
taskRecordList
:[],
taskType
:
1
,
memberInfo
:{
cardNum
:
""
,
imgUrl
:
""
,
memberName
:
""
,
memberGender
:
""
,
memberAge
:
""
,
birthday
:
""
,
clerkName
:
""
,
costFee
:
""
,
memberGradeName
:
""
,
costTimes
:
""
,
lastCostFee
:
""
,
phoneNumber
:
""
,
openCardTime
:
""
,
memberType
:
"0"
,
birthType
:
""
,
accumulatPoints
:
""
}},
time
:
null
}},
methods
:{
timeStampSpaces
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
,
a
=
new
Date
(
Number
(
e
)).
getTime
()
-
t
.
getTime
();
if
(
console
.
log
(
a
),
a
<
0
)
return
""
;
var
s
=
a
%
864
e5
,
i
=
s
%
36
e5
;
return
Math
.
floor
(
a
/
864
e5
)
+
"天"
+
Math
.
floor
(
s
/
36
e5
)
+
"小时"
+
Math
.
floor
(
i
/
6
e4
)
+
"分"
}},
closeDialog
:
function
(){
this
.
$emit
(
"input"
,
!
1
),
this
.
$emit
(
"closePreview"
),
this
.
noticeData
=
{
title
:
""
,
taskDescription
:
""
,
lastTime
:
""
,
taskStatus
:
1
,
executiveClerkId
:
""
,
bindFlag
:
0
,
taskRecordList
:[],
taskType
:
1
,
memberInfo
:{
cardNum
:
""
,
imgUrl
:
""
,
memberName
:
""
,
memberGender
:
""
,
memberAge
:
""
,
birthday
:
""
,
clerkName
:
""
,
costFee
:
""
,
memberGradeName
:
""
,
costTimes
:
""
,
lastCostFee
:
""
,
phoneNumber
:
""
,
openCardTime
:
""
,
memberType
:
"0"
,
birthType
:
""
,
accumulatPoints
:
""
}},
clearInterval
(
this
.
time
)}},
watch
:{
previewData
:
function
(
e
,
t
){
var
a
=
this
;
n
()(
e
).
length
&&
(
a
.
noticeData
=
JSON
.
parse
(
i
()(
e
)),
a
.
time
=
setInterval
(
function
(){
a
.
timeStampSpaces
(
a
.
previewData
.
lastTime
)},
6
e4
))}},
mounted
:
function
(){
var
e
=
this
;
n
()(
e
.
previewData
).
length
&&
(
e
.
noticeData
=
JSON
.
parse
(
i
()(
e
.
previewData
)),
e
.
time
=
setInterval
(
function
(){
e
.
timeStampSpaces
(
e
.
previewData
.
lastTime
)},
6
e4
))},
beforeDestroy
:
function
(){
clearInterval
(
this
.
time
),
this
.
time
=
null
}},
r
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
directives
:[{
name
:
"show"
,
rawName
:
"v-show"
,
value
:
e
.
value
,
expression
:
"value"
}],
staticClass
:
"qr-dialog-content"
,
staticStyle
:{
opacity
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"qr-mask"
,
on
:{
click
:
function
(
t
){
return
t
.
stopPropagation
(),
e
.
closeDialog
(
t
)}}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"qr-dialog border-box"
},[
a
(
"div"
,{
staticClass
:
"qr-dialog-body border-box"
},[
a
(
"div"
,{
staticClass
:
"detail-content border-box"
},[
a
(
"div"
,{
staticClass
:
"detail-content-top border-box"
},[
a
(
"div"
,{
staticClass
:
"task-title font-14 color-303133 font-w-500"
},[
e
.
_v
(
e
.
_s
(
e
.
noticeData
.
title
))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task-des font-12 color-303133 font-w-400"
},[
e
.
_v
(
e
.
_s
(
e
.
noticeData
.
taskDescription
))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task-over font-10 color-fd6b6d font-w-400"
},[
1
==
e
.
noticeData
.
taskStatus
?
a
(
"span"
,[
e
.
_v
(
"逾期剩余时长:"
+
e
.
_s
(
e
.
timeStampSpaces
(
e
.
noticeData
.
lastTime
)))]):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
e
.
noticeData
.
taskStatus
?
a
(
"span"
,[
e
.
_v
(
"已完成"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
3
==
e
.
noticeData
.
taskStatus
?
a
(
"span"
,[
e
.
_v
(
"已放弃"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
4
==
e
.
noticeData
.
taskStatus
?
a
(
"span"
,[
e
.
_v
(
"已逾期"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
5
==
e
.
noticeData
.
taskStatus
?
a
(
"span"
,[
e
.
_v
(
"已完成"
)]):
e
.
_e
()]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task-people"
},
e
.
_l
(
e
.
noticeData
.
taskRecordList
,
function
(
t
,
s
){
return
a
(
"div"
,{
key
:
s
+
"record"
,
staticClass
:
"task-item-cell"
},[
a
(
"div"
,{
staticClass
:
"task-item-content"
},[
a
(
"span"
,{
staticClass
:
"iconfont icondingwei font-10 color-4b69e5"
}),
a
(
"span"
,{
staticClass
:
"font-10 color-606266 opt-content"
},[
e
.
_v
(
e
.
_s
(
t
.
optContent
))])]),
e
.
_v
(
" "
),
a
(
"div"
,{
class
:[
"task-item-date"
,
s
!=
e
.
noticeData
.
taskRecordList
.
length
-
1
?
"item-border"
:
""
]},[
a
(
"span"
,{
staticClass
:
"p-l-14 font-10 color-909399"
},[
e
.
_v
(
e
.
_s
(
t
.
optTime
))])])])}))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"detail-content-bottom border-box m-t-10"
},[
a
(
"div"
,{
staticClass
:
"user-info flex "
},[
a
(
"div"
,{
staticClass
:
"user-photo"
},[
a
(
"img"
,{
attrs
:{
src
:
e
.
noticeData
.
memberInfo
.
imgUrl
,
alt
:
""
}})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"user-name-body"
},[
a
(
"div"
,{
staticClass
:
"user-name"
},[
a
(
"span"
,{
staticClass
:
"font-12 color-30313 font-w-500"
},[
e
.
_v
(
e
.
_s
(
e
.
noticeData
.
memberInfo
.
memberName
))]),
a
(
"span"
,{
class
:[
"p-l-6 font-12 iconfont"
,
0
==
e
.
noticeData
.
memberInfo
.
memberGender
?
""
:
1
==
e
.
noticeData
.
memberInfo
.
memberGender
?
"iconnan color-4b69e5"
:
"color-ff8ea0 iconxingbienv"
]})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"user-age font-10 color-7f818a"
},[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
e
.
noticeData
.
memberInfo
.
memberAge
)
+
"岁"
)]),
a
(
"span"
,{
staticClass
:
"dot"
}),
a
(
"span"
,[
e
.
_v
(
"生日 "
+
e
.
_s
(
0
==
e
.
noticeData
.
memberInfo
.
birthType
?
"农历"
:
"阳历"
)
+
e
.
_s
(
e
.
noticeData
.
memberInfo
.
birthday
))])])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"user-info-body"
},[
a
(
"ul"
,{
staticClass
:
"flex font-10 flex-wrap"
},[
a
(
"li"
,{
staticClass
:
"flex-1 line-h-16 m-b-10"
},[
a
(
"span"
,{
staticClass
:
"font-10 color-303133"
},[
e
.
_v
(
"会员卡:"
)]),
a
(
"span"
,{
staticClass
:
"font-10 color-7f818a"
},[
e
.
_v
(
e
.
_s
(
e
.
noticeData
.
memberInfo
.
memberGradeName
))])]),
e
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"flex-1 line-h-16 m-b-10"
},[
a
(
"span"
,{
staticClass
:
"font-10 color-303133"
},[
e
.
_v
(
"会员身份:"
)]),
a
(
"span"
,{
staticClass
:
"font-10 color-7f818a"
},[
e
.
_v
(
e
.
_s
(
1
==
e
.
noticeData
.
memberInfo
.
memberType
?
"pos会员"
:
"微信会员"
))])]),
e
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"flex-1 line-h-16 m-b-10"
},[
a
(
"span"
,{
staticClass
:
"font-10 color-303133"
},[
e
.
_v
(
"会员卡号:"
)]),
a
(
"span"
,{
staticClass
:
"font-10 color-7f818a"
},[
e
.
_v
(
e
.
_s
(
e
.
noticeData
.
memberInfo
.
cardNum
))])]),
e
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"flex-1 line-h-16 m-b-10"
},[
a
(
"span"
,{
staticClass
:
"font-10 color-303133"
},[
e
.
_v
(
"积 分:"
)]),
a
(
"span"
,{
staticClass
:
"font-10 color-7f818a"
},[
e
.
_v
(
e
.
_s
(
e
.
noticeData
.
memberInfo
.
accumulatPoints
))])]),
e
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"flex-1 line-h-16 m-b-10"
},[
a
(
"span"
,{
staticClass
:
"font-10 color-303133"
},[
e
.
_v
(
"消费总额:"
)]),
a
(
"span"
,{
staticClass
:
"font-10 color-7f818a"
},[
e
.
_v
(
e
.
_s
(
e
.
noticeData
.
memberInfo
.
costFee
))])]),
e
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"flex-1 line-h-16 m-b-10"
},[
a
(
"span"
,{
staticClass
:
"font-10 color-303133"
},[
e
.
_v
(
"消费次数:"
)]),
a
(
"span"
,{
staticClass
:
"font-10 color-7f818a"
},[
e
.
_v
(
e
.
_s
(
e
.
noticeData
.
memberInfo
.
costTimes
))])])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"user-clerk"
},[
a
(
"span"
,{
staticClass
:
"iconfont iconziyuan1 font-10 color-4b69e5"
}),
a
(
"span"
,{
staticClass
:
"font-10 color-4b69e5 clerk-name"
},[
e
.
_v
(
e
.
_s
(
e
.
noticeData
.
memberInfo
.
clerkName
))])])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"qr-dialog__hd"
},[
a
(
"i"
,{
staticClass
:
"el-icon-plus"
,
on
:{
click
:
function
(
t
){
return
t
.
stopPropagation
(),
e
.
closeDialog
(
t
)}}})])])])])},
staticRenderFns
:[]};
var
c
=
a
(
"VU/8"
)(
l
,
r
,
!
1
,
function
(
e
){
a
(
"n1YH"
)},
"data-v-3660ceba"
,
null
);
t
.
a
=
c
.
exports
}});
\ No newline at end of file
dist/static/js/1
1.234de60fe9d347a9b24
6.js
→
dist/static/js/1
2.e8cd784bf481f550c76
6.js
View file @
29419b85
webpackJsonp
([
11
],{
MeNY
:
function
(
e
,
t
){},
XrDD
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"fZjL"
),
i
=
a
.
n
(
s
),
o
=
a
(
"LRn8"
),
n
=
a
(
"fPyK"
),
l
=
a
(
"swl+"
),
r
=
a
(
"P9l9"
),
c
=
a
(
"Ch4/"
),
d
=
a
(
"3E4D"
),
u
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
filters
:{
formatTimeYMD
:
function
(
e
){
return
e
&&
"- -"
!=
e
?
e
.
split
(
" "
)[
0
]:
"--"
},
formatTimeHMS
:
function
(
e
){
return
e
&&
"- -"
!=
e
?
e
.
split
(
" "
)[
1
]:
"--"
}},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
activeId
:
"2"
,
activeBrand
:
this
.
brandId
,
selectRadio
:
0
,
showDialog
:
!
1
,
conditionObj
:{
completed
:
""
,
overdue
:
""
,
taskType
:
""
},
completedOptions
:[{
label
:
"所有完成情况"
,
value
:
""
},{
label
:
"已完成(已拨通)"
,
value
:
"1"
},{
label
:
"已完成(放弃)"
,
value
:
"2"
},{
label
:
"未完成"
,
value
:
"0"
}],
overOptions
:[{
label
:
"所有逾期情况"
,
value
:
""
},{
label
:
"已逾期"
,
value
:
"1"
},{
label
:
"未逾期"
,
value
:
"0"
}],
typeOptions
:[{
label
:
"所有类型"
,
value
:
""
},{
label
:
"ECM话务任务"
,
value
:
"1"
},{
label
:
"不良评价"
,
value
:
"0"
}],
tableData
:[],
multipleSelection
:[],
dialogVisible
:
!
1
,
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
previewData
:{},
previewVisible
:
!
1
,
userData
:{
staffName
:
""
,
phoneNumber
:
""
,
nationCode
:
""
,
postion
:
""
,
departmentName
:
""
,
headImg
:
""
}}},
computed
:{},
methods
:{
showSingleInfo
:
function
(
e
){
var
t
=
this
,
a
=
{
clerkId
:
e
};
Object
(
r
.
d
)(
"/haoban-manage3-web/get-clerk-info"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
c
.
a
.
errorMsg
(
a
):
t
.
userData
=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
closePreview
:
function
(){
this
.
previewData
=
{}},
getPreviewData
:
function
(
e
,
t
){
var
a
=
this
,
s
=
{
taskId
:
t
.
taskId
};
a
.
previewVisible
=!
0
,
Object
(
r
.
d
)(
"/haoban-app-tel-task-three-web/task/app-task-detail"
,
s
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
a
.
previewData
=
t
.
result
,
void
(
a
.
previewVisible
=!
0
);
c
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleCommand
:
function
(
e
){
this
.
selectRadio
=
e
},
changeSelect
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
multDel
:
function
(){
if
(
!
this
.
multipleSelection
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择删除项"
}),
!
1
;
this
.
showDialog
=!
0
},
hideDialog
:
function
(
e
){
if
(
this
.
showDialog
=!
1
,
!
i
()(
e
).
length
)
return
!
1
;
this
.
postMultDel
(
e
)},
postMultDel
:
function
(
e
){
var
t
=
this
,
a
=
{
storeId
:
t
.
conditionObj
.
storeId
,
taskIds
:
t
.
multipleSelection
.
map
(
function
(
e
){
return
e
.
taskId
})
||
""
,
isOverTime
:
t
.
conditionObj
.
overdue
||
""
,
isCompleted
:
t
.
conditionObj
.
completed
||
""
,
reason
:
e
.
reason
,
enterpriseId
:
t
.
activeBrand
,
isAll
:
t
.
selectRadio
};
Object
(
r
.
d
)(
"/haoban-app-tel-task-three-web/task/batch-del-clerk-task-list"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
d
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
t
.
getTableList
();
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
handleDel
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"确认要删除吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
postDel
(
e
,
t
)}).
catch
(
function
(){})},
postDel
:
function
(
e
,
t
){
var
a
=
this
,
s
=
{
taskId
:
t
.
taskId
,
enterpriseId
:
a
.
activeBrand
};
Object
(
r
.
a
)(
"/haoban-app-tel-task-three-web/task/del-one"
,
s
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
d
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
getTableList
();
c
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handlePreview
:
function
(
e
,
t
){
this
.
postPreview
(
e
,
t
)},
postPreview
:
function
(
e
,
t
){
var
a
=
""
+
t
.
taskId
;
this
.
$refs
.
qrcodePreview
.
qrcode
(
a
,
"task"
),
this
.
dialogVisible
=!
0
},
getTableList
:
function
(
e
){
var
t
=
this
,
a
=
{
ecmId
:
t
.
$route
.
query
.
ecmId
||
""
,
taskType
:
t
.
conditionObj
.
taskType
,
storeId
:
t
.
conditionObj
.
storeId
||
""
,
isOverTime
:
t
.
conditionObj
.
overdue
||
""
,
isCompleted
:
t
.
conditionObj
.
completed
||
""
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
,
enterpriseId
:
t
.
activeBrand
};
Object
(
r
.
a
)(
"/haoban-app-tel-task-three-web/task/clerk-task-list"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
.
list
&&
a
.
result
.
list
.
forEach
(
function
(
e
){
e
.
taskUrl
&&!
e
.
taskUrl
.
length
||
(
e
.
taskUrl
=
[])}),
t
.
tableData
=
a
.
result
.
list
||
[],
void
(
t
.
total
=
a
.
result
.
pageInfo
.
total
);
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getTableList
())}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"11"
),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
activeBrand
=
this
.
brandId
,
this
.
conditionObj
.
storeId
=
this
.
$route
.
query
.
storeId
,
this
.
brandId
&&
this
.
getTableList
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
multipleDel
:
o
.
a
,
qrcodeDialog
:
n
.
a
,
detailPreview
:
l
.
a
}},
m
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"div"
,{
staticClass
:
"daily-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-23"
},[
a
(
"div"
,{
staticClass
:
"table-condition-left"
},[
a
(
"el-select"
,{
staticClass
:
"w-135"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
changeSelect
},
model
:{
value
:
e
.
conditionObj
.
completed
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"completed"
,
t
)},
expression
:
"conditionObj.completed"
}},
e
.
_l
(
e
.
completedOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})),
a
(
"el-select"
,{
staticClass
:
"w-135 m-l-10"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
changeSelect
},
model
:{
value
:
e
.
conditionObj
.
overdue
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"overdue"
,
t
)},
expression
:
"conditionObj.overdue"
}},
e
.
_l
(
e
.
overOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})),
e
.
$route
.
query
.
ecmId
?
e
.
_e
():
a
(
"el-select"
,{
staticClass
:
"w-105 m-l-10"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
changeSelect
},
model
:{
value
:
e
.
conditionObj
.
taskType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"taskType"
,
t
)},
expression
:
"conditionObj.taskType"
}},
e
.
_l
(
e
.
typeOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-condition-right"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"danger"
},
on
:{
click
:
e
.
multDel
}},[
e
.
_v
(
"批量删除"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
e
.
tableH
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"35"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
width
:
"25"
},
scopedSlots
:
e
.
_u
([{
key
:
"header"
,
fn
:
function
(
t
){
return
[
a
(
"el-dropdown"
,{
staticStyle
:{
"line-height"
:
"10px"
,
padding
:
"0"
,
"margin-left"
:
"-15px"
,
transform
:
"translateY(4px)"
,
"-webkit-transform"
:
"translateY(4px)"
},
attrs
:{
placement
:
"bottom-start"
},
on
:{
command
:
e
.
handleCommand
}},[
a
(
"span"
,{
staticClass
:
"el-dropdown-link"
},[
a
(
"i"
,{
staticClass
:
"iconfont icongengduo"
})]),
e
.
_v
(
" "
),
a
(
"el-dropdown-menu"
,{
attrs
:{
slot
:
"dropdown"
},
slot
:
"dropdown"
},[
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"0"
}},[
a
(
"span"
,{
style
:{
color
:
0
==
e
.
selectRadio
?
"#2f54eb"
:
"#606266"
}},[
e
.
_v
(
"选择当页"
)])]),
e
.
_v
(
" "
),
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"1"
}},[
a
(
"span"
,{
style
:{
color
:
1
==
e
.
selectRadio
?
"#2f54eb"
:
"#606266"
}},[
e
.
_v
(
"选择全部"
)])])],
1
)],
1
)]}},{
key
:
"default"
,
fn
:
function
(
e
){}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"指派对象"
,
"show-overflow-tooltip"
:
""
,
width
:
"170"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"flex flex-pack-center flex-start"
},[
a
(
"el-popover"
,{
attrs
:{
placement
:
"top-start"
,
width
:
"300"
,
trigger
:
"hover"
},
on
:{
show
:
function
(
a
){
e
.
showSingleInfo
(
t
.
row
.
clerkId
)}}},[
a
(
"div"
,{
staticClass
:
"apply-info-detail"
},[
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"div"
,{
staticClass
:
"apply-info-img flex-align-center flex-pack-center bg-82C5FF "
},[
e
.
userData
.
headImg
?
a
(
"img"
,{
attrs
:{
src
:
e
.
userData
.
headImg
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex flex-column apply-info-right flex-space-between"
},[
a
(
"div"
,{
staticClass
:
"apply-info-name"
},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
userData
.
staffName
||
"--"
)
+
" ( "
+
e
.
_s
(
e
.
userData
.
position
||
"--"
)
+
")
\
n "
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-phone"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
e
.
_v
(
"手机号:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
e
.
_v
(
e
.
_s
(
"86"
==
e
.
userData
.
nationCode
?
e
.
userData
.
phoneNumber
:
"+"
+
e
.
userData
.
nationCode
+
"-"
+
e
.
userData
.
phoneNumber
))])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-store"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
e
.
_v
(
"所属部门:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
e
.
_v
(
e
.
_s
(
e
.
userData
.
departmentName
||
"--"
))])])])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
},[
a
(
"div"
,{
staticClass
:
"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic cursor-pointer"
},[
t
.
row
.
headImgUrl
?
a
(
"img"
,{
attrs
:{
src
:
t
.
row
.
headImgUrl
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"clerk-info flex flex-column flex-space-between m-l-16"
,
staticStyle
:{
overflow
:
"hidden"
,
"text-overflow"
:
"ellipsis"
,
"white-space"
:
"nowrap"
}},[
a
(
"p"
,{
staticClass
:
"font-14 color-303133"
,
staticStyle
:{
"line-height"
:
"18px"
,
overflow
:
"hidden"
,
"text-overflow"
:
"ellipsis"
,
"white-space"
:
"nowrap"
}},[
e
.
_v
(
e
.
_s
(
t
.
row
.
clerkName
))]),
e
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"font-14 color-909399"
,
staticStyle
:{
"line-height"
:
"18px"
,
width
:
"100%"
,
overflow
:
"hidden"
,
"text-overflow"
:
"ellipsis"
}},[
e
.
_v
(
e
.
_s
(
t
.
row
.
clerkPhone
))])])],
1
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"任务类型"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
"0"
==
t
.
row
.
taskType
?
"不良评价"
:
"话务任务"
))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"创建时间"
,
width
:
"107"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
createTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
createTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"完成期限"
,
"show-overflow-tooltip"
:
""
,
width
:
"107"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
lastTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
lastTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"逾期情况"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
isOverTime
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"完成情况"
},
scopedSlots
:
e
.
_u
([{
key
:
"header"
,
fn
:
function
(
t
){
return
[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"light"
,
placement
:
"right"
}},[
a
(
"div"
,{
attrs
:{
slot
:
"content"
},
slot
:
"content"
},[
e
.
_v
(
"
\
n 完成情况包含3种"
),
a
(
"br"
),
e
.
_v
(
"
\
n 1.完成拨打任务;"
),
a
(
"br"
),
e
.
_v
(
"
\
n 2.完成任务(无需拨打);"
),
a
(
"br"
),
e
.
_v
(
"
\
n 3.完成任务(放弃拨打);"
),
a
(
"br"
),
e
.
_v
(
"
\
n 4.未完成任务
\
n "
)]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
e
.
_v
(
"完成情况"
)])])]}},{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
isCompleted
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"完成时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
finishTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
finishTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提交人"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
operationStaffName
||
"--"
))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"备注"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
reason
?
a
(
"el-popover"
,{
attrs
:{
placement
:
"top-start"
,
title
:
""
,
width
:
"200"
,
trigger
:
"hover"
,
content
:
t
.
row
.
reason
}},[
a
(
"i"
,{
staticClass
:
"el-icon-chat-dot-square cursor-pointer color-909399"
,
staticStyle
:{
"font-size"
:
"20px"
},
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
})]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"图片"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
e
.
_l
(
t
.
row
.
taskUrls
,
function
(
t
,
s
){
return
a
(
"el-popover"
,{
key
:
s
,
attrs
:{
"popper-class"
:
"notice-img-popover"
,
placement
:
"right"
,
width
:
"400"
,
trigger
:
"hover"
}},[
a
(
"div"
,{
staticClass
:
"img-preview flex"
},[
a
(
"img"
,{
staticStyle
:{
"max-width"
:
"400px"
},
attrs
:{
src
:
t
,
alt
:
""
}})]),
e
.
_v
(
" "
),
a
(
"img"
,{
staticClass
:
"task-imgs"
,
attrs
:{
slot
:
"reference"
,
src
:
t
,
alt
:
""
},
slot
:
"reference"
})])})}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
fixed
:
"right"
,
width
:
"110"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
handleDel
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"删除"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
getPreviewData
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"预览"
)])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
a
(
"multiple-del"
,{
attrs
:{
showDialog
:
e
.
showDialog
,
detailFlag
:
!
0
},
on
:{
hideDialog
:
e
.
hideDialog
}}),
e
.
_v
(
" "
),
a
(
"qrcode-dialog"
,{
ref
:
"qrcodePreview"
,
model
:{
value
:
e
.
dialogVisible
,
callback
:
function
(
t
){
e
.
dialogVisible
=
t
},
expression
:
"dialogVisible"
}}),
e
.
_v
(
" "
),
a
(
"detail-preview"
,{
ref
:
"detailPreview"
,
attrs
:{
previewData
:
e
.
previewData
},
on
:{
closePreview
:
e
.
closePreview
},
model
:{
value
:
e
.
previewVisible
,
callback
:
function
(
t
){
e
.
previewVisible
=
t
},
expression
:
"previewVisible"
}})],
1
)},
staticRenderFns
:[]};
var
p
=
a
(
"VU/8"
)(
u
,
m
,
!
1
,
function
(
e
){
a
(
"MeNY"
)},
"data-v-3c9ee2e2"
,
null
);
t
.
default
=
p
.
exports
},
n1YH
:
function
(
e
,
t
){},
"swl+"
:
function
(
e
,
t
,
a
){
"use strict"
;
var
s
=
a
(
"mvHQ"
),
i
=
a
.
n
(
s
),
o
=
a
(
"fZjL"
),
n
=
a
.
n
(
o
),
l
=
{
name
:
"detail-preview"
,
props
:{
value
:{
type
:
Boolean
,
default
:
function
(){
return
!
1
}},
previewData
:{
type
:
Object
,
default
:
function
(){
return
{
title
:
""
,
taskDescription
:
""
,
lastTime
:
""
,
taskStatus
:
1
,
executiveClerkId
:
""
,
bindFlag
:
0
,
taskRecordList
:[],
taskType
:
1
,
memberInfo
:{
cardNum
:
""
,
imgUrl
:
""
,
memberName
:
""
,
memberGender
:
""
,
memberAge
:
""
,
birthday
:
""
,
clerkName
:
""
,
costFee
:
""
,
memberGradeName
:
""
,
costTimes
:
""
,
lastCostFee
:
""
,
phoneNumber
:
""
,
openCardTime
:
""
,
memberType
:
"0"
,
birthType
:
""
,
accumulatPoints
:
""
}}}}},
directives
:{
htmlContent
:{
bind
:
function
(
e
,
t
){
e
.
innerHTML
=
t
.
value
},
update
:
function
(
e
,
t
){
e
.
innerHTML
=
t
.
value
}}},
data
:
function
(){
return
{
noticeData
:{
title
:
""
,
taskDescription
:
""
,
lastTime
:
""
,
taskStatus
:
1
,
executiveClerkId
:
""
,
bindFlag
:
0
,
taskRecordList
:[],
taskType
:
1
,
memberInfo
:{
cardNum
:
""
,
imgUrl
:
""
,
memberName
:
""
,
memberGender
:
""
,
memberAge
:
""
,
birthday
:
""
,
clerkName
:
""
,
costFee
:
""
,
memberGradeName
:
""
,
costTimes
:
""
,
lastCostFee
:
""
,
phoneNumber
:
""
,
openCardTime
:
""
,
memberType
:
"0"
,
birthType
:
""
,
accumulatPoints
:
""
}},
time
:
null
}},
methods
:{
timeStampSpaces
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
,
a
=
new
Date
(
Number
(
e
)).
getTime
()
-
t
.
getTime
();
if
(
console
.
log
(
a
),
a
<
0
)
return
""
;
var
s
=
a
%
864
e5
,
i
=
s
%
36
e5
;
return
Math
.
floor
(
a
/
864
e5
)
+
"天"
+
Math
.
floor
(
s
/
36
e5
)
+
"小时"
+
Math
.
floor
(
i
/
6
e4
)
+
"分"
}},
closeDialog
:
function
(){
this
.
$emit
(
"input"
,
!
1
),
this
.
$emit
(
"closePreview"
),
this
.
noticeData
=
{
title
:
""
,
taskDescription
:
""
,
lastTime
:
""
,
taskStatus
:
1
,
executiveClerkId
:
""
,
bindFlag
:
0
,
taskRecordList
:[],
taskType
:
1
,
memberInfo
:{
cardNum
:
""
,
imgUrl
:
""
,
memberName
:
""
,
memberGender
:
""
,
memberAge
:
""
,
birthday
:
""
,
clerkName
:
""
,
costFee
:
""
,
memberGradeName
:
""
,
costTimes
:
""
,
lastCostFee
:
""
,
phoneNumber
:
""
,
openCardTime
:
""
,
memberType
:
"0"
,
birthType
:
""
,
accumulatPoints
:
""
}},
clearInterval
(
this
.
time
)}},
watch
:{
previewData
:
function
(
e
,
t
){
var
a
=
this
;
n
()(
e
).
length
&&
(
a
.
noticeData
=
JSON
.
parse
(
i
()(
e
)),
a
.
time
=
setInterval
(
function
(){
a
.
timeStampSpaces
(
a
.
previewData
.
lastTime
)},
6
e4
))}},
mounted
:
function
(){
var
e
=
this
;
n
()(
e
.
previewData
).
length
&&
(
e
.
noticeData
=
JSON
.
parse
(
i
()(
e
.
previewData
)),
e
.
time
=
setInterval
(
function
(){
e
.
timeStampSpaces
(
e
.
previewData
.
lastTime
)},
6
e4
))},
beforeDestroy
:
function
(){
clearInterval
(
this
.
time
),
this
.
time
=
null
}},
r
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
directives
:[{
name
:
"show"
,
rawName
:
"v-show"
,
value
:
e
.
value
,
expression
:
"value"
}],
staticClass
:
"qr-dialog-content"
,
staticStyle
:{
opacity
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"qr-mask"
,
on
:{
click
:
function
(
t
){
return
t
.
stopPropagation
(),
e
.
closeDialog
(
t
)}}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"qr-dialog border-box"
},[
a
(
"div"
,{
staticClass
:
"qr-dialog-body border-box"
},[
a
(
"div"
,{
staticClass
:
"detail-content border-box"
},[
a
(
"div"
,{
staticClass
:
"detail-content-top border-box"
},[
a
(
"div"
,{
staticClass
:
"task-title font-14 color-303133 font-w-500"
},[
e
.
_v
(
e
.
_s
(
e
.
noticeData
.
title
))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task-des font-12 color-303133 font-w-400"
},[
e
.
_v
(
e
.
_s
(
e
.
noticeData
.
taskDescription
))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task-over font-10 color-fd6b6d font-w-400"
},[
1
==
e
.
noticeData
.
taskStatus
?
a
(
"span"
,[
e
.
_v
(
"逾期剩余时长:"
+
e
.
_s
(
e
.
timeStampSpaces
(
e
.
noticeData
.
lastTime
)))]):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
e
.
noticeData
.
taskStatus
?
a
(
"span"
,[
e
.
_v
(
"已完成"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
3
==
e
.
noticeData
.
taskStatus
?
a
(
"span"
,[
e
.
_v
(
"已放弃"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
4
==
e
.
noticeData
.
taskStatus
?
a
(
"span"
,[
e
.
_v
(
"已逾期"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
5
==
e
.
noticeData
.
taskStatus
?
a
(
"span"
,[
e
.
_v
(
"已完成"
)]):
e
.
_e
()]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task-people"
},
e
.
_l
(
e
.
noticeData
.
taskRecordList
,
function
(
t
,
s
){
return
a
(
"div"
,{
key
:
s
+
"record"
,
staticClass
:
"task-item-cell"
},[
a
(
"div"
,{
staticClass
:
"task-item-content"
},[
a
(
"span"
,{
staticClass
:
"iconfont icondingwei font-10 color-4b69e5"
}),
a
(
"span"
,{
staticClass
:
"font-10 color-606266 opt-content"
},[
e
.
_v
(
e
.
_s
(
t
.
optContent
))])]),
e
.
_v
(
" "
),
a
(
"div"
,{
class
:[
"task-item-date"
,
s
!=
e
.
noticeData
.
taskRecordList
.
length
-
1
?
"item-border"
:
""
]},[
a
(
"span"
,{
staticClass
:
"p-l-14 font-10 color-909399"
},[
e
.
_v
(
e
.
_s
(
t
.
optTime
))])])])}))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"detail-content-bottom border-box m-t-10"
},[
a
(
"div"
,{
staticClass
:
"user-info flex "
},[
a
(
"div"
,{
staticClass
:
"user-photo"
},[
a
(
"img"
,{
attrs
:{
src
:
e
.
noticeData
.
memberInfo
.
imgUrl
,
alt
:
""
}})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"user-name-body"
},[
a
(
"div"
,{
staticClass
:
"user-name"
},[
a
(
"span"
,{
staticClass
:
"font-12 color-30313 font-w-500"
},[
e
.
_v
(
e
.
_s
(
e
.
noticeData
.
memberInfo
.
memberName
))]),
a
(
"span"
,{
class
:[
"p-l-6 font-12 iconfont"
,
0
==
e
.
noticeData
.
memberInfo
.
memberGender
?
""
:
1
==
e
.
noticeData
.
memberInfo
.
memberGender
?
"iconnan color-4b69e5"
:
"color-ff8ea0 iconxingbienv"
]})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"user-age font-10 color-7f818a"
},[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
e
.
noticeData
.
memberInfo
.
memberAge
)
+
"岁"
)]),
a
(
"span"
,{
staticClass
:
"dot"
}),
a
(
"span"
,[
e
.
_v
(
"生日 "
+
e
.
_s
(
0
==
e
.
noticeData
.
memberInfo
.
birthType
?
"农历"
:
"阳历"
)
+
e
.
_s
(
e
.
noticeData
.
memberInfo
.
birthday
))])])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"user-info-body"
},[
a
(
"ul"
,{
staticClass
:
"flex font-10 flex-wrap"
},[
a
(
"li"
,{
staticClass
:
"flex-1 line-h-16 m-b-10"
},[
a
(
"span"
,{
staticClass
:
"font-10 color-303133"
},[
e
.
_v
(
"会员卡:"
)]),
a
(
"span"
,{
staticClass
:
"font-10 color-7f818a"
},[
e
.
_v
(
e
.
_s
(
e
.
noticeData
.
memberInfo
.
memberGradeName
))])]),
e
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"flex-1 line-h-16 m-b-10"
},[
a
(
"span"
,{
staticClass
:
"font-10 color-303133"
},[
e
.
_v
(
"会员身份:"
)]),
a
(
"span"
,{
staticClass
:
"font-10 color-7f818a"
},[
e
.
_v
(
e
.
_s
(
1
==
e
.
noticeData
.
memberInfo
.
memberType
?
"pos会员"
:
"微信会员"
))])]),
e
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"flex-1 line-h-16 m-b-10"
},[
a
(
"span"
,{
staticClass
:
"font-10 color-303133"
},[
e
.
_v
(
"会员卡号:"
)]),
a
(
"span"
,{
staticClass
:
"font-10 color-7f818a"
},[
e
.
_v
(
e
.
_s
(
e
.
noticeData
.
memberInfo
.
cardNum
))])]),
e
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"flex-1 line-h-16 m-b-10"
},[
a
(
"span"
,{
staticClass
:
"font-10 color-303133"
},[
e
.
_v
(
"积 分:"
)]),
a
(
"span"
,{
staticClass
:
"font-10 color-7f818a"
},[
e
.
_v
(
e
.
_s
(
e
.
noticeData
.
memberInfo
.
accumulatPoints
))])]),
e
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"flex-1 line-h-16 m-b-10"
},[
a
(
"span"
,{
staticClass
:
"font-10 color-303133"
},[
e
.
_v
(
"消费总额:"
)]),
a
(
"span"
,{
staticClass
:
"font-10 color-7f818a"
},[
e
.
_v
(
e
.
_s
(
e
.
noticeData
.
memberInfo
.
costFee
))])]),
e
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"flex-1 line-h-16 m-b-10"
},[
a
(
"span"
,{
staticClass
:
"font-10 color-303133"
},[
e
.
_v
(
"消费次数:"
)]),
a
(
"span"
,{
staticClass
:
"font-10 color-7f818a"
},[
e
.
_v
(
e
.
_s
(
e
.
noticeData
.
memberInfo
.
costTimes
))])])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"user-clerk"
},[
a
(
"span"
,{
staticClass
:
"iconfont iconziyuan1 font-10 color-4b69e5"
}),
a
(
"span"
,{
staticClass
:
"font-10 color-4b69e5 clerk-name"
},[
e
.
_v
(
e
.
_s
(
e
.
noticeData
.
memberInfo
.
clerkName
))])])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"qr-dialog__hd"
},[
a
(
"i"
,{
staticClass
:
"el-icon-plus"
,
on
:{
click
:
function
(
t
){
return
t
.
stopPropagation
(),
e
.
closeDialog
(
t
)}}})])])])])},
staticRenderFns
:[]};
var
c
=
a
(
"VU/8"
)(
l
,
r
,
!
1
,
function
(
e
){
a
(
"n1YH"
)},
"data-v-3660ceba"
,
null
);
t
.
a
=
c
.
exports
}});
\ No newline at end of file
webpackJsonp
([
12
],{
MeNY
:
function
(
e
,
t
){},
XrDD
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"fZjL"
),
i
=
a
.
n
(
s
),
o
=
a
(
"LRn8"
),
n
=
a
(
"fPyK"
),
l
=
a
(
"swl+"
),
r
=
a
(
"P9l9"
),
c
=
a
(
"Ch4/"
),
d
=
a
(
"3E4D"
),
u
=
{
name
:
"reviewed"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
filters
:{
formatTimeYMD
:
function
(
e
){
return
e
&&
"- -"
!=
e
?
e
.
split
(
" "
)[
0
]:
"--"
},
formatTimeHMS
:
function
(
e
){
return
e
&&
"- -"
!=
e
?
e
.
split
(
" "
)[
1
]:
"--"
}},
data
:
function
(){
return
{
tableH
:
window
.
screen
.
availHeight
-
464
-
126
,
activeId
:
"2"
,
activeBrand
:
this
.
brandId
,
selectRadio
:
0
,
showDialog
:
!
1
,
conditionObj
:{
completed
:
""
,
overdue
:
""
,
taskType
:
""
},
completedOptions
:[{
label
:
"所有完成情况"
,
value
:
""
},{
label
:
"已完成(已拨通)"
,
value
:
"1"
},{
label
:
"已完成(放弃)"
,
value
:
"2"
},{
label
:
"未完成"
,
value
:
"0"
}],
overOptions
:[{
label
:
"所有逾期情况"
,
value
:
""
},{
label
:
"已逾期"
,
value
:
"1"
},{
label
:
"未逾期"
,
value
:
"0"
}],
typeOptions
:[{
label
:
"所有类型"
,
value
:
""
},{
label
:
"ECM话务任务"
,
value
:
"1"
},{
label
:
"不良评价"
,
value
:
"0"
}],
tableData
:[],
multipleSelection
:[],
dialogVisible
:
!
1
,
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
previewData
:{},
previewVisible
:
!
1
,
userData
:{
staffName
:
""
,
phoneNumber
:
""
,
nationCode
:
""
,
postion
:
""
,
departmentName
:
""
,
headImg
:
""
}}},
computed
:{},
methods
:{
showSingleInfo
:
function
(
e
){
var
t
=
this
,
a
=
{
clerkId
:
e
};
Object
(
r
.
d
)(
"/haoban-manage3-web/get-clerk-info"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
c
.
a
.
errorMsg
(
a
):
t
.
userData
=
a
.
result
}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
closePreview
:
function
(){
this
.
previewData
=
{}},
getPreviewData
:
function
(
e
,
t
){
var
a
=
this
,
s
=
{
taskId
:
t
.
taskId
};
a
.
previewVisible
=!
0
,
Object
(
r
.
d
)(
"/haoban-app-tel-task-three-web/task/app-task-detail"
,
s
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
a
.
previewData
=
t
.
result
,
void
(
a
.
previewVisible
=!
0
);
c
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleCommand
:
function
(
e
){
this
.
selectRadio
=
e
},
changeSelect
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
multDel
:
function
(){
if
(
!
this
.
multipleSelection
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择删除项"
}),
!
1
;
this
.
showDialog
=!
0
},
hideDialog
:
function
(
e
){
if
(
this
.
showDialog
=!
1
,
!
i
()(
e
).
length
)
return
!
1
;
this
.
postMultDel
(
e
)},
postMultDel
:
function
(
e
){
var
t
=
this
,
a
=
{
storeId
:
t
.
conditionObj
.
storeId
,
taskIds
:
t
.
multipleSelection
.
map
(
function
(
e
){
return
e
.
taskId
})
||
""
,
isOverTime
:
t
.
conditionObj
.
overdue
||
""
,
isCompleted
:
t
.
conditionObj
.
completed
||
""
,
reason
:
e
.
reason
,
enterpriseId
:
t
.
activeBrand
,
isAll
:
t
.
selectRadio
};
Object
(
r
.
d
)(
"/haoban-app-tel-task-three-web/task/batch-del-clerk-task-list"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
d
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
t
.
getTableList
();
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
handleDel
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"确认要删除吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
postDel
(
e
,
t
)}).
catch
(
function
(){})},
postDel
:
function
(
e
,
t
){
var
a
=
this
,
s
=
{
taskId
:
t
.
taskId
,
enterpriseId
:
a
.
activeBrand
};
Object
(
r
.
a
)(
"/haoban-app-tel-task-three-web/task/del-one"
,
s
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
d
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
getTableList
();
c
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
handlePreview
:
function
(
e
,
t
){
this
.
postPreview
(
e
,
t
)},
postPreview
:
function
(
e
,
t
){
var
a
=
""
+
t
.
taskId
;
this
.
$refs
.
qrcodePreview
.
qrcode
(
a
,
"task"
),
this
.
dialogVisible
=!
0
},
getTableList
:
function
(
e
){
var
t
=
this
,
a
=
{
ecmId
:
t
.
$route
.
query
.
ecmId
||
""
,
taskType
:
t
.
conditionObj
.
taskType
,
storeId
:
t
.
conditionObj
.
storeId
||
""
,
isOverTime
:
t
.
conditionObj
.
overdue
||
""
,
isCompleted
:
t
.
conditionObj
.
completed
||
""
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
,
enterpriseId
:
t
.
activeBrand
};
Object
(
r
.
a
)(
"/haoban-app-tel-task-three-web/task/clerk-task-list"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
.
list
&&
a
.
result
.
list
.
forEach
(
function
(
e
){
e
.
taskUrl
&&!
e
.
taskUrl
.
length
||
(
e
.
taskUrl
=
[])}),
t
.
tableData
=
a
.
result
.
list
||
[],
void
(
t
.
total
=
a
.
result
.
pageInfo
.
total
);
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
(
this
.
activeBrand
=
e
,
this
.
getTableList
())}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"11"
),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
,
this
.
activeBrand
=
this
.
brandId
,
this
.
conditionObj
.
storeId
=
this
.
$route
.
query
.
storeId
,
this
.
brandId
&&
this
.
getTableList
()},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
multipleDel
:
o
.
a
,
qrcodeDialog
:
n
.
a
,
detailPreview
:
l
.
a
}},
m
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"my-customer-wrap common-set-wrap"
},[
a
(
"div"
,{
staticClass
:
"daily-set-content boder-box"
},[
a
(
"div"
,{
staticClass
:
"table-condition flex flex-space-between m-b-23"
},[
a
(
"div"
,{
staticClass
:
"table-condition-left"
},[
a
(
"el-select"
,{
staticClass
:
"w-135"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
changeSelect
},
model
:{
value
:
e
.
conditionObj
.
completed
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"completed"
,
t
)},
expression
:
"conditionObj.completed"
}},
e
.
_l
(
e
.
completedOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})),
a
(
"el-select"
,{
staticClass
:
"w-135 m-l-10"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
changeSelect
},
model
:{
value
:
e
.
conditionObj
.
overdue
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"overdue"
,
t
)},
expression
:
"conditionObj.overdue"
}},
e
.
_l
(
e
.
overOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})),
e
.
$route
.
query
.
ecmId
?
e
.
_e
():
a
(
"el-select"
,{
staticClass
:
"w-105 m-l-10"
,
attrs
:{
placeholder
:
"请选择"
},
on
:{
change
:
e
.
changeSelect
},
model
:{
value
:
e
.
conditionObj
.
taskType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
conditionObj
,
"taskType"
,
t
)},
expression
:
"conditionObj.taskType"
}},
e
.
_l
(
e
.
typeOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})}))],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"table-condition-right"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"danger"
},
on
:{
click
:
e
.
multDel
}},[
e
.
_v
(
"批量删除"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
e
.
tableH
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"35"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
width
:
"25"
},
scopedSlots
:
e
.
_u
([{
key
:
"header"
,
fn
:
function
(
t
){
return
[
a
(
"el-dropdown"
,{
staticStyle
:{
"line-height"
:
"10px"
,
padding
:
"0"
,
"margin-left"
:
"-15px"
,
transform
:
"translateY(4px)"
,
"-webkit-transform"
:
"translateY(4px)"
},
attrs
:{
placement
:
"bottom-start"
},
on
:{
command
:
e
.
handleCommand
}},[
a
(
"span"
,{
staticClass
:
"el-dropdown-link"
},[
a
(
"i"
,{
staticClass
:
"iconfont icongengduo"
})]),
e
.
_v
(
" "
),
a
(
"el-dropdown-menu"
,{
attrs
:{
slot
:
"dropdown"
},
slot
:
"dropdown"
},[
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"0"
}},[
a
(
"span"
,{
style
:{
color
:
0
==
e
.
selectRadio
?
"#2f54eb"
:
"#606266"
}},[
e
.
_v
(
"选择当页"
)])]),
e
.
_v
(
" "
),
a
(
"el-dropdown-item"
,{
attrs
:{
command
:
"1"
}},[
a
(
"span"
,{
style
:{
color
:
1
==
e
.
selectRadio
?
"#2f54eb"
:
"#606266"
}},[
e
.
_v
(
"选择全部"
)])])],
1
)],
1
)]}},{
key
:
"default"
,
fn
:
function
(
e
){}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"指派对象"
,
"show-overflow-tooltip"
:
""
,
width
:
"170"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"flex flex-pack-center flex-start"
},[
a
(
"el-popover"
,{
attrs
:{
placement
:
"top-start"
,
width
:
"300"
,
trigger
:
"hover"
},
on
:{
show
:
function
(
a
){
e
.
showSingleInfo
(
t
.
row
.
clerkId
)}}},[
a
(
"div"
,{
staticClass
:
"apply-info-detail"
},[
a
(
"div"
,{
staticClass
:
"flex"
},[
a
(
"div"
,{
staticClass
:
"apply-info-img flex-align-center flex-pack-center bg-82C5FF "
},[
e
.
userData
.
headImg
?
a
(
"img"
,{
attrs
:{
src
:
e
.
userData
.
headImg
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"flex flex-column apply-info-right flex-space-between"
},[
a
(
"div"
,{
staticClass
:
"apply-info-name"
},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
e
.
userData
.
staffName
||
"--"
)
+
" ( "
+
e
.
_s
(
e
.
userData
.
position
||
"--"
)
+
")
\
n "
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-phone"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
e
.
_v
(
"手机号:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
e
.
_v
(
e
.
_s
(
"86"
==
e
.
userData
.
nationCode
?
e
.
userData
.
phoneNumber
:
"+"
+
e
.
userData
.
nationCode
+
"-"
+
e
.
userData
.
phoneNumber
))])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"apply-info-store"
},[
a
(
"span"
,{
staticClass
:
"w-80"
},[
e
.
_v
(
"所属部门:"
)]),
a
(
"span"
,{
staticClass
:
"w-130"
},[
e
.
_v
(
e
.
_s
(
e
.
userData
.
departmentName
||
"--"
))])])])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
},[
a
(
"div"
,{
staticClass
:
"flex flex-align-center flex-pack-center bg-82C5FF table-head-pic cursor-pointer"
},[
t
.
row
.
headImgUrl
?
a
(
"img"
,{
attrs
:{
src
:
t
.
row
.
headImgUrl
,
alt
:
"img"
}}):
a
(
"i"
,{
staticClass
:
"iconfont icon-yewuduanmorentouxian"
})])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"clerk-info flex flex-column flex-space-between m-l-16"
,
staticStyle
:{
overflow
:
"hidden"
,
"text-overflow"
:
"ellipsis"
,
"white-space"
:
"nowrap"
}},[
a
(
"p"
,{
staticClass
:
"font-14 color-303133"
,
staticStyle
:{
"line-height"
:
"18px"
,
overflow
:
"hidden"
,
"text-overflow"
:
"ellipsis"
,
"white-space"
:
"nowrap"
}},[
e
.
_v
(
e
.
_s
(
t
.
row
.
clerkName
))]),
e
.
_v
(
" "
),
a
(
"p"
,{
staticClass
:
"font-14 color-909399"
,
staticStyle
:{
"line-height"
:
"18px"
,
width
:
"100%"
,
overflow
:
"hidden"
,
"text-overflow"
:
"ellipsis"
}},[
e
.
_v
(
e
.
_s
(
t
.
row
.
clerkPhone
))])])],
1
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"任务类型"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
"0"
==
t
.
row
.
taskType
?
"不良评价"
:
"话务任务"
))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"创建时间"
,
width
:
"107"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
createTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
createTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"完成期限"
,
"show-overflow-tooltip"
:
""
,
width
:
"107"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
lastTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
lastTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"逾期情况"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
isOverTime
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"完成情况"
},
scopedSlots
:
e
.
_u
([{
key
:
"header"
,
fn
:
function
(
t
){
return
[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"light"
,
placement
:
"right"
}},[
a
(
"div"
,{
attrs
:{
slot
:
"content"
},
slot
:
"content"
},[
e
.
_v
(
"
\
n 完成情况包含3种"
),
a
(
"br"
),
e
.
_v
(
"
\
n 1.完成拨打任务;"
),
a
(
"br"
),
e
.
_v
(
"
\
n 2.完成任务(无需拨打);"
),
a
(
"br"
),
e
.
_v
(
"
\
n 3.完成任务(放弃拨打);"
),
a
(
"br"
),
e
.
_v
(
"
\
n 4.未完成任务
\
n "
)]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticStyle
:{
cursor
:
"pointer"
,
"padding-bottom"
:
"2px"
,
"border-bottom"
:
"1px dashed #2F54EB"
}},[
e
.
_v
(
"完成情况"
)])])]}},{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
isCompleted
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"完成时间"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeYMD"
)(
t
.
row
.
finishTime
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"formatTimeHMS"
)(
t
.
row
.
finishTime
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"提交人"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,[
e
.
_v
(
e
.
_s
(
t
.
row
.
operationStaffName
||
"--"
))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"备注"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
t
.
row
.
reason
?
a
(
"el-popover"
,{
attrs
:{
placement
:
"top-start"
,
title
:
""
,
width
:
"200"
,
trigger
:
"hover"
,
content
:
t
.
row
.
reason
}},[
a
(
"i"
,{
staticClass
:
"el-icon-chat-dot-square cursor-pointer color-909399"
,
staticStyle
:{
"font-size"
:
"20px"
},
attrs
:{
slot
:
"reference"
},
slot
:
"reference"
})]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"图片"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
e
.
_l
(
t
.
row
.
taskUrls
,
function
(
t
,
s
){
return
a
(
"el-popover"
,{
key
:
s
,
attrs
:{
"popper-class"
:
"notice-img-popover"
,
placement
:
"right"
,
width
:
"400"
,
trigger
:
"hover"
}},[
a
(
"div"
,{
staticClass
:
"img-preview flex"
},[
a
(
"img"
,{
staticStyle
:{
"max-width"
:
"400px"
},
attrs
:{
src
:
t
,
alt
:
""
}})]),
e
.
_v
(
" "
),
a
(
"img"
,{
staticClass
:
"task-imgs"
,
attrs
:{
slot
:
"reference"
,
src
:
t
,
alt
:
""
},
slot
:
"reference"
})])})}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"操作"
,
fixed
:
"right"
,
width
:
"110"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
handleDel
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"删除"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
getPreviewData
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"预览"
)])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"el-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-sizes"
:[
20
,
40
,
60
,
80
],
"page-size"
:
e
.
pageSize
,
layout
:
"total, sizes, prev, pager, next, jumper"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
1
),
e
.
_v
(
" "
),
a
(
"multiple-del"
,{
attrs
:{
showDialog
:
e
.
showDialog
,
detailFlag
:
!
0
},
on
:{
hideDialog
:
e
.
hideDialog
}}),
e
.
_v
(
" "
),
a
(
"qrcode-dialog"
,{
ref
:
"qrcodePreview"
,
model
:{
value
:
e
.
dialogVisible
,
callback
:
function
(
t
){
e
.
dialogVisible
=
t
},
expression
:
"dialogVisible"
}}),
e
.
_v
(
" "
),
a
(
"detail-preview"
,{
ref
:
"detailPreview"
,
attrs
:{
previewData
:
e
.
previewData
},
on
:{
closePreview
:
e
.
closePreview
},
model
:{
value
:
e
.
previewVisible
,
callback
:
function
(
t
){
e
.
previewVisible
=
t
},
expression
:
"previewVisible"
}})],
1
)},
staticRenderFns
:[]};
var
p
=
a
(
"VU/8"
)(
u
,
m
,
!
1
,
function
(
e
){
a
(
"MeNY"
)},
"data-v-3c9ee2e2"
,
null
);
t
.
default
=
p
.
exports
},
n1YH
:
function
(
e
,
t
){},
"swl+"
:
function
(
e
,
t
,
a
){
"use strict"
;
var
s
=
a
(
"mvHQ"
),
i
=
a
.
n
(
s
),
o
=
a
(
"fZjL"
),
n
=
a
.
n
(
o
),
l
=
{
name
:
"detail-preview"
,
props
:{
value
:{
type
:
Boolean
,
default
:
function
(){
return
!
1
}},
previewData
:{
type
:
Object
,
default
:
function
(){
return
{
title
:
""
,
taskDescription
:
""
,
lastTime
:
""
,
taskStatus
:
1
,
executiveClerkId
:
""
,
bindFlag
:
0
,
taskRecordList
:[],
taskType
:
1
,
memberInfo
:{
cardNum
:
""
,
imgUrl
:
""
,
memberName
:
""
,
memberGender
:
""
,
memberAge
:
""
,
birthday
:
""
,
clerkName
:
""
,
costFee
:
""
,
memberGradeName
:
""
,
costTimes
:
""
,
lastCostFee
:
""
,
phoneNumber
:
""
,
openCardTime
:
""
,
memberType
:
"0"
,
birthType
:
""
,
accumulatPoints
:
""
}}}}},
directives
:{
htmlContent
:{
bind
:
function
(
e
,
t
){
e
.
innerHTML
=
t
.
value
},
update
:
function
(
e
,
t
){
e
.
innerHTML
=
t
.
value
}}},
data
:
function
(){
return
{
noticeData
:{
title
:
""
,
taskDescription
:
""
,
lastTime
:
""
,
taskStatus
:
1
,
executiveClerkId
:
""
,
bindFlag
:
0
,
taskRecordList
:[],
taskType
:
1
,
memberInfo
:{
cardNum
:
""
,
imgUrl
:
""
,
memberName
:
""
,
memberGender
:
""
,
memberAge
:
""
,
birthday
:
""
,
clerkName
:
""
,
costFee
:
""
,
memberGradeName
:
""
,
costTimes
:
""
,
lastCostFee
:
""
,
phoneNumber
:
""
,
openCardTime
:
""
,
memberType
:
"0"
,
birthType
:
""
,
accumulatPoints
:
""
}},
time
:
null
}},
methods
:{
timeStampSpaces
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
,
a
=
new
Date
(
Number
(
e
)).
getTime
()
-
t
.
getTime
();
if
(
console
.
log
(
a
),
a
<
0
)
return
""
;
var
s
=
a
%
864
e5
,
i
=
s
%
36
e5
;
return
Math
.
floor
(
a
/
864
e5
)
+
"天"
+
Math
.
floor
(
s
/
36
e5
)
+
"小时"
+
Math
.
floor
(
i
/
6
e4
)
+
"分"
}},
closeDialog
:
function
(){
this
.
$emit
(
"input"
,
!
1
),
this
.
$emit
(
"closePreview"
),
this
.
noticeData
=
{
title
:
""
,
taskDescription
:
""
,
lastTime
:
""
,
taskStatus
:
1
,
executiveClerkId
:
""
,
bindFlag
:
0
,
taskRecordList
:[],
taskType
:
1
,
memberInfo
:{
cardNum
:
""
,
imgUrl
:
""
,
memberName
:
""
,
memberGender
:
""
,
memberAge
:
""
,
birthday
:
""
,
clerkName
:
""
,
costFee
:
""
,
memberGradeName
:
""
,
costTimes
:
""
,
lastCostFee
:
""
,
phoneNumber
:
""
,
openCardTime
:
""
,
memberType
:
"0"
,
birthType
:
""
,
accumulatPoints
:
""
}},
clearInterval
(
this
.
time
)}},
watch
:{
previewData
:
function
(
e
,
t
){
var
a
=
this
;
n
()(
e
).
length
&&
(
a
.
noticeData
=
JSON
.
parse
(
i
()(
e
)),
a
.
time
=
setInterval
(
function
(){
a
.
timeStampSpaces
(
a
.
previewData
.
lastTime
)},
6
e4
))}},
mounted
:
function
(){
var
e
=
this
;
n
()(
e
.
previewData
).
length
&&
(
e
.
noticeData
=
JSON
.
parse
(
i
()(
e
.
previewData
)),
e
.
time
=
setInterval
(
function
(){
e
.
timeStampSpaces
(
e
.
previewData
.
lastTime
)},
6
e4
))},
beforeDestroy
:
function
(){
clearInterval
(
this
.
time
),
this
.
time
=
null
}},
r
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
directives
:[{
name
:
"show"
,
rawName
:
"v-show"
,
value
:
e
.
value
,
expression
:
"value"
}],
staticClass
:
"qr-dialog-content"
,
staticStyle
:{
opacity
:
"1"
}},[
a
(
"div"
,{
staticClass
:
"qr-mask"
,
on
:{
click
:
function
(
t
){
return
t
.
stopPropagation
(),
e
.
closeDialog
(
t
)}}}),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"qr-dialog border-box"
},[
a
(
"div"
,{
staticClass
:
"qr-dialog-body border-box"
},[
a
(
"div"
,{
staticClass
:
"detail-content border-box"
},[
a
(
"div"
,{
staticClass
:
"detail-content-top border-box"
},[
a
(
"div"
,{
staticClass
:
"task-title font-14 color-303133 font-w-500"
},[
e
.
_v
(
e
.
_s
(
e
.
noticeData
.
title
))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task-des font-12 color-303133 font-w-400"
},[
e
.
_v
(
e
.
_s
(
e
.
noticeData
.
taskDescription
))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task-over font-10 color-fd6b6d font-w-400"
},[
1
==
e
.
noticeData
.
taskStatus
?
a
(
"span"
,[
e
.
_v
(
"逾期剩余时长:"
+
e
.
_s
(
e
.
timeStampSpaces
(
e
.
noticeData
.
lastTime
)))]):
e
.
_e
(),
e
.
_v
(
" "
),
2
==
e
.
noticeData
.
taskStatus
?
a
(
"span"
,[
e
.
_v
(
"已完成"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
3
==
e
.
noticeData
.
taskStatus
?
a
(
"span"
,[
e
.
_v
(
"已放弃"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
4
==
e
.
noticeData
.
taskStatus
?
a
(
"span"
,[
e
.
_v
(
"已逾期"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
5
==
e
.
noticeData
.
taskStatus
?
a
(
"span"
,[
e
.
_v
(
"已完成"
)]):
e
.
_e
()]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"task-people"
},
e
.
_l
(
e
.
noticeData
.
taskRecordList
,
function
(
t
,
s
){
return
a
(
"div"
,{
key
:
s
+
"record"
,
staticClass
:
"task-item-cell"
},[
a
(
"div"
,{
staticClass
:
"task-item-content"
},[
a
(
"span"
,{
staticClass
:
"iconfont icondingwei font-10 color-4b69e5"
}),
a
(
"span"
,{
staticClass
:
"font-10 color-606266 opt-content"
},[
e
.
_v
(
e
.
_s
(
t
.
optContent
))])]),
e
.
_v
(
" "
),
a
(
"div"
,{
class
:[
"task-item-date"
,
s
!=
e
.
noticeData
.
taskRecordList
.
length
-
1
?
"item-border"
:
""
]},[
a
(
"span"
,{
staticClass
:
"p-l-14 font-10 color-909399"
},[
e
.
_v
(
e
.
_s
(
t
.
optTime
))])])])}))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"detail-content-bottom border-box m-t-10"
},[
a
(
"div"
,{
staticClass
:
"user-info flex "
},[
a
(
"div"
,{
staticClass
:
"user-photo"
},[
a
(
"img"
,{
attrs
:{
src
:
e
.
noticeData
.
memberInfo
.
imgUrl
,
alt
:
""
}})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"user-name-body"
},[
a
(
"div"
,{
staticClass
:
"user-name"
},[
a
(
"span"
,{
staticClass
:
"font-12 color-30313 font-w-500"
},[
e
.
_v
(
e
.
_s
(
e
.
noticeData
.
memberInfo
.
memberName
))]),
a
(
"span"
,{
class
:[
"p-l-6 font-12 iconfont"
,
0
==
e
.
noticeData
.
memberInfo
.
memberGender
?
""
:
1
==
e
.
noticeData
.
memberInfo
.
memberGender
?
"iconnan color-4b69e5"
:
"color-ff8ea0 iconxingbienv"
]})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"user-age font-10 color-7f818a"
},[
a
(
"span"
,[
e
.
_v
(
e
.
_s
(
e
.
noticeData
.
memberInfo
.
memberAge
)
+
"岁"
)]),
a
(
"span"
,{
staticClass
:
"dot"
}),
a
(
"span"
,[
e
.
_v
(
"生日 "
+
e
.
_s
(
0
==
e
.
noticeData
.
memberInfo
.
birthType
?
"农历"
:
"阳历"
)
+
e
.
_s
(
e
.
noticeData
.
memberInfo
.
birthday
))])])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"user-info-body"
},[
a
(
"ul"
,{
staticClass
:
"flex font-10 flex-wrap"
},[
a
(
"li"
,{
staticClass
:
"flex-1 line-h-16 m-b-10"
},[
a
(
"span"
,{
staticClass
:
"font-10 color-303133"
},[
e
.
_v
(
"会员卡:"
)]),
a
(
"span"
,{
staticClass
:
"font-10 color-7f818a"
},[
e
.
_v
(
e
.
_s
(
e
.
noticeData
.
memberInfo
.
memberGradeName
))])]),
e
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"flex-1 line-h-16 m-b-10"
},[
a
(
"span"
,{
staticClass
:
"font-10 color-303133"
},[
e
.
_v
(
"会员身份:"
)]),
a
(
"span"
,{
staticClass
:
"font-10 color-7f818a"
},[
e
.
_v
(
e
.
_s
(
1
==
e
.
noticeData
.
memberInfo
.
memberType
?
"pos会员"
:
"微信会员"
))])]),
e
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"flex-1 line-h-16 m-b-10"
},[
a
(
"span"
,{
staticClass
:
"font-10 color-303133"
},[
e
.
_v
(
"会员卡号:"
)]),
a
(
"span"
,{
staticClass
:
"font-10 color-7f818a"
},[
e
.
_v
(
e
.
_s
(
e
.
noticeData
.
memberInfo
.
cardNum
))])]),
e
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"flex-1 line-h-16 m-b-10"
},[
a
(
"span"
,{
staticClass
:
"font-10 color-303133"
},[
e
.
_v
(
"积 分:"
)]),
a
(
"span"
,{
staticClass
:
"font-10 color-7f818a"
},[
e
.
_v
(
e
.
_s
(
e
.
noticeData
.
memberInfo
.
accumulatPoints
))])]),
e
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"flex-1 line-h-16 m-b-10"
},[
a
(
"span"
,{
staticClass
:
"font-10 color-303133"
},[
e
.
_v
(
"消费总额:"
)]),
a
(
"span"
,{
staticClass
:
"font-10 color-7f818a"
},[
e
.
_v
(
e
.
_s
(
e
.
noticeData
.
memberInfo
.
costFee
))])]),
e
.
_v
(
" "
),
a
(
"li"
,{
staticClass
:
"flex-1 line-h-16 m-b-10"
},[
a
(
"span"
,{
staticClass
:
"font-10 color-303133"
},[
e
.
_v
(
"消费次数:"
)]),
a
(
"span"
,{
staticClass
:
"font-10 color-7f818a"
},[
e
.
_v
(
e
.
_s
(
e
.
noticeData
.
memberInfo
.
costTimes
))])])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"user-clerk"
},[
a
(
"span"
,{
staticClass
:
"iconfont iconziyuan1 font-10 color-4b69e5"
}),
a
(
"span"
,{
staticClass
:
"font-10 color-4b69e5 clerk-name"
},[
e
.
_v
(
e
.
_s
(
e
.
noticeData
.
memberInfo
.
clerkName
))])])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"qr-dialog__hd"
},[
a
(
"i"
,{
staticClass
:
"el-icon-plus"
,
on
:{
click
:
function
(
t
){
return
t
.
stopPropagation
(),
e
.
closeDialog
(
t
)}}})])])])])},
staticRenderFns
:[]};
var
c
=
a
(
"VU/8"
)(
l
,
r
,
!
1
,
function
(
e
){
a
(
"n1YH"
)},
"data-v-3660ceba"
,
null
);
t
.
a
=
c
.
exports
}});
\ No newline at end of file
dist/static/js/app.
5e12682ce21d5a9744df
.js
→
dist/static/js/app.
1bc75221d84dbc6210e0
.js
View file @
29419b85
webpackJsonp
([
71
],{
"/NA0"
:
function
(
e
,
t
){},
0
:
function
(
e
,
t
,
a
){
a
(
"j1ja"
),
e
.
exports
=
a
(
"NHnr"
)},
"4qCZ"
:
function
(
e
,
t
){},
"5tgt"
:
function
(
e
,
t
,
a
){
e
.
exports
=
function
(
e
,
t
){
return
function
(
n
){
a
(
"Opzk"
)(
"./"
+
e
+
"/"
+
t
+
".vue"
).
then
(
function
(
e
){
n
(
e
)})}}},
NHnr
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"fZjL"
),
o
=
a
.
n
(
n
),
r
=
(
a
(
"j1ja"
),
a
(
"hKoQ"
)),
p
=
a
.
n
(
r
),
i
=
{
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
s
=
a
(
"VU/8"
)({
name
:
"App"
,
data
:
function
(){
return
{}}},
i
,
!
1
,
function
(
e
){
a
(
"/NA0"
)},
null
,
null
).
exports
,
c
=
a
(
"lRwf"
),
u
=
a
.
n
(
c
),
d
=
a
(
"pRNm"
),
m
=
a
.
n
(
d
),
l
=
a
(
"5tgt"
),
v
=
a
.
n
(
l
);
u
.
a
.
use
(
m
.
a
);
var
h
=
function
(
e
){
a
.
e
(
1
).
then
(
a
.
bind
(
null
,
"ODjX"
)).
then
(
function
(
t
){
e
(
t
)})};
window
.
sessionStorage
.
getItem
(
"token"
)
&&
store
.
commit
(
types
.
LOGIN
,
window
.
sessionStorage
.
getItem
(
"token"
));
var
f
,
g
=
[{
path
:
"/"
,
name
:
"/"
,
redirect
:
"login"
},{
path
:
"/login"
,
name
:
"登录"
,
component
:
v
()(
"login"
,
"index"
)},{
path
:
"/index"
,
name
:
"index"
,
component
:
v
()(
"index"
,
"index"
)},{
path
:
"/contacts"
,
name
:
"通讯录"
,
redirect
:
"contactsList"
,
component
:
v
()(
"business"
,
"index"
),
children
:[{
path
:
"/contactsList"
,
name
:
"通讯录"
,
component
:
v
()(
"business"
,
"contacts"
)},{
path
:
"/orgStructSet"
,
name
:
"组织架构管理"
,
component
:
v
()(
"business"
,
"orgStructSet"
)},{
path
:
"/recycle"
,
name
:
"组织架构管理"
,
component
:
v
()(
"business"
,
"recycle"
)},{
path
:
"/syncLog"
,
name
:
"通讯录日志"
,
component
:
v
()(
"business"
,
"syncLog"
)}]},{
path
:
"/enterprise"
,
name
:
"企业设置"
,
redirect
:
"enterpriseSet"
,
component
:
v
()(
"enterprise"
,
"index"
),
children
:[{
path
:
"/enterpriseSet"
,
name
:
"企业信息"
,
component
:
v
()(
"enterprise"
,
"enterpriseSet"
)},{
path
:
"/adminList"
,
name
:
"企业信息"
,
component
:
v
()(
"enterprise"
,
"adminList"
)}]},{
path
:
"/overStore"
,
name
:
"溢出门店"
,
redirect
:
"unreview"
,
component
:
v
()(
"overstore"
,
"index"
),
children
:[{
path
:
"/overStoreList"
,
name
:
"溢出门店"
,
component
:
v
()(
"overstore"
,
"overStoreList"
)}]},{
path
:
"/apps"
,
name
:
"企业应用"
,
redirect
:
"mycustomer"
,
component
:
v
()(
"apps"
,
"index"
),
children
:[{
path
:
"/mycustomer"
,
name
:
"我的顾客的"
,
redirect
:
"/memberShowSet"
,
component
:
v
()(
"apps/customerApp"
,
"index"
),
children
:[{
path
:
"/memberShowSet"
,
name
:
"会员展示设置"
,
component
:
v
()(
"apps/customerApp"
,
"memberShowSet"
)},{
path
:
"/memberGroupSet"
,
name
:
"会员分组设置"
,
component
:
v
()(
"apps/customerApp"
,
"memberGroupSet"
)},{
path
:
"/memberSearchSet"
,
name
:
"会员搜索设置"
,
component
:
v
()(
"apps/customerApp"
,
"memberSearchSet"
)}]},{
path
:
"/cloudDaily"
,
name
:
"云日报"
,
redirect
:
"/dailyRecord"
,
component
:
v
()(
"apps/cloudDaily"
,
"index"
),
children
:[{
path
:
"/dailyRecord"
,
name
:
"云日报记录"
,
component
:
v
()(
"apps/cloudDaily"
,
"dailyRecord"
)},{
path
:
"/dailyExport"
,
name
:
"云日报导出"
,
component
:
v
()(
"apps/cloudDaily"
,
"dailyExport"
)},{
path
:
"/dailyDetail"
,
name
:
"日报详情"
,
component
:
v
()(
"apps/cloudDaily"
,
"dailyDetail"
)},{
path
:
"/taskAssign"
,
name
:
"任务下发设置"
,
component
:
v
()(
"apps/cloudDaily"
,
"taskAssign"
)},{
path
:
"/systemReport"
,
name
:
"系统报表"
,
component
:
v
()(
"apps/cloudDaily"
,
"systemReport"
)},{
path
:
"/customReport"
,
name
:
"自定义报表"
,
component
:
v
()(
"apps/cloudDaily"
,
"customReport"
)},{
path
:
"/customReportSet"
,
name
:
"自定义报表设置"
,
component
:
v
()(
"apps/cloudDaily"
,
"customReportSet"
)}]},{
path
:
"/trafficTask"
,
name
:
"话务任务"
,
redirect
:
"/taskRecord"
,
component
:
v
()(
"apps/trafficTask"
,
"index"
),
children
:[{
path
:
"/taskRecord"
,
name
:
"话务任务记录"
,
component
:
v
()(
"apps/trafficTask"
,
"taskRecord"
)},{
path
:
"/taskView"
,
name
:
"话务任务记录"
,
component
:
v
()(
"apps/trafficTask"
,
"taskView"
)},{
path
:
"/taskDetail"
,
name
:
"话务任务详情"
,
component
:
v
()(
"apps/trafficTask"
,
"taskDetail"
)},{
path
:
"/taskViewDetail"
,
name
:
"话务任务详情"
,
component
:
v
()(
"apps/trafficTask"
,
"taskViewDetail"
)},{
path
:
"/trafficTaskSet"
,
name
:
"话务任务设置"
,
component
:
v
()(
"apps/trafficTask"
,
"trafficTaskSet"
)},{
path
:
"/badEvaluateSet"
,
name
:
"不良评价设置"
,
component
:
v
()(
"apps/badEvaluate"
,
"badEvaluateSet"
)}]},{
path
:
"/quota"
,
name
:
"指标管理"
,
redirect
:
"/monthList"
,
component
:
v
()(
"apps/quota"
,
"index"
),
children
:[{
path
:
"/monthList"
,
name
:
"月指标列表"
,
component
:
v
()(
"apps/quota"
,
"monthList"
)},{
path
:
"/storeMonthTask"
,
name
:
"门店月指标"
,
component
:
v
()(
"apps/quota"
,
"storeMonthTask"
)},{
path
:
"/salerMonthDetail"
,
name
:
"导购月指标详情"
,
component
:
v
()(
"apps/quota"
,
"salerMonthDetail"
)},{
path
:
"/companyDaySet"
,
name
:
"商户日权重"
,
component
:
v
()(
"apps/quota"
,
"companyDaySet"
)},{
path
:
"/monthTask"
,
name
:
"月指标任务"
,
component
:
v
()(
"apps/quota"
,
"monthTask"
),
meta
:{
keepAlive
:
!
0
}},{
path
:
"/monthTaskDetail"
,
name
:
"月指标任务详情"
,
component
:
v
()(
"apps/quota"
,
"monthTaskDetail"
),
meta
:{
keepAlive
:
!
0
}}]},{
path
:
"/cardList"
,
name
:
"卡券赠送"
,
redirect
:
"/cardList"
,
component
:
v
()(
"apps/card"
,
"index"
),
children
:[{
path
:
"/cardList"
,
name
:
"卡券列表"
,
component
:
v
()(
"apps/card"
,
"cardList"
)},{
path
:
"/cardRecord"
,
name
:
"卡券记录"
,
component
:
v
()(
"apps/card"
,
"cardRecord"
)},{
path
:
"/newCard"
,
name
:
"新建卡券"
,
component
:
v
()(
"apps/card"
,
"newCard"
)}]},{
path
:
"/protectCard"
,
name
:
"内购券"
,
redirect
:
"/cardTemplate"
,
component
:
v
()(
"apps/protectCard"
,
"index"
),
children
:[{
path
:
"/cardTemplate"
,
name
:
"卡券模板"
,
component
:
v
()(
"apps/protectCard"
,
"cardTemplate"
)},{
path
:
"/newCardTemp"
,
name
:
"新建模板"
,
component
:
v
()(
"apps/protectCard"
,
"newCardTemp"
)},{
path
:
"/cardStrategy"
,
name
:
"卡券策略"
,
component
:
v
()(
"apps/protectCard"
,
"cardStrategy"
)},{
path
:
"/newCardStrategy"
,
name
:
"新建策略"
,
component
:
v
()(
"apps/protectCard"
,
"newCardStrategy"
)},{
path
:
"/cardPut"
,
name
:
"内购券投放"
,
component
:
v
()(
"apps/protectCard"
,
"cardPut"
)},{
path
:
"/newCardPut"
,
name
:
"新建补发"
,
component
:
v
()(
"apps/protectCard"
,
"newCardPut"
)},{
path
:
"/cardPutRecord"
,
name
:
"投放记录"
,
component
:
v
()(
"apps/protectCard"
,
"cardPutRecord"
)},{
path
:
"/cardGetRecord"
,
name
:
"领取记录"
,
component
:
v
()(
"apps/protectCard"
,
"cardGetRecord"
)}]}]},{
path
:
"/reviewCenter"
,
name
:
"审核中心"
,
redirect
:
"unreview"
,
component
:
v
()(
"reviewCenter"
,
"index"
),
children
:[{
path
:
"/reviewed"
,
name
:
"已审核"
,
component
:
v
()(
"reviewCenter"
,
"reviewed"
)},{
path
:
"/unreview"
,
name
:
"未审核"
,
component
:
v
()(
"reviewCenter"
,
"unreview"
)},{
path
:
"/reviewSet"
,
name
:
"审核设置"
,
component
:
v
()(
"reviewCenter"
,
"reviewSet"
)}]},{
path
:
"/gic-error"
,
name
:
"gic跳转失败页"
,
component
:
v
()(
"errorPage"
,
"gic-error"
)},{
path
:
"/403"
,
name
:
"无权访问"
,
component
:
h
},{
path
:
"/404"
,
name
:
"error404"
,
component
:
h
},{
path
:
"/500"
,
name
:
"error500"
,
component
:
h
},{
path
:
"*"
,
redirect
:
"/404"
,
hidden
:
!
0
}],
D
=
new
m
.
a
({
routes
:
g
,
scrollBehavior
:
function
(){
return
{
y
:
0
}}}),
S
=
a
(
"zL8q"
),
w
=
a
.
n
(
S
),
y
=
a
(
"Rf8U"
),
x
=
a
.
n
(
y
),
k
=
a
(
"mtWM"
),
T
=
a
.
n
(
k
),
C
=
a
(
"bOdI"
),
b
=
a
.
n
(
C
),
R
=
a
(
"SJI6"
),
A
=
a
.
n
(
R
);
u
.
a
.
use
(
A
.
a
);
var
E
=
new
A
.
a
.
Store
({
state
:{
user
:{},
token
:
null
,
title
:
""
,
show
:
!
1
,
bgHeight
:
window
.
screen
.
availHeight
-
440
-
24
+
"px"
,
addDepartment
:[],
editDepartment
:[],
delDepartment
:[]},
mutations
:(
f
=
{},
b
()(
f
,
"login"
,
function
(
e
,
t
){
sessionStorage
.
token
=
t
,
e
.
token
=
t
}),
b
()(
f
,
"logout"
,
function
(
e
){
sessionStorage
.
removeItem
(
"token"
),
e
.
token
=
null
}),
b
()(
f
,
"title"
,
function
(
e
,
t
){
e
.
title
=
t
}),
b
()(
f
,
"show"
,
function
(
e
,
t
){
e
.
show
=
t
}),
b
()(
f
,
"saveAdd"
,
function
(
e
,
t
){
e
.
addDepartment
.
push
(
t
)}),
b
()(
f
,
"saveEdit"
,
function
(
e
,
t
){
e
.
editDepartment
.
push
(
t
)}),
b
()(
f
,
"saveDel"
,
function
(
e
,
t
){
e
.
delDepartment
.
push
(
t
)}),
b
()(
f
,
"clearAdd"
,
function
(
e
){
e
.
addDepartment
=
[]}),
b
()(
f
,
"clearEdit"
,
function
(
e
){
e
.
editDepartment
=
[]}),
b
()(
f
,
"clearData"
,
function
(
e
){
e
.
addDepartment
=
[],
e
.
editDepartment
=
[],
e
.
delDepartment
=
[]}),
f
),
actions
:{
saveAddInfo
:
function
(
e
,
t
){
e
.
commit
(
"saveAdd"
,
t
)},
saveEditInfo
:
function
(
e
,
t
){
e
.
commit
(
"saveEdit"
,
t
)},
saveDelInfo
:
function
(
e
,
t
){
e
.
commit
(
"saveDel"
,
t
)},
clearAddData
:
function
(
e
,
t
){
e
.
commit
(
"clearAdd"
)},
clearEditData
:
function
(
e
,
t
){
e
.
commit
(
"clearEdit"
)},
clearTreeData
:
function
(
e
,
t
){
e
.
commit
(
"clearData"
)}}}),
M
=
(
a
(
"4qCZ"
),
a
(
"tvR6"
),
a
(
"uKUT"
),
a
(
"Xcu2"
),
a
(
"xtVA"
),{
dateFormat
:
function
(
e
,
t
){
if
(
e
){
e
=
10
===
e
.
toString
().
length
?
1
e3
*
e
:
e
;
var
a
=
new
Date
(
e
),
n
=
{
"M+"
:
a
.
getMonth
()
+
1
,
"D+"
:
a
.
getDate
(),
W
:
"日一二三四五六"
.
charAt
(
a
.
getDay
()),
"h+"
:
a
.
getHours
(),
"m+"
:
a
.
getMinutes
(),
"s+"
:
a
.
getSeconds
(),
"q+"
:
Math
.
floor
((
a
.
getMonth
()
+
3
)
/
3
),
S
:
a
.
getMilliseconds
()};
for
(
var
o
in
/
(
Y+
)
/
.
test
(
t
)
&&
(
t
=
t
.
replace
(
RegExp
.
$1
,(
a
.
getFullYear
()
+
""
).
substr
(
4
-
RegExp
.
$1
.
length
))),
n
)
new
RegExp
(
"("
+
o
+
")"
).
test
(
t
)
&&
(
t
=
t
.
replace
(
RegExp
.
$1
,
1
===
RegExp
.
$1
.
length
?
n
[
o
]:(
"00"
+
n
[
o
]).
substr
((
""
+
n
[
o
]).
length
)));
return
t
}},
formatTimeStamp
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
a
=
t
.
getMonth
()
+
1
,
n
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
o
=
a
<
10
?
"0"
+
a
:
a
,
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
+
"-"
+
n
+
" "
+
r
+
":"
+
p
+
":"
+
i
}},
timeStampToYm
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
a
=
t
.
getMonth
()
+
1
,
n
=
a
<
10
?
"0"
+
a
:
a
;
return
t
.
getFullYear
()
+
"-"
+
n
}},
timeStampToYmd
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
a
=
t
.
getMonth
()
+
1
,
n
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
o
=
a
<
10
?
"0"
+
a
:
a
;
return
t
.
getFullYear
()
+
"-"
+
o
+
"-"
+
n
}},
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
),
a
=
t
.
getMonth
()
+
1
,
n
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
o
=
a
<
10
?
"0"
+
a
:
a
,
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
+
"."
+
n
+
" "
+
r
+
":"
+
p
+
":"
+
i
}},
formatPhoneNum
:
function
(
e
){
return
e
?(
e
=
e
.
toString
()).
substr
(
0
,
3
)
+
"****"
+
e
.
substr
(
7
,
11
):
""
},
formatName
:
function
(
e
){
return
e
?
"**"
+
(
e
=
e
.
toString
()).
substr
(
e
.
length
-
1
,
e
.
length
):
""
},
timeStampSpace
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
,
a
=
new
Date
(
Number
(
e
)).
getTime
()
-
t
.
getTime
();
if
(
console
.
log
(
a
),
a
<
0
)
return
""
;
var
n
=
Math
.
floor
(
a
/
864
e5
);
console
.
log
(
a
,
n
);
var
o
=
a
%
864
e5
,
r
=
o
%
36
e5
;
return
n
+
"天"
+
Math
.
floor
(
o
/
36
e5
)
+
"小时"
+
Math
.
floor
(
r
/
6
e4
)
+
"分"
}}}),
P
=
a
(
"TUaa"
),
L
=
a
.
n
(
P
),
V
=
a
(
"tyqE"
),
q
=
a
.
n
(
V
),
H
=
a
(
"pRVe"
),
I
=
a
.
n
(
H
),
Y
=
a
(
"XsK6"
),
j
=
a
.
n
(
Y
),
G
=
a
(
"QRL9"
),
N
=
a
.
n
(
G
),
O
=
a
(
"2Pnh"
),
F
=
a
.
n
(
O
),
J
=
a
(
"l9mu"
),
U
=
a
.
n
(
J
),
X
=
{
install
:
function
(
e
,
t
){
e
.
prototype
.
getPdf
=
function
(){
var
e
=
this
.
htmlTitle
;
F
()(
document
.
querySelector
(
"#pdfDom"
),{
allowTaint
:
!
0
,
foreignObjectRendering
:
!
0
}).
then
(
function
(
t
){
var
a
=
t
.
width
,
n
=
t
.
height
,
o
=
a
/
592.28
*
841.89
,
r
=
n
,
p
=
0
,
i
=
592.28
/
a
*
n
,
s
=
t
.
toDataURL
(
"image/jpeg"
,
1
),
c
=
new
U
.
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"
)})}}},
z
=
a
(
"/IwO"
),
K
=
a
.
n
(
z
);
p
.
a
.
polyfill
(),
Vue
.
use
(
K
.
a
),
K
.
a
.
initAMapApiLoader
({
key
:
"d53a58848be368a7398dc56d5670fe9c"
,
plugin
:[
"Autocomplete"
,
"PlaceSearch"
,
"Scale"
,
"OverView"
,
"Geocoder"
,
"ToolBar"
,
"MapType"
,
"PolyEditor"
,
"AMap.CircleEditor"
],
v
:
"1.4.4"
}),
Vue
.
use
(
X
),
Vue
.
use
(
j
.
a
),
Vue
.
use
(
N
.
a
),
Vue
.
use
(
I
.
a
),
Vue
.
use
(
q
.
a
),
Vue
.
use
(
L
.
a
),
Vue
.
config
.
productionTip
=!
1
,
Vue
.
use
(
w
.
a
,{
size
:
"large"
}),
Vue
.
use
(
x
.
a
,
T
.
a
),
Vue
.
axios
.
defaults
.
withCredentials
=!
0
,
o
()(
M
).
forEach
(
function
(
e
){
Vue
.
filter
(
e
,
M
[
e
])}),
D
.
beforeEach
(
function
(
e
,
t
,
a
){
window
.
axiosPromiseArr
&&
axiosPromiseArr
.
forEach
(
function
(
e
,
t
){
e
.
cancel
(),
delete
axiosPromiseArr
[
t
]});
var
n
=
window
.
location
.
origin
;
n
.
indexOf
(
"localhost"
),
localStorage
.
getItem
(
"userInfos"
),
"/"
==
e
.
path
?
a
({
path
:
"/login"
}):
a
()}),
new
Vue
({
el
:
"#app"
,
router
:
D
,
store
:
E
,
components
:{
App
:
s
},
template
:
"<App/>"
})},
Opzk
:
function
(
e
,
t
,
a
){
var
n
=
{
"./apps/badEvaluate/badEvaluateDetail.vue"
:[
"Yz8m"
,
0
,
37
],
"./apps/badEvaluate/badEvaluateRecord.vue"
:[
"DCIc"
,
0
,
59
],
"./apps/badEvaluate/badEvaluateSet.vue"
:[
"moBL"
,
0
,
46
],
"./apps/badEvaluate/index.vue"
:[
"AG22"
,
0
,
22
],
"./apps/card/cardList.vue"
:[
"X5LE"
,
0
,
44
],
"./apps/card/cardRecord.vue"
:[
"xDJN"
,
0
,
13
],
"./apps/card/index.vue"
:[
"nV1L"
,
0
,
33
],
"./apps/card/newCard.vue"
:[
"7/Zw"
,
0
,
12
],
"./apps/cloudDaily/customReport.vue"
:[
"ak3k"
,
0
,
30
],
"./apps/cloudDaily/customReportSet.vue"
:[
"LTPC"
,
0
,
4
],
"./apps/cloudDaily/dailyDetail.vue"
:[
"JwJ7"
,
0
,
10
],
"./apps/cloudDaily/dailyExport.vue"
:[
"H3Dc"
,
0
,
16
],
"./apps/cloudDaily/dailyRecord.vue"
:[
"IuWw"
,
0
,
51
],
"./apps/cloudDaily/index.vue"
:[
"4QyY"
,
0
,
35
],
"./apps/cloudDaily/systemReport.vue"
:[
"J/6z"
,
0
,
5
],
"./apps/cloudDaily/taskAssign.vue"
:[
"Hb/M"
,
0
,
25
],
"./apps/cloudDaily/template/block.vue"
:[
"O3gZ"
,
43
],
"./apps/cloudDaily/template/date-range.vue"
:[
"2WGr"
,
45
],
"./apps/cloudDaily/template/image.vue"
:[
"8dpP"
,
58
],
"./apps/cloudDaily/template/input.vue"
:[
"zHtI"
,
66
],
"./apps/cloudDaily/template/select.vue"
:[
"rYZf"
,
52
],
"./apps/customerApp/index.vue"
:[
"QHTa"
,
0
,
39
],
"./apps/customerApp/memberGroupSet.vue"
:[
"JuNN"
,
0
,
24
],
"./apps/customerApp/memberSearchSet.vue"
:[
"Z3Aa"
,
0
,
42
],
"./apps/customerApp/memberShowSet.vue"
:[
"odfG"
,
0
,
55
],
"./apps/index.vue"
:[
"K1Vb"
,
0
,
47
],
"./apps/protectCard/cardGetRecord.vue"
:[
"5GE8"
,
0
,
41
],
"./apps/protectCard/cardPut.vue"
:[
"cD4x"
,
0
,
48
],
"./apps/protectCard/cardPutRecord.vue"
:[
"dhLd"
,
0
,
19
],
"./apps/protectCard/cardStrategy.vue"
:[
"rUvh"
,
0
,
31
],
"./apps/protectCard/cardTemplate.vue"
:[
"c7iB"
,
0
,
40
],
"./apps/protectCard/index.vue"
:[
"aWmL"
,
0
,
28
],
"./apps/protectCard/newCardPut.vue"
:[
"9db3"
,
0
,
8
],
"./apps/protectCard/newCardStrategy.vue"
:[
"8Rwt"
,
0
,
7
],
"./apps/protectCard/newCardTemp.vue"
:[
"tF0P"
,
0
,
56
],
"./apps/quota/companyDaySet.vue"
:[
"NiGE"
,
0
,
64
],
"./apps/quota/index.vue"
:[
"qSX4"
,
0
,
29
],
"./apps/quota/monthList.vue"
:[
"fAFA"
,
0
,
54
],
"./apps/quota/monthTask.vue"
:[
"NpHY"
,
0
,
32
],
"./apps/quota/monthTaskDetail.vue"
:[
"YKf6"
,
0
,
36
],
"./apps/quota/salerMonthDetail.vue"
:[
"+qr5"
,
0
,
67
],
"./apps/quota/storeMonthTask.vue"
:[
"qWC+"
,
0
,
63
],
"./apps/trafficTask/index.vue"
:[
"FmZU"
,
0
,
62
],
"./apps/trafficTask/taskDetail.vue"
:[
"XrDD"
,
0
,
11
],
"./apps/trafficTask/taskRecord.vue"
:[
"m+x7"
,
0
,
57
],
"./apps/trafficTask/taskView.vue"
:[
"w2fd"
,
0
,
20
],
"./apps/trafficTask/taskViewDetail.vue"
:[
"SBUJ"
,
0
,
38
],
"./apps/trafficTask/trafficTaskSet.vue"
:[
"OUXi"
,
0
,
69
],
"./business/contacts.vue"
:[
"/W60"
,
0
,
2
],
"./business/index.vue"
:[
"jPcV"
,
0
,
65
],
"./business/orgStructSet.vue"
:[
"OI5V"
,
0
,
3
],
"./business/recycle.vue"
:[
"K8Yn"
,
0
,
60
],
"./business/syncLog.vue"
:[
"20P3"
,
0
,
23
],
"./enterprise/adminList.vue"
:[
"zYBJ"
,
0
,
26
],
"./enterprise/enterpriseSet.vue"
:[
"x5Fx"
,
0
,
49
],
"./enterprise/index.vue"
:[
"m9dW"
,
0
,
27
],
"./errorPage/403.vue"
:[
"6XGN"
,
18
],
"./errorPage/404.vue"
:[
"AejC"
,
21
],
"./errorPage/500.vue"
:[
"FskK"
,
15
],
"./errorPage/gic-error.vue"
:[
"Q3j/"
,
17
],
"./errorPage/index.vue"
:[
"ODjX"
,
1
],
"./index/index.vue"
:[
"JXTs"
,
0
,
68
],
"./login/index.vue"
:[
"T+/8"
,
0
,
14
],
"./overstore/index.vue"
:[
"Y55K"
,
0
,
53
],
"./overstore/overStoreList.vue"
:[
"vuAV"
,
0
,
34
],
"./reviewCenter/index.vue"
:[
"+lem"
,
0
,
61
],
"./reviewCenter/reviewSet.vue"
:[
"6j9f"
,
0
,
50
],
"./reviewCenter/reviewed.vue"
:[
"CLYF"
,
0
,
9
],
"./reviewCenter/unreview.vue"
:[
"xCEU"
,
0
,
6
]};
function
o
(
e
){
var
t
=
n
[
e
];
return
t
?
Promise
.
all
(
t
.
slice
(
1
).
map
(
a
.
e
)).
then
(
function
(){
return
a
(
t
[
0
])}):
Promise
.
reject
(
new
Error
(
"Cannot find module '"
+
e
+
"'."
))}
o
.
keys
=
function
(){
return
Object
.
keys
(
n
)},
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
},
tvR6
:
function
(
e
,
t
){},
uKUT
:
function
(
e
,
t
){},
xtVA
:
function
(
e
,
t
){}},[
0
]);
\ No newline at end of file
webpackJsonp
([
71
],{
"/NA0"
:
function
(
e
,
t
){},
0
:
function
(
e
,
t
,
a
){
a
(
"j1ja"
),
e
.
exports
=
a
(
"NHnr"
)},
"4qCZ"
:
function
(
e
,
t
){},
"5tgt"
:
function
(
e
,
t
,
a
){
e
.
exports
=
function
(
e
,
t
){
return
function
(
n
){
a
(
"Opzk"
)(
"./"
+
e
+
"/"
+
t
+
".vue"
).
then
(
function
(
e
){
n
(
e
)})}}},
NHnr
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
n
=
a
(
"fZjL"
),
o
=
a
.
n
(
n
),
r
=
(
a
(
"j1ja"
),
a
(
"hKoQ"
)),
p
=
a
.
n
(
r
),
i
=
{
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
s
=
a
(
"VU/8"
)({
name
:
"App"
,
data
:
function
(){
return
{}}},
i
,
!
1
,
function
(
e
){
a
(
"/NA0"
)},
null
,
null
).
exports
,
c
=
a
(
"lRwf"
),
u
=
a
.
n
(
c
),
d
=
a
(
"pRNm"
),
m
=
a
.
n
(
d
),
l
=
a
(
"5tgt"
),
v
=
a
.
n
(
l
);
u
.
a
.
use
(
m
.
a
);
var
h
=
function
(
e
){
a
.
e
(
1
).
then
(
a
.
bind
(
null
,
"ODjX"
)).
then
(
function
(
t
){
e
(
t
)})};
window
.
sessionStorage
.
getItem
(
"token"
)
&&
store
.
commit
(
types
.
LOGIN
,
window
.
sessionStorage
.
getItem
(
"token"
));
var
f
,
g
=
[{
path
:
"/"
,
name
:
"/"
,
redirect
:
"login"
},{
path
:
"/login"
,
name
:
"登录"
,
component
:
v
()(
"login"
,
"index"
)},{
path
:
"/index"
,
name
:
"index"
,
component
:
v
()(
"index"
,
"index"
)},{
path
:
"/contacts"
,
name
:
"通讯录"
,
redirect
:
"contactsList"
,
component
:
v
()(
"business"
,
"index"
),
children
:[{
path
:
"/contactsList"
,
name
:
"通讯录"
,
component
:
v
()(
"business"
,
"contacts"
)},{
path
:
"/orgStructSet"
,
name
:
"组织架构管理"
,
component
:
v
()(
"business"
,
"orgStructSet"
)},{
path
:
"/recycle"
,
name
:
"组织架构管理"
,
component
:
v
()(
"business"
,
"recycle"
)},{
path
:
"/syncLog"
,
name
:
"通讯录日志"
,
component
:
v
()(
"business"
,
"syncLog"
)}]},{
path
:
"/enterprise"
,
name
:
"企业设置"
,
redirect
:
"enterpriseSet"
,
component
:
v
()(
"enterprise"
,
"index"
),
children
:[{
path
:
"/enterpriseSet"
,
name
:
"企业信息"
,
component
:
v
()(
"enterprise"
,
"enterpriseSet"
)},{
path
:
"/adminList"
,
name
:
"企业信息"
,
component
:
v
()(
"enterprise"
,
"adminList"
)}]},{
path
:
"/overStore"
,
name
:
"溢出门店"
,
redirect
:
"unreview"
,
component
:
v
()(
"overstore"
,
"index"
),
children
:[{
path
:
"/overStoreList"
,
name
:
"溢出门店"
,
component
:
v
()(
"overstore"
,
"overStoreList"
)}]},{
path
:
"/apps"
,
name
:
"企业应用"
,
redirect
:
"mycustomer"
,
component
:
v
()(
"apps"
,
"index"
),
children
:[{
path
:
"/mycustomer"
,
name
:
"我的顾客的"
,
redirect
:
"/memberShowSet"
,
component
:
v
()(
"apps/customerApp"
,
"index"
),
children
:[{
path
:
"/memberShowSet"
,
name
:
"会员展示设置"
,
component
:
v
()(
"apps/customerApp"
,
"memberShowSet"
)},{
path
:
"/memberGroupSet"
,
name
:
"会员分组设置"
,
component
:
v
()(
"apps/customerApp"
,
"memberGroupSet"
)},{
path
:
"/memberSearchSet"
,
name
:
"会员搜索设置"
,
component
:
v
()(
"apps/customerApp"
,
"memberSearchSet"
)}]},{
path
:
"/cloudDaily"
,
name
:
"云日报"
,
redirect
:
"/dailyRecord"
,
component
:
v
()(
"apps/cloudDaily"
,
"index"
),
children
:[{
path
:
"/dailyRecord"
,
name
:
"云日报记录"
,
component
:
v
()(
"apps/cloudDaily"
,
"dailyRecord"
)},{
path
:
"/dailyExport"
,
name
:
"云日报导出"
,
component
:
v
()(
"apps/cloudDaily"
,
"dailyExport"
)},{
path
:
"/dailyDetail"
,
name
:
"日报详情"
,
component
:
v
()(
"apps/cloudDaily"
,
"dailyDetail"
)},{
path
:
"/taskAssign"
,
name
:
"任务下发设置"
,
component
:
v
()(
"apps/cloudDaily"
,
"taskAssign"
)},{
path
:
"/systemReport"
,
name
:
"系统报表"
,
component
:
v
()(
"apps/cloudDaily"
,
"systemReport"
)},{
path
:
"/customReport"
,
name
:
"自定义报表"
,
component
:
v
()(
"apps/cloudDaily"
,
"customReport"
)},{
path
:
"/customReportSet"
,
name
:
"自定义报表设置"
,
component
:
v
()(
"apps/cloudDaily"
,
"customReportSet"
)}]},{
path
:
"/trafficTask"
,
name
:
"话务任务"
,
redirect
:
"/taskRecord"
,
component
:
v
()(
"apps/trafficTask"
,
"index"
),
children
:[{
path
:
"/taskRecord"
,
name
:
"话务任务记录"
,
component
:
v
()(
"apps/trafficTask"
,
"taskRecord"
)},{
path
:
"/taskView"
,
name
:
"话务任务记录"
,
component
:
v
()(
"apps/trafficTask"
,
"taskView"
)},{
path
:
"/taskDetail"
,
name
:
"话务任务详情"
,
component
:
v
()(
"apps/trafficTask"
,
"taskDetail"
)},{
path
:
"/taskViewDetail"
,
name
:
"话务任务详情"
,
component
:
v
()(
"apps/trafficTask"
,
"taskViewDetail"
)},{
path
:
"/trafficTaskSet"
,
name
:
"话务任务设置"
,
component
:
v
()(
"apps/trafficTask"
,
"trafficTaskSet"
)},{
path
:
"/badEvaluateSet"
,
name
:
"不良评价设置"
,
component
:
v
()(
"apps/badEvaluate"
,
"badEvaluateSet"
)}]},{
path
:
"/quota"
,
name
:
"指标管理"
,
redirect
:
"/monthList"
,
component
:
v
()(
"apps/quota"
,
"index"
),
children
:[{
path
:
"/monthList"
,
name
:
"月指标列表"
,
component
:
v
()(
"apps/quota"
,
"monthList"
)},{
path
:
"/storeMonthTask"
,
name
:
"门店月指标"
,
component
:
v
()(
"apps/quota"
,
"storeMonthTask"
)},{
path
:
"/salerMonthDetail"
,
name
:
"导购月指标详情"
,
component
:
v
()(
"apps/quota"
,
"salerMonthDetail"
)},{
path
:
"/companyDaySet"
,
name
:
"商户日权重"
,
component
:
v
()(
"apps/quota"
,
"companyDaySet"
)},{
path
:
"/monthTask"
,
name
:
"月指标任务"
,
component
:
v
()(
"apps/quota"
,
"monthTask"
),
meta
:{
keepAlive
:
!
0
}},{
path
:
"/monthTaskDetail"
,
name
:
"月指标任务详情"
,
component
:
v
()(
"apps/quota"
,
"monthTaskDetail"
),
meta
:{
keepAlive
:
!
0
}}]},{
path
:
"/cardList"
,
name
:
"卡券赠送"
,
redirect
:
"/cardList"
,
component
:
v
()(
"apps/card"
,
"index"
),
children
:[{
path
:
"/cardList"
,
name
:
"卡券列表"
,
component
:
v
()(
"apps/card"
,
"cardList"
)},{
path
:
"/cardRecord"
,
name
:
"卡券记录"
,
component
:
v
()(
"apps/card"
,
"cardRecord"
)},{
path
:
"/newCard"
,
name
:
"新建卡券"
,
component
:
v
()(
"apps/card"
,
"newCard"
)}]},{
path
:
"/protectCard"
,
name
:
"内购券"
,
redirect
:
"/cardTemplate"
,
component
:
v
()(
"apps/protectCard"
,
"index"
),
children
:[{
path
:
"/cardTemplate"
,
name
:
"卡券模板"
,
component
:
v
()(
"apps/protectCard"
,
"cardTemplate"
)},{
path
:
"/newCardTemp"
,
name
:
"新建模板"
,
component
:
v
()(
"apps/protectCard"
,
"newCardTemp"
)},{
path
:
"/cardStrategy"
,
name
:
"卡券策略"
,
component
:
v
()(
"apps/protectCard"
,
"cardStrategy"
)},{
path
:
"/newCardStrategy"
,
name
:
"新建策略"
,
component
:
v
()(
"apps/protectCard"
,
"newCardStrategy"
)},{
path
:
"/cardPut"
,
name
:
"内购券投放"
,
component
:
v
()(
"apps/protectCard"
,
"cardPut"
)},{
path
:
"/newCardPut"
,
name
:
"新建补发"
,
component
:
v
()(
"apps/protectCard"
,
"newCardPut"
)},{
path
:
"/cardPutRecord"
,
name
:
"投放记录"
,
component
:
v
()(
"apps/protectCard"
,
"cardPutRecord"
)},{
path
:
"/cardGetRecord"
,
name
:
"领取记录"
,
component
:
v
()(
"apps/protectCard"
,
"cardGetRecord"
)}]}]},{
path
:
"/reviewCenter"
,
name
:
"审核中心"
,
redirect
:
"unreview"
,
component
:
v
()(
"reviewCenter"
,
"index"
),
children
:[{
path
:
"/reviewed"
,
name
:
"已审核"
,
component
:
v
()(
"reviewCenter"
,
"reviewed"
)},{
path
:
"/unreview"
,
name
:
"未审核"
,
component
:
v
()(
"reviewCenter"
,
"unreview"
)},{
path
:
"/reviewSet"
,
name
:
"审核设置"
,
component
:
v
()(
"reviewCenter"
,
"reviewSet"
)}]},{
path
:
"/gic-error"
,
name
:
"gic跳转失败页"
,
component
:
v
()(
"errorPage"
,
"gic-error"
)},{
path
:
"/403"
,
name
:
"无权访问"
,
component
:
h
},{
path
:
"/404"
,
name
:
"error404"
,
component
:
h
},{
path
:
"/500"
,
name
:
"error500"
,
component
:
h
},{
path
:
"*"
,
redirect
:
"/404"
,
hidden
:
!
0
}],
D
=
new
m
.
a
({
routes
:
g
,
scrollBehavior
:
function
(){
return
{
y
:
0
}}}),
S
=
a
(
"zL8q"
),
w
=
a
.
n
(
S
),
y
=
a
(
"Rf8U"
),
x
=
a
.
n
(
y
),
k
=
a
(
"mtWM"
),
T
=
a
.
n
(
k
),
C
=
a
(
"bOdI"
),
b
=
a
.
n
(
C
),
R
=
a
(
"SJI6"
),
A
=
a
.
n
(
R
);
u
.
a
.
use
(
A
.
a
);
var
E
=
new
A
.
a
.
Store
({
state
:{
user
:{},
token
:
null
,
title
:
""
,
show
:
!
1
,
bgHeight
:
window
.
screen
.
availHeight
-
440
-
24
+
"px"
,
addDepartment
:[],
editDepartment
:[],
delDepartment
:[]},
mutations
:(
f
=
{},
b
()(
f
,
"login"
,
function
(
e
,
t
){
sessionStorage
.
token
=
t
,
e
.
token
=
t
}),
b
()(
f
,
"logout"
,
function
(
e
){
sessionStorage
.
removeItem
(
"token"
),
e
.
token
=
null
}),
b
()(
f
,
"title"
,
function
(
e
,
t
){
e
.
title
=
t
}),
b
()(
f
,
"show"
,
function
(
e
,
t
){
e
.
show
=
t
}),
b
()(
f
,
"saveAdd"
,
function
(
e
,
t
){
e
.
addDepartment
.
push
(
t
)}),
b
()(
f
,
"saveEdit"
,
function
(
e
,
t
){
e
.
editDepartment
.
push
(
t
)}),
b
()(
f
,
"saveDel"
,
function
(
e
,
t
){
e
.
delDepartment
.
push
(
t
)}),
b
()(
f
,
"clearAdd"
,
function
(
e
){
e
.
addDepartment
=
[]}),
b
()(
f
,
"clearEdit"
,
function
(
e
){
e
.
editDepartment
=
[]}),
b
()(
f
,
"clearData"
,
function
(
e
){
e
.
addDepartment
=
[],
e
.
editDepartment
=
[],
e
.
delDepartment
=
[]}),
f
),
actions
:{
saveAddInfo
:
function
(
e
,
t
){
e
.
commit
(
"saveAdd"
,
t
)},
saveEditInfo
:
function
(
e
,
t
){
e
.
commit
(
"saveEdit"
,
t
)},
saveDelInfo
:
function
(
e
,
t
){
e
.
commit
(
"saveDel"
,
t
)},
clearAddData
:
function
(
e
,
t
){
e
.
commit
(
"clearAdd"
)},
clearEditData
:
function
(
e
,
t
){
e
.
commit
(
"clearEdit"
)},
clearTreeData
:
function
(
e
,
t
){
e
.
commit
(
"clearData"
)}}}),
M
=
(
a
(
"4qCZ"
),
a
(
"tvR6"
),
a
(
"uKUT"
),
a
(
"Xcu2"
),
a
(
"xtVA"
),{
dateFormat
:
function
(
e
,
t
){
if
(
e
){
e
=
10
===
e
.
toString
().
length
?
1
e3
*
e
:
e
;
var
a
=
new
Date
(
e
),
n
=
{
"M+"
:
a
.
getMonth
()
+
1
,
"D+"
:
a
.
getDate
(),
W
:
"日一二三四五六"
.
charAt
(
a
.
getDay
()),
"h+"
:
a
.
getHours
(),
"m+"
:
a
.
getMinutes
(),
"s+"
:
a
.
getSeconds
(),
"q+"
:
Math
.
floor
((
a
.
getMonth
()
+
3
)
/
3
),
S
:
a
.
getMilliseconds
()};
for
(
var
o
in
/
(
Y+
)
/
.
test
(
t
)
&&
(
t
=
t
.
replace
(
RegExp
.
$1
,(
a
.
getFullYear
()
+
""
).
substr
(
4
-
RegExp
.
$1
.
length
))),
n
)
new
RegExp
(
"("
+
o
+
")"
).
test
(
t
)
&&
(
t
=
t
.
replace
(
RegExp
.
$1
,
1
===
RegExp
.
$1
.
length
?
n
[
o
]:(
"00"
+
n
[
o
]).
substr
((
""
+
n
[
o
]).
length
)));
return
t
}},
formatTimeStamp
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
a
=
t
.
getMonth
()
+
1
,
n
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
o
=
a
<
10
?
"0"
+
a
:
a
,
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
+
"-"
+
n
+
" "
+
r
+
":"
+
p
+
":"
+
i
}},
timeStampToYm
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
a
=
t
.
getMonth
()
+
1
,
n
=
a
<
10
?
"0"
+
a
:
a
;
return
t
.
getFullYear
()
+
"-"
+
n
}},
timeStampToYmd
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
(
e
),
a
=
t
.
getMonth
()
+
1
,
n
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
o
=
a
<
10
?
"0"
+
a
:
a
;
return
t
.
getFullYear
()
+
"-"
+
o
+
"-"
+
n
}},
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
),
a
=
t
.
getMonth
()
+
1
,
n
=
t
.
getDate
()
<
10
?
"0"
+
t
.
getDate
():
t
.
getDate
(),
o
=
a
<
10
?
"0"
+
a
:
a
,
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
+
"."
+
n
+
" "
+
r
+
":"
+
p
+
":"
+
i
}},
formatPhoneNum
:
function
(
e
){
return
e
?(
e
=
e
.
toString
()).
substr
(
0
,
3
)
+
"****"
+
e
.
substr
(
7
,
11
):
""
},
formatName
:
function
(
e
){
return
e
?
"**"
+
(
e
=
e
.
toString
()).
substr
(
e
.
length
-
1
,
e
.
length
):
""
},
timeStampSpace
:
function
(
e
){
if
(
e
){
var
t
=
new
Date
,
a
=
new
Date
(
Number
(
e
)).
getTime
()
-
t
.
getTime
();
if
(
console
.
log
(
a
),
a
<
0
)
return
""
;
var
n
=
Math
.
floor
(
a
/
864
e5
);
console
.
log
(
a
,
n
);
var
o
=
a
%
864
e5
,
r
=
o
%
36
e5
;
return
n
+
"天"
+
Math
.
floor
(
o
/
36
e5
)
+
"小时"
+
Math
.
floor
(
r
/
6
e4
)
+
"分"
}}}),
P
=
a
(
"TUaa"
),
L
=
a
.
n
(
P
),
V
=
a
(
"tyqE"
),
q
=
a
.
n
(
V
),
H
=
a
(
"pRVe"
),
I
=
a
.
n
(
H
),
Y
=
a
(
"XsK6"
),
j
=
a
.
n
(
Y
),
G
=
a
(
"QRL9"
),
N
=
a
.
n
(
G
),
O
=
a
(
"2Pnh"
),
F
=
a
.
n
(
O
),
J
=
a
(
"l9mu"
),
U
=
a
.
n
(
J
),
X
=
{
install
:
function
(
e
,
t
){
e
.
prototype
.
getPdf
=
function
(){
var
e
=
this
.
htmlTitle
;
F
()(
document
.
querySelector
(
"#pdfDom"
),{
allowTaint
:
!
0
,
foreignObjectRendering
:
!
0
}).
then
(
function
(
t
){
var
a
=
t
.
width
,
n
=
t
.
height
,
o
=
a
/
592.28
*
841.89
,
r
=
n
,
p
=
0
,
i
=
592.28
/
a
*
n
,
s
=
t
.
toDataURL
(
"image/jpeg"
,
1
),
c
=
new
U
.
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"
)})}}},
z
=
a
(
"/IwO"
),
K
=
a
.
n
(
z
);
p
.
a
.
polyfill
(),
Vue
.
use
(
K
.
a
),
K
.
a
.
initAMapApiLoader
({
key
:
"d53a58848be368a7398dc56d5670fe9c"
,
plugin
:[
"Autocomplete"
,
"PlaceSearch"
,
"Scale"
,
"OverView"
,
"Geocoder"
,
"ToolBar"
,
"MapType"
,
"PolyEditor"
,
"AMap.CircleEditor"
],
v
:
"1.4.4"
}),
Vue
.
use
(
X
),
Vue
.
use
(
j
.
a
),
Vue
.
use
(
N
.
a
),
Vue
.
use
(
I
.
a
),
Vue
.
use
(
q
.
a
),
Vue
.
use
(
L
.
a
),
Vue
.
config
.
productionTip
=!
1
,
Vue
.
use
(
w
.
a
,{
size
:
"large"
}),
Vue
.
use
(
x
.
a
,
T
.
a
),
Vue
.
axios
.
defaults
.
withCredentials
=!
0
,
o
()(
M
).
forEach
(
function
(
e
){
Vue
.
filter
(
e
,
M
[
e
])}),
D
.
beforeEach
(
function
(
e
,
t
,
a
){
window
.
axiosPromiseArr
&&
axiosPromiseArr
.
forEach
(
function
(
e
,
t
){
e
.
cancel
(),
delete
axiosPromiseArr
[
t
]});
var
n
=
window
.
location
.
origin
;
n
.
indexOf
(
"localhost"
),
localStorage
.
getItem
(
"userInfos"
),
"/"
==
e
.
path
?
a
({
path
:
"/login"
}):
a
()}),
new
Vue
({
el
:
"#app"
,
router
:
D
,
store
:
E
,
components
:{
App
:
s
},
template
:
"<App/>"
})},
Opzk
:
function
(
e
,
t
,
a
){
var
n
=
{
"./apps/badEvaluate/badEvaluateDetail.vue"
:[
"Yz8m"
,
0
,
37
],
"./apps/badEvaluate/badEvaluateRecord.vue"
:[
"DCIc"
,
0
,
59
],
"./apps/badEvaluate/badEvaluateSet.vue"
:[
"moBL"
,
0
,
46
],
"./apps/badEvaluate/index.vue"
:[
"AG22"
,
0
,
22
],
"./apps/card/cardList.vue"
:[
"X5LE"
,
0
,
44
],
"./apps/card/cardRecord.vue"
:[
"xDJN"
,
0
,
13
],
"./apps/card/index.vue"
:[
"nV1L"
,
0
,
33
],
"./apps/card/newCard.vue"
:[
"7/Zw"
,
0
,
10
],
"./apps/cloudDaily/customReport.vue"
:[
"ak3k"
,
0
,
30
],
"./apps/cloudDaily/customReportSet.vue"
:[
"LTPC"
,
0
,
4
],
"./apps/cloudDaily/dailyDetail.vue"
:[
"JwJ7"
,
0
,
11
],
"./apps/cloudDaily/dailyExport.vue"
:[
"H3Dc"
,
0
,
16
],
"./apps/cloudDaily/dailyRecord.vue"
:[
"IuWw"
,
0
,
51
],
"./apps/cloudDaily/index.vue"
:[
"4QyY"
,
0
,
35
],
"./apps/cloudDaily/systemReport.vue"
:[
"J/6z"
,
0
,
5
],
"./apps/cloudDaily/taskAssign.vue"
:[
"Hb/M"
,
0
,
25
],
"./apps/cloudDaily/template/block.vue"
:[
"O3gZ"
,
43
],
"./apps/cloudDaily/template/date-range.vue"
:[
"2WGr"
,
45
],
"./apps/cloudDaily/template/image.vue"
:[
"8dpP"
,
58
],
"./apps/cloudDaily/template/input.vue"
:[
"zHtI"
,
66
],
"./apps/cloudDaily/template/select.vue"
:[
"rYZf"
,
52
],
"./apps/customerApp/index.vue"
:[
"QHTa"
,
0
,
39
],
"./apps/customerApp/memberGroupSet.vue"
:[
"JuNN"
,
0
,
24
],
"./apps/customerApp/memberSearchSet.vue"
:[
"Z3Aa"
,
0
,
42
],
"./apps/customerApp/memberShowSet.vue"
:[
"odfG"
,
0
,
55
],
"./apps/index.vue"
:[
"K1Vb"
,
0
,
47
],
"./apps/protectCard/cardGetRecord.vue"
:[
"5GE8"
,
0
,
41
],
"./apps/protectCard/cardPut.vue"
:[
"cD4x"
,
0
,
48
],
"./apps/protectCard/cardPutRecord.vue"
:[
"dhLd"
,
0
,
19
],
"./apps/protectCard/cardStrategy.vue"
:[
"rUvh"
,
0
,
31
],
"./apps/protectCard/cardTemplate.vue"
:[
"c7iB"
,
0
,
40
],
"./apps/protectCard/index.vue"
:[
"aWmL"
,
0
,
28
],
"./apps/protectCard/newCardPut.vue"
:[
"9db3"
,
0
,
8
],
"./apps/protectCard/newCardStrategy.vue"
:[
"8Rwt"
,
0
,
7
],
"./apps/protectCard/newCardTemp.vue"
:[
"tF0P"
,
0
,
56
],
"./apps/quota/companyDaySet.vue"
:[
"NiGE"
,
0
,
64
],
"./apps/quota/index.vue"
:[
"qSX4"
,
0
,
29
],
"./apps/quota/monthList.vue"
:[
"fAFA"
,
0
,
54
],
"./apps/quota/monthTask.vue"
:[
"NpHY"
,
0
,
32
],
"./apps/quota/monthTaskDetail.vue"
:[
"YKf6"
,
0
,
36
],
"./apps/quota/salerMonthDetail.vue"
:[
"+qr5"
,
0
,
67
],
"./apps/quota/storeMonthTask.vue"
:[
"qWC+"
,
0
,
63
],
"./apps/trafficTask/index.vue"
:[
"FmZU"
,
0
,
62
],
"./apps/trafficTask/taskDetail.vue"
:[
"XrDD"
,
0
,
12
],
"./apps/trafficTask/taskRecord.vue"
:[
"m+x7"
,
0
,
57
],
"./apps/trafficTask/taskView.vue"
:[
"w2fd"
,
0
,
20
],
"./apps/trafficTask/taskViewDetail.vue"
:[
"SBUJ"
,
0
,
38
],
"./apps/trafficTask/trafficTaskSet.vue"
:[
"OUXi"
,
0
,
69
],
"./business/contacts.vue"
:[
"/W60"
,
0
,
2
],
"./business/index.vue"
:[
"jPcV"
,
0
,
65
],
"./business/orgStructSet.vue"
:[
"OI5V"
,
0
,
3
],
"./business/recycle.vue"
:[
"K8Yn"
,
0
,
60
],
"./business/syncLog.vue"
:[
"20P3"
,
0
,
23
],
"./enterprise/adminList.vue"
:[
"zYBJ"
,
0
,
26
],
"./enterprise/enterpriseSet.vue"
:[
"x5Fx"
,
0
,
49
],
"./enterprise/index.vue"
:[
"m9dW"
,
0
,
27
],
"./errorPage/403.vue"
:[
"6XGN"
,
18
],
"./errorPage/404.vue"
:[
"AejC"
,
21
],
"./errorPage/500.vue"
:[
"FskK"
,
15
],
"./errorPage/gic-error.vue"
:[
"Q3j/"
,
17
],
"./errorPage/index.vue"
:[
"ODjX"
,
1
],
"./index/index.vue"
:[
"JXTs"
,
0
,
68
],
"./login/index.vue"
:[
"T+/8"
,
0
,
14
],
"./overstore/index.vue"
:[
"Y55K"
,
0
,
53
],
"./overstore/overStoreList.vue"
:[
"vuAV"
,
0
,
34
],
"./reviewCenter/index.vue"
:[
"+lem"
,
0
,
61
],
"./reviewCenter/reviewSet.vue"
:[
"6j9f"
,
0
,
50
],
"./reviewCenter/reviewed.vue"
:[
"CLYF"
,
0
,
9
],
"./reviewCenter/unreview.vue"
:[
"xCEU"
,
0
,
6
]};
function
o
(
e
){
var
t
=
n
[
e
];
return
t
?
Promise
.
all
(
t
.
slice
(
1
).
map
(
a
.
e
)).
then
(
function
(){
return
a
(
t
[
0
])}):
Promise
.
reject
(
new
Error
(
"Cannot find module '"
+
e
+
"'."
))}
o
.
keys
=
function
(){
return
Object
.
keys
(
n
)},
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
},
tvR6
:
function
(
e
,
t
){},
uKUT
:
function
(
e
,
t
){},
xtVA
:
function
(
e
,
t
){}},[
0
]);
\ No newline at end of file
dist/static/js/manifest.
bac0677801e2a238467e
.js
→
dist/static/js/manifest.
515a8a4466abb9561fac
.js
View file @
29419b85
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
f
.
length
;
i
++
)
t
=
f
[
i
],
a
[
t
]
&&
u
.
push
(
a
[
t
][
0
]),
a
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
c
&&
c
(
f
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
d
(
d
.
s
=
n
[
i
]);
return
o
};
var
f
=
{},
a
=
{
72
:
0
};
function
d
(
c
){
if
(
f
[
c
])
return
f
[
c
].
exports
;
var
a
=
f
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
a
.
exports
,
a
,
a
.
exports
,
d
),
a
.
l
=!
0
,
a
.
exports
}
d
.
e
=
function
(
e
){
var
c
=
a
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
f
=
new
Promise
(
function
(
f
,
d
){
c
=
a
[
e
]
=
[
f
,
d
]});
c
[
2
]
=
f
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
d
.
nc
&&
n
.
setAttribute
(
"nonce"
,
d
.
nc
),
n
.
src
=
d
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"db7fcfd49071bf8a7e4e"
,
1
:
"06c4e42e62c1f75191f0"
,
2
:
"3527d92b4250c040f53c"
,
3
:
"b730ac940028248d253c"
,
4
:
"21f52a2de84c96ec3638"
,
5
:
"bf21cfa1832c94ed8d4c"
,
6
:
"67f6b30504fceba28318"
,
7
:
"b12241c71cd393683dfe"
,
8
:
"95cbcbf508260cdd1144"
,
9
:
"f7c875c7689ffc18fc21"
,
10
:
"f64bf1b4c969dc8e4324"
,
11
:
"234de60fe9d347a9b246"
,
12
:
"2fd29e02837a34a220fc"
,
13
:
"2b65cdb3d875eca1b6fd"
,
14
:
"2c29119d13dc5fff8f2b"
,
15
:
"b646de33eca64e94b02c"
,
16
:
"5e81daf3550937d71920"
,
17
:
"a315ec3bb42a1a5f0ab3"
,
18
:
"aac9552544b8aaf4d59f"
,
19
:
"c487839b11d3f4a77b50"
,
20
:
"f4ca923a45be4e175087"
,
21
:
"3b62dd9c716d4bbba918"
,
22
:
"f8e0114834358a5de162"
,
23
:
"587c2e5a1989c5e482ea"
,
24
:
"58c7c6c2d8897eb7c474"
,
25
:
"9e5733792c18c643ff3a"
,
26
:
"dba4d3332f3dbc9d7649"
,
27
:
"8c00b479947588ae7b2c"
,
28
:
"24ee909159df59113cac"
,
29
:
"485d7c81ce188c3fa687"
,
30
:
"6e3dad3ed142df770d0e"
,
31
:
"5843355d3912dff4d3b4"
,
32
:
"648e00249c751be0ef72"
,
33
:
"e35089c0ea4dc1809069"
,
34
:
"93b49282fdccc322c7b8"
,
35
:
"9d2f169ffce85f2b33c0"
,
36
:
"cf397756c40d6f8c1420"
,
37
:
"f43da4e4e894a104b34e"
,
38
:
"5f4ce05b4c8050e7ac44"
,
39
:
"63dc54f1a6b7a04b4d41"
,
40
:
"8a2cbd2b1721285a8e70"
,
41
:
"86f3ea99c4c925a66b15"
,
42
:
"1734759b03f37b29d76b"
,
43
:
"728c0abf2adf9945e458"
,
44
:
"01195ec3b8c74435d198"
,
45
:
"451e984fbc6d7f7867a1"
,
46
:
"9964d74db56db1066e24"
,
47
:
"1b01ab2690ca969893b5"
,
48
:
"3a9a812bd647c88e04db"
,
49
:
"4a4bec0cff4586825e63"
,
50
:
"aa6f865b07c34d4b5d20"
,
51
:
"3fd34d332c39c50a3a23"
,
52
:
"c35848d057d376916c18"
,
53
:
"628ba60632238a139fec"
,
54
:
"daa80d1351d0a691e219"
,
55
:
"1364c530c40be3757b29"
,
56
:
"ce9549e75d6fd1efe51b"
,
57
:
"557afe6a35079d2e10c5"
,
58
:
"3f145f198ea2a6e8ed7e"
,
59
:
"069cc5b15c055fb63224"
,
60
:
"38d9b2e3096d6c26b466"
,
61
:
"c8bf83503933dbb0d3a7"
,
62
:
"c150bd9c93df08960929"
,
63
:
"ab752ec3ccf9371f123b"
,
64
:
"3b820a9237f2357ff5ae"
,
65
:
"a13a30bf6fc4768fa5b9"
,
66
:
"b359edf7ae3be460e9f8"
,
67
:
"6320af8ae26ddc0bc8c9"
,
68
:
"ff9dc6377917dee13b2f"
,
69
:
"a85af8948bfc87b0850f"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
a
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
a
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
f
},
d
.
m
=
e
,
d
.
c
=
f
,
d
.
d
=
function
(
e
,
c
,
f
){
d
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
d
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
c
,
"a"
,
c
),
c
},
d
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
d
.
p
=
"./"
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
f
.
length
;
i
++
)
t
=
f
[
i
],
a
[
t
]
&&
u
.
push
(
a
[
t
][
0
]),
a
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
c
&&
c
(
f
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
d
(
d
.
s
=
n
[
i
]);
return
o
};
var
f
=
{},
a
=
{
72
:
0
};
function
d
(
c
){
if
(
f
[
c
])
return
f
[
c
].
exports
;
var
a
=
f
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
a
.
exports
,
a
,
a
.
exports
,
d
),
a
.
l
=!
0
,
a
.
exports
}
d
.
e
=
function
(
e
){
var
c
=
a
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
f
=
new
Promise
(
function
(
f
,
d
){
c
=
a
[
e
]
=
[
f
,
d
]});
c
[
2
]
=
f
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
d
.
nc
&&
n
.
setAttribute
(
"nonce"
,
d
.
nc
),
n
.
src
=
d
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"db7fcfd49071bf8a7e4e"
,
1
:
"06c4e42e62c1f75191f0"
,
2
:
"3527d92b4250c040f53c"
,
3
:
"b730ac940028248d253c"
,
4
:
"21f52a2de84c96ec3638"
,
5
:
"bf21cfa1832c94ed8d4c"
,
6
:
"67f6b30504fceba28318"
,
7
:
"b12241c71cd393683dfe"
,
8
:
"95cbcbf508260cdd1144"
,
9
:
"f7c875c7689ffc18fc21"
,
10
:
"9dd83b3436bebfd12f91"
,
11
:
"59c87174f09911b8256b"
,
12
:
"e8cd784bf481f550c766"
,
13
:
"2b65cdb3d875eca1b6fd"
,
14
:
"2c29119d13dc5fff8f2b"
,
15
:
"b646de33eca64e94b02c"
,
16
:
"5e81daf3550937d71920"
,
17
:
"a315ec3bb42a1a5f0ab3"
,
18
:
"aac9552544b8aaf4d59f"
,
19
:
"c487839b11d3f4a77b50"
,
20
:
"f4ca923a45be4e175087"
,
21
:
"3b62dd9c716d4bbba918"
,
22
:
"f8e0114834358a5de162"
,
23
:
"587c2e5a1989c5e482ea"
,
24
:
"58c7c6c2d8897eb7c474"
,
25
:
"9e5733792c18c643ff3a"
,
26
:
"dba4d3332f3dbc9d7649"
,
27
:
"8c00b479947588ae7b2c"
,
28
:
"24ee909159df59113cac"
,
29
:
"485d7c81ce188c3fa687"
,
30
:
"6e3dad3ed142df770d0e"
,
31
:
"5843355d3912dff4d3b4"
,
32
:
"648e00249c751be0ef72"
,
33
:
"e35089c0ea4dc1809069"
,
34
:
"93b49282fdccc322c7b8"
,
35
:
"9d2f169ffce85f2b33c0"
,
36
:
"cf397756c40d6f8c1420"
,
37
:
"f43da4e4e894a104b34e"
,
38
:
"5f4ce05b4c8050e7ac44"
,
39
:
"63dc54f1a6b7a04b4d41"
,
40
:
"8a2cbd2b1721285a8e70"
,
41
:
"86f3ea99c4c925a66b15"
,
42
:
"1734759b03f37b29d76b"
,
43
:
"728c0abf2adf9945e458"
,
44
:
"01195ec3b8c74435d198"
,
45
:
"451e984fbc6d7f7867a1"
,
46
:
"9964d74db56db1066e24"
,
47
:
"1b01ab2690ca969893b5"
,
48
:
"3a9a812bd647c88e04db"
,
49
:
"4a4bec0cff4586825e63"
,
50
:
"aa6f865b07c34d4b5d20"
,
51
:
"3fd34d332c39c50a3a23"
,
52
:
"c35848d057d376916c18"
,
53
:
"628ba60632238a139fec"
,
54
:
"daa80d1351d0a691e219"
,
55
:
"1364c530c40be3757b29"
,
56
:
"ce9549e75d6fd1efe51b"
,
57
:
"557afe6a35079d2e10c5"
,
58
:
"3f145f198ea2a6e8ed7e"
,
59
:
"069cc5b15c055fb63224"
,
60
:
"38d9b2e3096d6c26b466"
,
61
:
"c8bf83503933dbb0d3a7"
,
62
:
"c150bd9c93df08960929"
,
63
:
"ab752ec3ccf9371f123b"
,
64
:
"3b820a9237f2357ff5ae"
,
65
:
"a13a30bf6fc4768fa5b9"
,
66
:
"b359edf7ae3be460e9f8"
,
67
:
"6320af8ae26ddc0bc8c9"
,
68
:
"ff9dc6377917dee13b2f"
,
69
:
"a85af8948bfc87b0850f"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
a
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
a
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
f
},
d
.
m
=
e
,
d
.
c
=
f
,
d
.
d
=
function
(
e
,
c
,
f
){
d
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
d
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
c
,
"a"
,
c
),
c
},
d
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
d
.
p
=
"./"
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
src/views/apps/card/newCard.vue
View file @
29419b85
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-04-13 15:27:46
* @LastEditors: 无尘
* @LastEditTime: 2020-04-23 18:
09:03
* @LastEditTime: 2020-04-23 18:
15:08
-->
<
template
>
...
...
@@ -195,14 +195,7 @@ export default {
if
(
that
.
formData
.
receiveType
==
'1'
&&
!
that
.
formData
.
totalReceiveTimes
)
{
return
false
;
}
if
(
!
flag
&&
!!
that
.
$route
.
query
.
coupCardId
)
{
// 编辑的时候确认又新增
that
.
addTag
=
false
;
}
if
(
flag
&&
!!
that
.
$route
.
query
.
coupCardId
)
{
// 编辑的时候确认又新增
that
.
addTag
=
true
;
}
that
.
$refs
[
formName
].
validate
(
valid
=>
{
if
(
valid
)
{
that
.
postSaveCard
(
flag
);
...
...
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