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
b4b165bd
Commit
b4b165bd
authored
Apr 23, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改策略
parent
42108c6f
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
27 additions
and
16 deletions
+27
-16
index.html
dist/index.html
+2
-2
app.f17e77607d576e8de7dfafbe89f0e208.css
dist/static/css/app.f17e77607d576e8de7dfafbe89f0e208.css
+0
-0
10.ae96e345cfed80fffa8b.js
dist/static/js/10.ae96e345cfed80fffa8b.js
+0
-2
10.f64bf1b4c969dc8e4324.js
dist/static/js/10.f64bf1b4c969dc8e4324.js
+2
-2
11.234de60fe9d347a9b246.js
dist/static/js/11.234de60fe9d347a9b246.js
+2
-2
12.d7b846fd0442631e1df8.js
dist/static/js/12.d7b846fd0442631e1df8.js
+2
-0
app.2fb794802593d2f171a8.js
dist/static/js/app.2fb794802593d2f171a8.js
+2
-2
manifest.7deaf6428765c76f759a.js
dist/static/js/manifest.7deaf6428765c76f759a.js
+2
-2
select-wx-depart.vue
src/components/app/protectCard/select-wx-depart.vue
+13
-2
newCardStrategy.vue
src/views/apps/protectCard/newCardStrategy.vue
+2
-2
No files found.
dist/index.html
View file @
b4b165bd
<!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.333f2e5e8f98793696d76b0a080d7dd0.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.cf890bf26ddd626e9cd1.js
></script><script
type=
text/javascript
src=
./static/js/vendor.694f8850ed5112713591.js
></script><script
type=
text/javascript
src=
./static/js/app.53bd800025125cd5e146.js
></script></body></html>
<!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.f17e77607d576e8de7dfafbe89f0e208.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.7deaf6428765c76f759a.js
></script><script
type=
text/javascript
src=
./static/js/vendor.694f8850ed5112713591.js
></script><script
type=
text/javascript
src=
./static/js/app.2fb794802593d2f171a8.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dist/static/css/app.
333f2e5e8f98793696d76b0a080d7dd0
.css
→
dist/static/css/app.
f17e77607d576e8de7dfafbe89f0e208
.css
View file @
b4b165bd
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/10.ae96e345cfed80fffa8b.js
deleted
100644 → 0
View file @
42108c6f
webpackJsonp
([
10
],{
"8Rwt"
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"mvHQ"
),
r
=
a
.
n
(
o
),
n
=
a
(
"l46T"
),
s
=
a
(
"3Xzz"
),
l
=
a
(
"Qs+A"
),
i
=
a
(
"P9l9"
),
c
=
a
(
"Ch4/"
),
d
=
{
name
:
"select-card-template"
,
props
:{
selectTemp
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
[]}}},
data
:
function
(){
return
{
dialogVisible
:
!
0
,
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
tableData
:[],
multipleSelection
:[]}},
computed
:{},
methods
:{
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
handleClose
:
function
(){
this
.
$emit
(
"closeTemp"
)},
submitForm
:
function
(){
this
.
$emit
(
"returnData"
,
this
.
multipleSelection
)},
changeRoute
:
function
(
e
){
this
.
$router
.
push
(
e
)},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
getTableList
:
function
(
e
){
var
t
=
this
,
a
=
{
keyWord
:
t
.
searchInput
||
""
,
taskId
:
t
.
taskId
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
};
Object
(
i
.
a
)(
"/haoban-manage3-web/sync-task-detail"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
tableData
=
a
.
result
.
result
||
[],
t
.
total
=
a
.
result
.
totalCount
,
!
1
;
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
selectTemp
:
function
(
e
,
t
){
var
a
=
this
;
if
(
e
.
length
){
var
o
=
e
.
map
(
function
(
e
){
return
e
.
templateId
});
a
.
tableData
.
forEach
(
function
(
e
){
o
.
includes
(
e
.
templateId
)
&&
a
.
$refs
.
multipleTable
.
toggleRowSelection
(
e
)})}}},
mounted
:
function
(){
this
.
getTableList
(),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
navCrumb
:
s
.
a
,
setDepartment
:
l
.
a
}},
u
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
"选择模板"
,
visible
:
e
.
dialogVisible
,
width
:
"700px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
}}},[
a
(
"div"
,{},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
e
.
tableH
},
attrs
:{
height
:
"450"
,
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"55"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"卡券模板名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
dataName
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券类型"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
0
==
t
.
row
.
cardType
?
a
(
"span"
,[
e
.
_v
(
"抵金券"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
t
.
row
.
cardType
?
a
(
"span"
,[
e
.
_v
(
"折扣券"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"提交人"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
chainName
)
+
"
\
n "
)]}}])})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
e
.
handleClose
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
submitForm
}},[
e
.
_v
(
"确定"
)])],
1
)])},
staticRenderFns
:[]};
var
p
=
a
(
"VU/8"
)(
d
,
u
,
!
1
,
function
(
e
){
a
(
"lg11"
)},
"data-v-8489b39a"
,
null
).
exports
,
m
=
a
(
"Xxa5"
),
f
=
a
.
n
(
m
),
h
=
a
(
"exGp"
),
v
=
a
.
n
(
h
),
g
=
{
name
:
"select-wx-depart"
,
components
:{},
props
:{
departArr
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
[]}}},
data
:
function
(){
return
{
selDepart
:[],
groupNodes
:[],
groupData
:[],
departVisible
:
!
0
,
checkedKeys
:
this
.
departArr
.
length
?
this
.
departArr
.
map
(
function
(
e
){
return
e
.
departmentId
}):[],
defaultProps
:{
children
:
"children"
,
label
:
"departmentName"
,
isLeaf
:
"isLeaf"
},
checkList
:[]}},
methods
:{
loadNode
:
function
(
e
,
t
){
var
a
=
this
;
return
v
()(
f
.
a
.
mark
(
function
o
(){
var
r
;
return
f
.
a
.
wrap
(
function
(
o
){
for
(;;)
switch
(
o
.
prev
=
o
.
next
){
case
0
:
if
(
console
.
log
(
"load:"
,
e
,
t
),
r
=
a
,
0
!==
e
.
level
){
o
.
next
=
6
;
break
}
return
o
.
abrupt
(
"return"
,
t
(
r
.
getGroup
()));
case
6
:
return
o
.
next
=
8
,
r
.
getGroup
(
e
,
e
.
data
,
t
);
case
8
:
case
"end"
:
return
o
.
stop
()}},
o
,
a
)}))()},
checkGroup
:
function
(
e
){
this
.
groupNodes
=
this
.
$refs
.
groupTrees
.
getCheckedNodes
()},
toRight
:
function
(){
this
.
selDepart
=
this
.
$refs
.
groupTrees
.
getCheckedNodes
()},
toLeft
:
function
(){
var
e
=
this
,
t
=
[];
e
.
selDepart
.
forEach
(
function
(
a
){
e
.
checkList
.
includes
(
a
.
departmentId
)
||
t
.
push
(
a
)}),
e
.
selDepart
=
t
,
e
.
$refs
.
tree
.
setCheckedNodes
(
e
.
selDepart
)},
handleClose
:
function
(
e
){
this
.
$emit
(
"refreshData"
,
"close"
),
e
()},
cancel
:
function
(){
this
.
$emit
(
"refreshData"
,
"close"
)},
submitForm
:
function
(
e
){
var
t
=
this
;
if
(
""
==
t
.
partForm
.
departmentName
)
return
!
1
;
t
.
$refs
[
e
].
validate
(
function
(
e
){
if
(
!
e
)
return
!
1
;
t
.
$emit
(
"refreshData"
,
t
.
selDepart
)})},
getGroup
:
function
(
e
,
t
,
a
){
var
o
=
this
,
r
=
{
parentId
:
t
?
t
.
departmentId
:
""
,
isStore
:
0
};
if
(
e
&&
(
!
t
.
hasSonNode
||
1
==
t
.
isStore
))
return
a
([]),
!
1
;
Object
(
i
.
a
)(
"/haoban-manage3-web/department-list-level"
,
r
).
then
(
function
(
r
){
var
n
=
r
.
data
;
if
(
1
==
n
.
errorCode
)
return
n
.
result
&&
n
.
result
.
length
&&
n
.
result
.
forEach
(
function
(
e
){
e
.
expand
=!
1
,
e
.
children
=
[],
e
.
label
=
e
.
departmentName
,
e
.
isLeaf
=!
e
.
hasSonNode
}),
e
?(
a
(
n
.
result
),
t
.
children
||
o
.
$set
(
t
,
"children"
,[]),
t
.
children
=
n
.
result
||
[],
o
.
$forceUpdate
(),
!
1
):(
o
.
groupData
=
n
.
result
||
[],
void
console
.
log
(
o
.
groupData
));
c
.
a
.
errorMsg
(
n
)}).
catch
(
function
(
e
){
o
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
departArr
:
function
(
e
){
e
.
length
&&
(
this
.
selDepart
=
JSON
.
parse
(
r
()(
e
)))}},
mounted
:
function
(){
this
.
getGroup
(),
this
.
departArr
.
length
&&
(
this
.
selDepart
=
JSON
.
parse
(
r
()(
this
.
departArr
)))}},
b
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"el-dialog"
,{
attrs
:{
width
:
"600px"
,
title
:
"选择部门"
,
visible
:
e
.
departVisible
,
"append-to-body"
:
""
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
departVisible
=
t
}}},[
a
(
"div"
,{
staticClass
:
"depart-transfor"
},[
a
(
"div"
,{
staticClass
:
"depart-transfor-left"
},[
a
(
"div"
,{
staticClass
:
"transfor-header flex flex-space-between"
},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
e
.
_v
(
"组织架构"
)]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-12 color-909399"
})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"transfor-body"
},[
a
(
"div"
,{
staticClass
:
"transfor-body-tree"
},[
a
(
"el-tree"
,{
ref
:
"groupTrees"
,
attrs
:{
data
:
e
.
groupData
,
load
:
e
.
loadNode
,
"default-checked-keys"
:
e
.
checkedKeys
,
"node-key"
:
"departmentId"
,
"check-strictly"
:
""
,
lazy
:
""
,
"show-checkbox"
:
""
,
props
:
e
.
defaultProps
},
on
:{
check
:
e
.
checkGroup
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
var
o
=
t
.
node
,
r
=
t
.
data
;
return
a
(
"span"
,{
staticClass
:
"custom-tree-node"
},[
a
(
"span"
,{
class
:[
"font-14 p-r-10 iconfont"
,
1
==
r
.
isStore
?
"icondianpu-kuai"
:
"iconqiye-tianchong"
,
1
==
r
.
bindFlag
?
"color-2f54eb"
:
"color-dedfe6"
]}),
a
(
"span"
,{
staticClass
:
"font-14 color-606266"
},[
e
.
_v
(
e
.
_s
(
o
.
label
))])])}}])})],
1
)])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"depart-transfor-middle"
},[
a
(
"div"
,{
staticClass
:
"m-b-10"
},[
a
(
"el-button"
,{
attrs
:{
disabled
:
!
e
.
groupNodes
.
length
,
type
:
"primary"
,
icon
:
"el-icon-arrow-right"
},
on
:{
click
:
e
.
toRight
}},[
e
.
_v
(
"转入"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-button"
,{
attrs
:{
disabled
:
!
e
.
checkList
.
length
,
type
:
"primary"
,
icon
:
"el-icon-arrow-left"
},
on
:{
click
:
e
.
toLeft
}},[
e
.
_v
(
"移除"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"depart-transfor-right"
},[
a
(
"div"
,{
staticClass
:
"transfor-header flex flex-space-between"
},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
e
.
_v
(
"已选"
)]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-12 color-909399"
})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"select-body"
},[
a
(
"div"
,{
staticClass
:
"select-body-list"
},[
a
(
"el-checkbox-group"
,{
model
:{
value
:
e
.
checkList
,
callback
:
function
(
t
){
e
.
checkList
=
t
},
expression
:
"checkList"
}},[
a
(
"div"
,
e
.
_l
(
e
.
selDepart
,
function
(
t
,
o
){
return
a
(
"el-checkbox"
,{
key
:
o
+
"sel"
,
attrs
:{
label
:
t
.
departmentId
}},[
e
.
_v
(
e
.
_s
(
t
.
departmentName
))])}))])],
1
)])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
e
.
cancel
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"partForm"
)}}},[
e
.
_v
(
"确定"
)])],
1
)])},
staticRenderFns
:[]};
var
y
=
a
(
"VU/8"
)(
g
,
b
,
!
1
,
function
(
e
){
a
(
"F9cA"
)},
"data-v-4359e9ac"
,
null
).
exports
,
D
=
a
(
"3E4D"
),
_
=
a
(
"PI0u"
),
C
=
{
name
:
"chat-log"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
components
:{
limitInput
:
n
.
a
,
selectCardTemplate
:
p
,
selectWxDepart
:
y
},
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
:{
cardStrategyId
:
""
,
cardStrategyName
:
""
,
cardTempData
:[{
templateName
:
""
,
cardType
:
0
,
dataType
:
0
,
dateRange
:[],
dateDay
:
""
,
dateDayNum
:
"50000"
,
limitType
:
0
,
limitCount
:
""
}],
sendType
:
0
,
filterCheck
:
!
1
,
noPosition
:
!
1
,
filterData
:[],
departData
:[],
executeType
:
0
,
monthNum
:
""
,
multMonth
:[],
multMonthNum
:
""
,
vaildDateType
:
""
,
validDateRange
:[]},
rules
:{
coupCardId
:[{
required
:
!
0
,
message
:
"请选择卡券"
,
trigger
:
"change"
}],
sendRange
:[{
validator
:
function
(
t
,
a
,
o
){
return
""
==
a
?
o
(
new
Error
(
"请选择发送范围"
)):
"1"
!=
a
&&
"2"
!=
a
||
e
.
formData
.
selectList
.
length
?
void
o
():
o
(
new
Error
(
"请选择发送范围"
))},
trigger
:
"change"
}],
sendType
:[{
validator
:
function
(
t
,
a
,
o
){
return
""
==
a
?
o
(
new
Error
(
"请选择券发放总数"
)):
"1"
!=
a
||
e
.
formData
.
totalSendTimes
?
void
o
():
o
(
new
Error
(
"请选择券发放总数"
))},
trigger
:
"change"
}],
eachSendTimes
:[{
required
:
!
0
,
message
:
"请输入券发放张数"
,
trigger
:
"blur"
}]},
cardSelectShow
:
!
1
,
choiceDateCopy
:[],
pickerOptions
:{
onPick
:
function
(
t
){
var
a
=
t
.
maxDate
,
o
=
t
.
minDate
;
e
.
choiceDateCopy
=
[
o
.
getTime
()],
a
&&
(
e
.
choiceDateCopy
=
[])},
disabledDate
:
function
(
t
){
if
(
e
.
choiceDateCopy
.
length
){
var
a
=
e
.
choiceDateCopy
[
0
]
-
31536
e6
,
o
=
e
.
choiceDateCopy
[
0
]
+
31536
e6
;
return
t
.
getTime
()
<
a
||
t
.
getTime
()
>
o
||
t
.
getTime
()
>
Date
.
now
()
-
864
e4
}
return
t
.
getTime
()
<
Date
.
now
()
-
864
e4
}},
dateOptions
:[],
monthOptions
:[],
inputVisible
:
!
1
,
inputValue
:
""
,
cardTempShow
:
!
1
,
departShow
:
!
1
}},
methods
:{
changeSendType
:
function
(){
1
==
this
.
formData
.
sendType
?
this
.
departShow
=!
0
:
this
.
departShow
=!
1
},
clickSendType
:
function
(){
this
.
departShow
=!
0
},
refreshData
:
function
(
e
){
if
(
this
.
departShow
=!
1
,
"close"
==
e
)
return
!
1
;
this
.
formData
.
departData
=
e
},
cancelEdit
:
function
(){
var
e
=
this
;
e
.
$confirm
(
"是否确认返回,返回后当前页面内容将丢失"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
e
.
$router
.
go
(
-
1
)}).
catch
(
function
(){})},
showCardTemp
:
function
(){
this
.
cardTempShow
=!
0
},
returnData
:
function
(
e
){
e
.
forEach
(
function
(
e
){
e
.
dataType
=
0
,
e
.
dateRange
=
[],
e
.
dateDay
=
""
,
e
.
dateDayNum
=
"50000"
,
e
.
limitType
=
0
,
e
.
limitCount
=
""
}),
this
.
formData
.
cardTempData
=
JSON
.
parse
(
r
()(
e
)),
this
.
cardTempShow
=!
1
},
closeTemp
:
function
(){
this
.
cardTempShow
=!
1
},
handleClose
:
function
(
e
){
this
.
formData
.
filterData
.
splice
(
this
.
formData
.
filterData
.
indexOf
(
e
),
1
)},
showInput
:
function
(){
var
e
=
this
;
e
.
inputVisible
=!
0
,
e
.
$nextTick
(
function
(
t
){
e
.
$refs
.
saveTagInput
.
$refs
.
input
.
focus
()})},
handleInputConfirm
:
function
(){
var
e
=
this
.
inputValue
;
e
&&
this
.
formData
.
filterData
.
push
(
e
),
this
.
inputVisible
=!
1
,
this
.
inputValue
=
""
},
toDelTemp
:
function
(
e
,
t
,
a
){
a
.
splice
(
e
,
1
)},
handleDay
:
function
(){
for
(
var
e
=
[],
t
=
0
;
t
<
91
;
t
++
)
0
==
t
?
e
.
push
({
label
:
"当天"
,
value
:
String
(
t
)}):
e
.
push
({
label
:
"第"
+
t
+
"天"
,
value
:
String
(
t
)});
this
.
dateOptions
=
e
,
this
.
monthOptions
=
[];
for
(
var
a
=
1
;
a
<
13
;
a
++
)
this
.
monthOptions
.
push
({
label
:
a
+
"月"
,
value
:
String
(
a
)})},
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
(
_
.
a
)(
function
(
e
,
t
){
var
a
=
this
;
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
,
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
(
i
.
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
o
=
a
.
data
;
1
==
o
.
errorCode
&&
(
D
.
a
.
showmsg
(
t
.
$route
.
query
.
coupCardId
?
"编辑卡券策略成功"
:
"新建卡券策略成功"
,
"success"
),
e
?(
t
.
formData
=
{
id
:
""
,
coupCardId
:
""
,
sendRange
:
"0"
,
selectList
:[],
eachSendTimes
:
3
,
sendType
:
"0"
,
totalSendTimes
:
0
},
t
.
selectCoupCard
=
{}):
t
.
$router
.
push
(
"/cardList"
)),
c
.
a
.
errorMsg
(
o
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
changeRange
:
function
(
e
){
this
.
formData
.
selectList
=
[]},
getCardData
:
function
(){
var
e
=
this
,
t
=
{
coupCardId
:
e
.
$route
.
query
.
coupCardId
,
gicEnterpriseId
:
e
.
brandId
};
Object
(
i
.
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
.
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
;
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
this
.
$route
.
query
.
coupCardId
&&
(
this
.
activeBrand
=
e
,
this
.
getCardData
())},
activeGroupId
:
function
(
e
,
t
){
e
&&
(
this
.
activeGroup
=
e
)}},
mounted
:
function
(){
var
e
=
this
;
e
.
$emit
(
"showTab"
,
"2"
),
e
.
$nextTick
(
function
(){
e
.
handleDay
()}),
e
.
activeBrand
=
e
.
brandId
,
e
.
$route
.
query
.
coupCardId
&&
e
.
brandId
&&
e
.
getCardData
()}},
w
=
{
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
:
"cardStrategyName"
}},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
inputValue
:
e
.
formData
.
cardStrategyName
,
getByType
:
"word"
,
holder
:
"请输入卡券策略名称"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"cardStrategyName"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"item-title font-14 color-303133 font-w-600"
},[
e
.
_v
(
"卡券选择策略"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-form-item el-form-item--large is-required"
},[
a
(
"label"
,{
staticClass
:
"el-form-item__label"
,
staticStyle
:{
width
:
"120px"
,
cursor
:
"pointer"
},
attrs
:{
for
:
"name"
}},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"支持多选,最多可选20个模板"
,
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
(
"div"
,{
staticClass
:
"card-add-btn text-center cursor-pointer"
,
on
:{
click
:
e
.
showCardTemp
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266"
},[
e
.
_v
(
"选择卡券模板"
)])]),
e
.
_v
(
" "
),
e
.
formData
.
cardTempData
.
length
?
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"el-table"
,{
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
},
attrs
:{
height
:
"450"
,
data
:
e
.
formData
.
cardTempData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"卡券模板名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
templateName
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券类型"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
0
==
t
.
row
.
cardType
?
a
(
"span"
,[
e
.
_v
(
"抵金券"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
t
.
row
.
cardType
?
a
(
"span"
,[
e
.
_v
(
"折扣券"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"有效期"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-select"
,{
attrs
:{
placeholder
:
""
},
model
:{
value
:
t
.
row
.
dataType
,
callback
:
function
(
a
){
e
.
$set
(
t
.
row
,
"dataType"
,
a
)},
expression
:
"scope.row.dataType"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"固定日期"
,
value
:
"0"
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"发送后"
,
value
:
"1"
}})],
1
),
e
.
_v
(
" "
),
0
==
t
.
row
.
dataType
?
a
(
"el-date-picker"
,{
staticClass
:
"m-l-10 m-r-10"
,
attrs
:{
"prefix-icon"
:
"el-icon-time"
,
"picker-options"
:
e
.
pickerOptions
,
editable
:
!
1
,
"value-format"
:
"yyyy-MM-dd"
,
type
:
"daterange"
,
align
:
"right"
,
"unlink-panels"
:
""
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始时间"
,
"end-placeholder"
:
"结束时间"
},
on
:{
change
:
e
.
changeDate
},
model
:{
value
:
t
.
row
.
dateRange
,
callback
:
function
(
a
){
e
.
$set
(
t
.
row
,
"dateRange"
,
a
)},
expression
:
"scope.row.dateRange"
}}):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
t
.
row
.
dataType
?
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
t
.
row
.
dateDay
,
callback
:
function
(
a
){
e
.
$set
(
t
.
row
,
"dateDay"
,
a
)},
expression
:
"scope.row.dateDay"
}},
e
.
_l
(
e
.
dateOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})):
e
.
_e
(),
1
==
t
.
row
.
dataType
?
a
(
"span"
,{
staticClass
:
"font-14 color-606266 p-l-10"
},[
e
.
_v
(
"有效,有效天数"
)]):
e
.
_e
(),
1
==
t
.
row
.
dataType
?
a
(
"el-input-number"
,{
attrs
:{
"controls-position"
:
"right"
,
min
:
1
,
max
:
366
},
model
:{
value
:
t
.
row
.
dateDayNum
,
callback
:
function
(
a
){
e
.
$set
(
t
.
row
,
"dateDayNum"
,
a
)},
expression
:
"scope.row.dateDayNum"
}}):
e
.
_e
(),
1
==
t
.
row
.
dataType
?
a
(
"span"
,{
staticClass
:
"font-14 color-606266 p-l-10"
},[
e
.
_v
(
"天"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"发送总数"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-select"
,{
attrs
:{
placeholder
:
""
},
model
:{
value
:
t
.
row
.
limitType
,
callback
:
function
(
a
){
e
.
$set
(
t
.
row
,
"limitType"
,
a
)},
expression
:
"scope.row.limitType"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"限制总数"
,
value
:
"0"
}})],
1
),
a
(
"el-input-number"
,{
attrs
:{
"controls-position"
:
"right"
,
min
:
1
,
max
:
999999999
},
model
:{
value
:
t
.
row
.
dateDayNum
,
callback
:
function
(
a
){
e
.
$set
(
t
.
row
,
"dateDayNum"
,
a
)},
expression
:
"scope.row.dateDayNum"
}})]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"操作"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
toDelTemp
(
t
.
$index
,
t
.
row
,
e
.
formData
.
cardTempData
)}}},[
e
.
_v
(
"删除"
)])]}}])})],
1
)],
1
):
e
.
_e
()])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"item-title font-14 color-303133 font-w-600"
},[
e
.
_v
(
"执行策略"
)]),
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
.
changeSendType
},
model
:{
value
:
e
.
formData
.
sendType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"sendType"
,
t
)},
expression
:
"formData.sendType"
}},[
e
.
_v
(
"全企业"
)]),
a
(
"el-radio"
,{
staticClass
:
"m-l-40"
,
attrs
:{
label
:
"1"
},
on
:{
change
:
e
.
changeSendType
},
model
:{
value
:
e
.
formData
.
sendType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"sendType"
,
t
)},
expression
:
"formData.sendType"
}},[
a
(
"span"
,{
on
:{
click
:
e
.
clickSendType
}},[
e
.
_v
(
"部分部门"
)])]),
e
.
_v
(
" "
),
0
==
e
.
formData
.
sendType
?
a
(
"div"
,{
staticClass
:
"position-select"
},[
a
(
"div"
,{
staticClass
:
"position-check"
},[
a
(
"el-checkbox"
,{
model
:{
value
:
e
.
formData
.
filterCheck
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"filterCheck"
,
t
)},
expression
:
"formData.filterCheck"
}},[
e
.
_v
(
"按职务筛选"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"position-check-tags"
},[
a
(
"el-checkbox"
,{
model
:{
value
:
e
.
formData
.
noPosition
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"noPosition"
,
t
)},
expression
:
"formData.noPosition"
}},[
e
.
_v
(
"无职务"
)]),
e
.
_v
(
" "
),
e
.
_l
(
e
.
formData
.
filterData
,
function
(
t
){
return
a
(
"el-tag"
,{
key
:
t
,
attrs
:{
closable
:
""
,
"disable-transitions"
:
!
1
},
on
:{
close
:
function
(
a
){
e
.
handleClose
(
t
)}}},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
)
+
"
\
n "
)])}),
e
.
_v
(
" "
),
e
.
inputVisible
?
a
(
"el-input"
,{
ref
:
"saveTagInput"
,
staticClass
:
"input-new-tag"
,
attrs
:{
size
:
"small"
,
maxlength
:
"20"
,
"show-word-limit"
:
""
},
on
:{
blur
:
e
.
handleInputConfirm
},
nativeOn
:{
keyup
:
function
(
t
){
return
"button"
in
t
||!
e
.
_k
(
t
.
keyCode
,
"enter"
,
13
,
t
.
key
,
"Enter"
)?
e
.
handleInputConfirm
(
t
):
null
}},
model
:{
value
:
e
.
inputValue
,
callback
:
function
(
t
){
e
.
inputValue
=
t
},
expression
:
"inputValue"
}}):
a
(
"el-button"
,{
staticClass
:
"button-new-tag"
,
attrs
:{
size
:
"small"
},
on
:{
click
:
e
.
showInput
}},[
e
.
_v
(
"+ 添加职务"
)])],
2
)]):
e
.
_e
()],
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
.
executeType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"executeType"
,
t
)},
expression
:
"formData.executeType"
}},[
e
.
_v
(
"每月循环"
)]),
a
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
model
:{
value
:
e
.
formData
.
executeType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"executeType"
,
t
)},
expression
:
"formData.executeType"
}},[
e
.
_v
(
"多月循环"
)]),
e
.
_v
(
" "
),
0
==
e
.
formData
.
executeType
?
a
(
"div"
,{
staticClass
:
"m-t-10"
},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266 p-r-10"
},[
e
.
_v
(
"每月"
)]),
a
(
"el-input-number"
,{
attrs
:{
"controls-position"
:
"right"
,
min
:
1
,
max
:
9999
},
model
:{
value
:
e
.
formData
.
monthNum
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"monthNum"
,
t
)},
expression
:
"formData.monthNum"
}}),
a
(
"span"
,{
staticClass
:
"font-14 color-303133 p-l-10"
},[
e
.
_v
(
" 次"
)])],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
e
.
formData
.
executeType
?
a
(
"div"
,{
staticClass
:
"m-t-10"
},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266 p-r-10"
},[
e
.
_v
(
"第"
)]),
a
(
"el-select"
,{
attrs
:{
multiple
:
""
,
placeholder
:
"请选择"
},
model
:{
value
:
e
.
formData
.
multMonth
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"multMonth"
,
t
)},
expression
:
"formData.multMonth"
}},
e
.
_l
(
e
.
monthOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})),
a
(
"el-input-number"
,{
staticClass
:
"m-l-10"
,
staticStyle
:{
"vertical-align"
:
"middle"
},
attrs
:{
"controls-position"
:
"right"
,
min
:
1
,
max
:
9999
},
model
:{
value
:
e
.
formData
.
multMonthNum
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"multMonthNum"
,
t
)},
expression
:
"formData.multMonthNum"
}})],
1
):
e
.
_e
()],
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"
}},[
e
.
_v
(
"
\
n 策略有效期
\
n "
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-form-item__content"
,
staticStyle
:{
"margin-left"
:
"120px"
}},[
a
(
"el-radio"
,{
attrs
:{
label
:
"0"
},
model
:{
value
:
e
.
formData
.
vaildDateType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"vaildDateType"
,
t
)},
expression
:
"formData.vaildDateType"
}},[
e
.
_v
(
"长期有效"
)]),
a
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
model
:{
value
:
e
.
formData
.
vaildDateType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"vaildDateType"
,
t
)},
expression
:
"formData.vaildDateType"
}},[
e
.
_v
(
"固定期限"
)]),
e
.
_v
(
" "
),
1
==
e
.
formData
.
vaildDateType
?
a
(
"div"
,[
a
(
"el-date-picker"
,{
staticClass
:
"m-l-10 m-r-10"
,
attrs
:{
"prefix-icon"
:
"el-icon-time"
,
"picker-options"
:
e
.
pickerOptions
,
editable
:
!
1
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
"default-time"
:[
"00:00:00"
,
"23:59:59"
],
type
:
"datetimerange"
,
align
:
"right"
,
"unlink-panels"
:
""
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
},
model
:{
value
:
e
.
formData
.
validDateRange
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"validDateRange"
,
t
)},
expression
:
"formData.validDateRange"
}})],
1
):
e
.
_e
()],
1
)]),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
cancelEdit
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"确认"
+
e
.
_s
(
e
.
$route
.
query
.
coupCardId
?
"编辑"
:
"新建"
))]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
,
"flag"
)}}},[
e
.
_v
(
"确认并继续新建"
)])],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
e
.
cardTempShow
?
a
(
"select-card-template"
,{
attrs
:{
selectTemp
:
e
.
formData
.
cardTempData
},
on
:{
returnData
:
e
.
returnData
,
closeTemp
:
e
.
closeTemp
}}):
e
.
_e
(),
e
.
_v
(
" "
),
a
(
"select-wx-depart"
,{
directives
:[{
name
:
"show"
,
rawName
:
"v-show"
,
value
:
e
.
departShow
,
expression
:
"departShow"
}],
attrs
:{
departArr
:
e
.
formData
.
departData
},
on
:{
refreshData
:
e
.
refreshData
}})],
1
)},
staticRenderFns
:[]};
var
T
=
a
(
"VU/8"
)(
C
,
w
,
!
1
,
function
(
e
){
a
(
"H4SC"
)},
"data-v-a9d55988"
,
null
);
t
.
default
=
T
.
exports
},
F9cA
:
function
(
e
,
t
){},
H4SC
:
function
(
e
,
t
){},
lg11
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/1
1.59c87174f09911b8256b
.js
→
dist/static/js/1
0.f64bf1b4c969dc8e4324
.js
View file @
b4b165bd
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
}});
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
\ No newline at end of file
dist/static/js/1
2.e8cd784bf481f550c76
6.js
→
dist/static/js/1
1.234de60fe9d347a9b24
6.js
View file @
b4b165bd
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
}});
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
\ No newline at end of file
dist/static/js/12.d7b846fd0442631e1df8.js
0 → 100644
View file @
b4b165bd
webpackJsonp
([
12
],{
"8Rwt"
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"mvHQ"
),
r
=
a
.
n
(
o
),
n
=
a
(
"l46T"
),
s
=
a
(
"3Xzz"
),
i
=
a
(
"Qs+A"
),
l
=
a
(
"P9l9"
),
c
=
a
(
"Ch4/"
),
d
=
{
name
:
"select-card-template"
,
props
:{
selectTemp
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
[]}}},
data
:
function
(){
return
{
dialogVisible
:
!
0
,
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
tableData
:[],
multipleSelection
:[]}},
computed
:{},
methods
:{
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
handleClose
:
function
(){
this
.
$emit
(
"closeTemp"
)},
submitForm
:
function
(){
this
.
$emit
(
"returnData"
,
this
.
multipleSelection
)},
changeRoute
:
function
(
e
){
this
.
$router
.
push
(
e
)},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
getTableList
:
function
(
e
){
var
t
=
this
,
a
=
{
keyWord
:
t
.
searchInput
||
""
,
taskId
:
t
.
taskId
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
};
Object
(
l
.
a
)(
"/haoban-manage3-web/sync-task-detail"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
1
==
a
.
errorCode
)
return
t
.
tableData
=
a
.
result
.
result
||
[],
t
.
total
=
a
.
result
.
totalCount
,
!
1
;
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
selectTemp
:
function
(
e
,
t
){
var
a
=
this
;
if
(
e
.
length
){
var
o
=
e
.
map
(
function
(
e
){
return
e
.
templateId
});
a
.
tableData
.
forEach
(
function
(
e
){
o
.
includes
(
e
.
templateId
)
&&
a
.
$refs
.
multipleTable
.
toggleRowSelection
(
e
)})}}},
mounted
:
function
(){
this
.
getTableList
(),
document
.
documentElement
.
style
.
backgroundColor
=
"#f0f2f5"
},
destroyed
:
function
(){
document
.
documentElement
.
style
.
backgroundColor
=
"#fff"
},
components
:{
navCrumb
:
s
.
a
,
setDepartment
:
i
.
a
}},
u
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
"选择模板"
,
visible
:
e
.
dialogVisible
,
width
:
"700px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
}}},[
a
(
"div"
,{},[
a
(
"el-table"
,{
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
,
minHeight
:
e
.
tableH
},
attrs
:{
height
:
"450"
,
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"55"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"卡券模板名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
dataName
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券类型"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
0
==
t
.
row
.
cardType
?
a
(
"span"
,[
e
.
_v
(
"抵金券"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
t
.
row
.
cardType
?
a
(
"span"
,[
e
.
_v
(
"折扣券"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"提交人"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
chainName
)
+
"
\
n "
)]}}])})],
1
)],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
e
.
handleClose
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
submitForm
}},[
e
.
_v
(
"确定"
)])],
1
)])},
staticRenderFns
:[]};
var
p
=
a
(
"VU/8"
)(
d
,
u
,
!
1
,
function
(
e
){
a
(
"lg11"
)},
"data-v-8489b39a"
,
null
).
exports
,
m
=
a
(
"Xxa5"
),
f
=
a
.
n
(
m
),
h
=
a
(
"exGp"
),
v
=
a
.
n
(
h
),
g
=
{
name
:
"select-wx-depart"
,
components
:{},
props
:{
departShow
:{
type
:
Boolean
,
default
:
function
(){
return
!
1
}},
departArr
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
[]}}},
data
:
function
(){
return
{
selDepart
:[],
groupNodes
:[],
groupData
:[],
departVisible
:
!
1
,
checkedKeys
:
this
.
departArr
.
length
?
this
.
departArr
.
map
(
function
(
e
){
return
e
.
departmentId
}):[],
defaultProps
:{
children
:
"children"
,
label
:
"departmentName"
,
isLeaf
:
"isLeaf"
},
checkList
:[]}},
methods
:{
loadNode
:
function
(
e
,
t
){
var
a
=
this
;
return
v
()(
f
.
a
.
mark
(
function
o
(){
var
r
;
return
f
.
a
.
wrap
(
function
(
o
){
for
(;;)
switch
(
o
.
prev
=
o
.
next
){
case
0
:
if
(
console
.
log
(
"load:"
,
e
,
t
),
r
=
a
,
0
!==
e
.
level
){
o
.
next
=
6
;
break
}
return
o
.
abrupt
(
"return"
,
t
(
r
.
getGroup
()));
case
6
:
return
o
.
next
=
8
,
r
.
getGroup
(
e
,
e
.
data
,
t
);
case
8
:
case
"end"
:
return
o
.
stop
()}},
o
,
a
)}))()},
checkGroup
:
function
(
e
){
this
.
groupNodes
=
this
.
$refs
.
groupTrees
.
getCheckedNodes
()},
toRight
:
function
(){
this
.
selDepart
=
this
.
$refs
.
groupTrees
.
getCheckedNodes
()},
toLeft
:
function
(){
var
e
=
this
,
t
=
[];
e
.
selDepart
.
forEach
(
function
(
a
){
e
.
checkList
.
includes
(
a
.
departmentId
)
||
t
.
push
(
a
)}),
e
.
selDepart
=
t
,
e
.
$refs
.
tree
.
setCheckedNodes
(
e
.
selDepart
)},
handleClose
:
function
(
e
){
this
.
$emit
(
"refreshData"
,
"close"
),
e
()},
cancel
:
function
(){
this
.
$emit
(
"refreshData"
,
"close"
)},
submitForm
:
function
(
e
){
var
t
=
this
;
if
(
""
==
t
.
partForm
.
departmentName
)
return
!
1
;
t
.
$refs
[
e
].
validate
(
function
(
e
){
if
(
!
e
)
return
!
1
;
t
.
$emit
(
"refreshData"
,
t
.
selDepart
)})},
getGroup
:
function
(
e
,
t
,
a
){
var
o
=
this
,
r
=
{
parentId
:
t
?
t
.
departmentId
:
""
,
isStore
:
0
};
if
(
e
&&
(
!
t
.
hasSonNode
||
1
==
t
.
isStore
))
return
a
([]),
!
1
;
Object
(
l
.
a
)(
"/haoban-manage3-web/department-list-level"
,
r
).
then
(
function
(
r
){
var
n
=
r
.
data
;
if
(
1
==
n
.
errorCode
)
return
n
.
result
&&
n
.
result
.
length
&&
n
.
result
.
forEach
(
function
(
e
){
e
.
expand
=!
1
,
e
.
children
=
[],
e
.
label
=
e
.
departmentName
,
e
.
isLeaf
=!
e
.
hasSonNode
}),
e
?(
a
(
n
.
result
),
t
.
children
||
o
.
$set
(
t
,
"children"
,[]),
t
.
children
=
n
.
result
||
[],
o
.
$forceUpdate
(),
!
1
):(
o
.
groupData
=
n
.
result
||
[],
void
console
.
log
(
o
.
groupData
));
c
.
a
.
errorMsg
(
n
)}).
catch
(
function
(
e
){
o
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
departShow
:
function
(
e
){
this
.
departVisible
=
e
},
departArr
:
function
(
e
){
e
.
length
&&
(
this
.
selDepart
=
JSON
.
parse
(
r
()(
e
)))}},
mounted
:
function
(){
this
.
departVisible
=
this
.
departShow
,
this
.
getGroup
(),
this
.
departArr
.
length
&&
(
this
.
selDepart
=
JSON
.
parse
(
r
()(
this
.
departArr
)))}},
b
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"el-dialog"
,{
attrs
:{
width
:
"600px"
,
title
:
"选择部门"
,
visible
:
e
.
departVisible
,
"append-to-body"
:
""
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
departVisible
=
t
}}},[
a
(
"div"
,{
staticClass
:
"depart-transfor"
},[
a
(
"div"
,{
staticClass
:
"depart-transfor-left"
},[
a
(
"div"
,{
staticClass
:
"transfor-header flex flex-space-between"
},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
e
.
_v
(
"组织架构"
)]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-12 color-909399"
})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"transfor-body"
},[
a
(
"div"
,{
staticClass
:
"transfor-body-tree"
},[
a
(
"el-tree"
,{
ref
:
"groupTrees"
,
attrs
:{
data
:
e
.
groupData
,
load
:
e
.
loadNode
,
"default-checked-keys"
:
e
.
checkedKeys
,
"node-key"
:
"departmentId"
,
"check-strictly"
:
""
,
lazy
:
""
,
"show-checkbox"
:
""
,
props
:
e
.
defaultProps
},
on
:{
check
:
e
.
checkGroup
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
var
o
=
t
.
node
,
r
=
t
.
data
;
return
a
(
"span"
,{
staticClass
:
"custom-tree-node"
},[
a
(
"span"
,{
class
:[
"font-14 p-r-10 iconfont"
,
1
==
r
.
isStore
?
"icondianpu-kuai"
:
"iconqiye-tianchong"
,
1
==
r
.
bindFlag
?
"color-2f54eb"
:
"color-dedfe6"
]}),
a
(
"span"
,{
staticClass
:
"font-14 color-606266"
},[
e
.
_v
(
e
.
_s
(
o
.
label
))])])}}])})],
1
)])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"depart-transfor-middle"
},[
a
(
"div"
,{
staticClass
:
"m-b-10"
},[
a
(
"el-button"
,{
attrs
:{
disabled
:
!
e
.
groupNodes
.
length
,
type
:
"primary"
,
icon
:
"el-icon-arrow-right"
},
on
:{
click
:
e
.
toRight
}},[
e
.
_v
(
"转入"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,[
a
(
"el-button"
,{
attrs
:{
disabled
:
!
e
.
checkList
.
length
,
type
:
"primary"
,
icon
:
"el-icon-arrow-left"
},
on
:{
click
:
e
.
toLeft
}},[
e
.
_v
(
"移除"
)])],
1
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"depart-transfor-right"
},[
a
(
"div"
,{
staticClass
:
"transfor-header flex flex-space-between"
},[
a
(
"span"
,{
staticClass
:
"font-14 color-303133"
},[
e
.
_v
(
"已选"
)]),
e
.
_v
(
" "
),
a
(
"span"
,{
staticClass
:
"font-12 color-909399"
})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"select-body"
},[
a
(
"div"
,{
staticClass
:
"select-body-list"
},[
a
(
"el-checkbox-group"
,{
model
:{
value
:
e
.
checkList
,
callback
:
function
(
t
){
e
.
checkList
=
t
},
expression
:
"checkList"
}},[
a
(
"div"
,
e
.
_l
(
e
.
selDepart
,
function
(
t
,
o
){
return
a
(
"el-checkbox"
,{
key
:
o
+
"sel"
,
attrs
:{
label
:
t
.
departmentId
}},[
e
.
_v
(
e
.
_s
(
t
.
departmentName
))])}))])],
1
)])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
e
.
cancel
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"partForm"
)}}},[
e
.
_v
(
"确定"
)])],
1
)])},
staticRenderFns
:[]};
var
y
=
a
(
"VU/8"
)(
g
,
b
,
!
1
,
function
(
e
){
a
(
"iKAi"
)},
"data-v-23a952c8"
,
null
).
exports
,
D
=
a
(
"3E4D"
),
_
=
a
(
"PI0u"
),
C
=
{
name
:
"chat-log"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
components
:{
limitInput
:
n
.
a
,
selectCardTemplate
:
p
,
selectWxDepart
:
y
},
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
:{
cardStrategyId
:
""
,
cardStrategyName
:
""
,
cardTempData
:[{
templateName
:
""
,
cardType
:
0
,
dataType
:
0
,
dateRange
:[],
dateDay
:
""
,
dateDayNum
:
"50000"
,
limitType
:
0
,
limitCount
:
""
}],
sendType
:
0
,
filterCheck
:
!
1
,
noPosition
:
!
1
,
filterData
:[],
departData
:[],
executeType
:
0
,
monthNum
:
""
,
multMonth
:[],
multMonthNum
:
""
,
vaildDateType
:
""
,
validDateRange
:[]},
rules
:{
coupCardId
:[{
required
:
!
0
,
message
:
"请选择卡券"
,
trigger
:
"change"
}],
sendRange
:[{
validator
:
function
(
t
,
a
,
o
){
return
""
==
a
?
o
(
new
Error
(
"请选择发送范围"
)):
"1"
!=
a
&&
"2"
!=
a
||
e
.
formData
.
selectList
.
length
?
void
o
():
o
(
new
Error
(
"请选择发送范围"
))},
trigger
:
"change"
}],
sendType
:[{
validator
:
function
(
t
,
a
,
o
){
return
""
==
a
?
o
(
new
Error
(
"请选择券发放总数"
)):
"1"
!=
a
||
e
.
formData
.
totalSendTimes
?
void
o
():
o
(
new
Error
(
"请选择券发放总数"
))},
trigger
:
"change"
}],
eachSendTimes
:[{
required
:
!
0
,
message
:
"请输入券发放张数"
,
trigger
:
"blur"
}]},
cardSelectShow
:
!
1
,
choiceDateCopy
:[],
pickerOptions
:{
onPick
:
function
(
t
){
var
a
=
t
.
maxDate
,
o
=
t
.
minDate
;
e
.
choiceDateCopy
=
[
o
.
getTime
()],
a
&&
(
e
.
choiceDateCopy
=
[])},
disabledDate
:
function
(
t
){
if
(
e
.
choiceDateCopy
.
length
){
var
a
=
e
.
choiceDateCopy
[
0
]
-
31536
e6
,
o
=
e
.
choiceDateCopy
[
0
]
+
31536
e6
;
return
t
.
getTime
()
<
a
||
t
.
getTime
()
>
o
||
t
.
getTime
()
>
Date
.
now
()
-
864
e4
}
return
t
.
getTime
()
<
Date
.
now
()
-
864
e4
}},
dateOptions
:[],
monthOptions
:[],
inputVisible
:
!
1
,
inputValue
:
""
,
cardTempShow
:
!
1
,
departShow
:
!
1
}},
methods
:{
changeSendType
:
function
(){
1
==
this
.
formData
.
sendType
?
this
.
departShow
=!
0
:
this
.
departShow
=!
1
},
clickSendType
:
function
(){
this
.
departShow
=!
0
},
refreshData
:
function
(
e
){
if
(
this
.
departShow
=!
1
,
"close"
==
e
)
return
!
1
;
this
.
formData
.
departData
=
e
},
cancelEdit
:
function
(){
var
e
=
this
;
e
.
$confirm
(
"是否确认返回,返回后当前页面内容将丢失"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
e
.
$router
.
go
(
-
1
)}).
catch
(
function
(){})},
showCardTemp
:
function
(){
this
.
cardTempShow
=!
0
},
returnData
:
function
(
e
){
e
.
forEach
(
function
(
e
){
e
.
dataType
=
0
,
e
.
dateRange
=
[],
e
.
dateDay
=
""
,
e
.
dateDayNum
=
"50000"
,
e
.
limitType
=
0
,
e
.
limitCount
=
""
}),
this
.
formData
.
cardTempData
=
JSON
.
parse
(
r
()(
e
)),
this
.
cardTempShow
=!
1
},
closeTemp
:
function
(){
this
.
cardTempShow
=!
1
},
handleClose
:
function
(
e
){
this
.
formData
.
filterData
.
splice
(
this
.
formData
.
filterData
.
indexOf
(
e
),
1
)},
showInput
:
function
(){
var
e
=
this
;
e
.
inputVisible
=!
0
,
e
.
$nextTick
(
function
(
t
){
e
.
$refs
.
saveTagInput
.
$refs
.
input
.
focus
()})},
handleInputConfirm
:
function
(){
var
e
=
this
.
inputValue
;
e
&&
this
.
formData
.
filterData
.
push
(
e
),
this
.
inputVisible
=!
1
,
this
.
inputValue
=
""
},
toDelTemp
:
function
(
e
,
t
,
a
){
a
.
splice
(
e
,
1
)},
handleDay
:
function
(){
for
(
var
e
=
[],
t
=
0
;
t
<
91
;
t
++
)
0
==
t
?
e
.
push
({
label
:
"当天"
,
value
:
String
(
t
)}):
e
.
push
({
label
:
"第"
+
t
+
"天"
,
value
:
String
(
t
)});
this
.
dateOptions
=
e
,
this
.
monthOptions
=
[];
for
(
var
a
=
1
;
a
<
13
;
a
++
)
this
.
monthOptions
.
push
({
label
:
a
+
"月"
,
value
:
String
(
a
)})},
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
(
_
.
a
)(
function
(
e
,
t
){
var
a
=
this
;
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
,
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
(
l
.
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
o
=
a
.
data
;
1
==
o
.
errorCode
&&
(
D
.
a
.
showmsg
(
t
.
$route
.
query
.
coupCardId
?
"编辑卡券策略成功"
:
"新建卡券策略成功"
,
"success"
),
e
?(
t
.
formData
=
{
id
:
""
,
coupCardId
:
""
,
sendRange
:
"0"
,
selectList
:[],
eachSendTimes
:
3
,
sendType
:
"0"
,
totalSendTimes
:
0
},
t
.
selectCoupCard
=
{}):
t
.
$router
.
push
(
"/cardList"
)),
c
.
a
.
errorMsg
(
o
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
changeRange
:
function
(
e
){
this
.
formData
.
selectList
=
[]},
getCardData
:
function
(){
var
e
=
this
,
t
=
{
coupCardId
:
e
.
$route
.
query
.
coupCardId
,
gicEnterpriseId
:
e
.
brandId
};
Object
(
l
.
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
.
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
;
c
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
this
.
$route
.
query
.
coupCardId
&&
(
this
.
activeBrand
=
e
,
this
.
getCardData
())},
activeGroupId
:
function
(
e
,
t
){
e
&&
(
this
.
activeGroup
=
e
)}},
mounted
:
function
(){
var
e
=
this
;
e
.
$emit
(
"showTab"
,
"2"
),
e
.
$nextTick
(
function
(){
e
.
handleDay
()}),
e
.
activeBrand
=
e
.
brandId
,
e
.
$route
.
query
.
coupCardId
&&
e
.
brandId
&&
e
.
getCardData
()}},
w
=
{
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
:
"cardStrategyName"
}},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
inputValue
:
e
.
formData
.
cardStrategyName
,
getByType
:
"word"
,
holder
:
"请输入卡券策略名称"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"cardStrategyName"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"item-title font-14 color-303133 font-w-600"
},[
e
.
_v
(
"卡券选择策略"
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-form-item el-form-item--large is-required"
},[
a
(
"label"
,{
staticClass
:
"el-form-item__label"
,
staticStyle
:{
width
:
"120px"
,
cursor
:
"pointer"
},
attrs
:{
for
:
"name"
}},[
a
(
"el-tooltip"
,{
staticClass
:
"item"
,
attrs
:{
effect
:
"dark"
,
content
:
"支持多选,最多可选20个模板"
,
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
(
"div"
,{
staticClass
:
"card-add-btn text-center cursor-pointer"
,
on
:{
click
:
e
.
showCardTemp
}},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266"
},[
e
.
_v
(
"选择卡券模板"
)])]),
e
.
_v
(
" "
),
e
.
formData
.
cardTempData
.
length
?
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"el-table"
,{
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
},
attrs
:{
height
:
"450"
,
data
:
e
.
formData
.
cardTempData
,
"tooltip-effect"
:
"dark"
}},[
a
(
"el-table-column"
,{
attrs
:{
label
:
"卡券模板名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
templateName
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"卡券类型"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
0
==
t
.
row
.
cardType
?
a
(
"span"
,[
e
.
_v
(
"抵金券"
)]):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
t
.
row
.
cardType
?
a
(
"span"
,[
e
.
_v
(
"折扣券"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"有效期"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-select"
,{
attrs
:{
placeholder
:
""
},
model
:{
value
:
t
.
row
.
dataType
,
callback
:
function
(
a
){
e
.
$set
(
t
.
row
,
"dataType"
,
a
)},
expression
:
"scope.row.dataType"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"固定日期"
,
value
:
"0"
}}),
e
.
_v
(
" "
),
a
(
"el-option"
,{
attrs
:{
label
:
"发送后"
,
value
:
"1"
}})],
1
),
e
.
_v
(
" "
),
0
==
t
.
row
.
dataType
?
a
(
"el-date-picker"
,{
staticClass
:
"m-l-10 m-r-10"
,
attrs
:{
"prefix-icon"
:
"el-icon-time"
,
"picker-options"
:
e
.
pickerOptions
,
editable
:
!
1
,
"value-format"
:
"yyyy-MM-dd"
,
type
:
"daterange"
,
align
:
"right"
,
"unlink-panels"
:
""
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始时间"
,
"end-placeholder"
:
"结束时间"
},
on
:{
change
:
e
.
changeDate
},
model
:{
value
:
t
.
row
.
dateRange
,
callback
:
function
(
a
){
e
.
$set
(
t
.
row
,
"dateRange"
,
a
)},
expression
:
"scope.row.dateRange"
}}):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
t
.
row
.
dataType
?
a
(
"el-select"
,{
attrs
:{
placeholder
:
"请选择"
},
model
:{
value
:
t
.
row
.
dateDay
,
callback
:
function
(
a
){
e
.
$set
(
t
.
row
,
"dateDay"
,
a
)},
expression
:
"scope.row.dateDay"
}},
e
.
_l
(
e
.
dateOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})):
e
.
_e
(),
1
==
t
.
row
.
dataType
?
a
(
"span"
,{
staticClass
:
"font-14 color-606266 p-l-10"
},[
e
.
_v
(
"有效,有效天数"
)]):
e
.
_e
(),
1
==
t
.
row
.
dataType
?
a
(
"el-input-number"
,{
attrs
:{
"controls-position"
:
"right"
,
min
:
1
,
max
:
366
},
model
:{
value
:
t
.
row
.
dateDayNum
,
callback
:
function
(
a
){
e
.
$set
(
t
.
row
,
"dateDayNum"
,
a
)},
expression
:
"scope.row.dateDayNum"
}}):
e
.
_e
(),
1
==
t
.
row
.
dataType
?
a
(
"span"
,{
staticClass
:
"font-14 color-606266 p-l-10"
},[
e
.
_v
(
"天"
)]):
e
.
_e
()]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"发送总数"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-select"
,{
attrs
:{
placeholder
:
""
},
model
:{
value
:
t
.
row
.
limitType
,
callback
:
function
(
a
){
e
.
$set
(
t
.
row
,
"limitType"
,
a
)},
expression
:
"scope.row.limitType"
}},[
a
(
"el-option"
,{
attrs
:{
label
:
"限制总数"
,
value
:
"0"
}})],
1
),
a
(
"el-input-number"
,{
attrs
:{
"controls-position"
:
"right"
,
min
:
1
,
max
:
999999999
},
model
:{
value
:
t
.
row
.
dateDayNum
,
callback
:
function
(
a
){
e
.
$set
(
t
.
row
,
"dateDayNum"
,
a
)},
expression
:
"scope.row.dateDayNum"
}})]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"操作"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
toDelTemp
(
t
.
$index
,
t
.
row
,
e
.
formData
.
cardTempData
)}}},[
e
.
_v
(
"删除"
)])]}}])})],
1
)],
1
):
e
.
_e
()])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"item-title font-14 color-303133 font-w-600"
},[
e
.
_v
(
"执行策略"
)]),
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
.
changeSendType
},
model
:{
value
:
e
.
formData
.
sendType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"sendType"
,
t
)},
expression
:
"formData.sendType"
}},[
e
.
_v
(
"全企业"
)]),
a
(
"el-radio"
,{
staticClass
:
"m-l-40"
,
attrs
:{
label
:
"1"
},
on
:{
change
:
e
.
changeSendType
},
model
:{
value
:
e
.
formData
.
sendType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"sendType"
,
t
)},
expression
:
"formData.sendType"
}},[
a
(
"span"
,{
on
:{
click
:
e
.
clickSendType
}},[
e
.
_v
(
"部分部门"
)])]),
e
.
_v
(
" "
),
0
==
e
.
formData
.
sendType
?
a
(
"div"
,{
staticClass
:
"position-select"
},[
a
(
"div"
,{
staticClass
:
"position-check"
},[
a
(
"el-checkbox"
,{
model
:{
value
:
e
.
formData
.
filterCheck
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"filterCheck"
,
t
)},
expression
:
"formData.filterCheck"
}},[
e
.
_v
(
"按职务筛选"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"position-check-tags"
},[
a
(
"el-checkbox"
,{
model
:{
value
:
e
.
formData
.
noPosition
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"noPosition"
,
t
)},
expression
:
"formData.noPosition"
}},[
e
.
_v
(
"无职务"
)]),
e
.
_v
(
" "
),
e
.
_l
(
e
.
formData
.
filterData
,
function
(
t
){
return
a
(
"el-tag"
,{
key
:
t
,
attrs
:{
closable
:
""
,
"disable-transitions"
:
!
1
},
on
:{
close
:
function
(
a
){
e
.
handleClose
(
t
)}}},[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
)
+
"
\
n "
)])}),
e
.
_v
(
" "
),
e
.
inputVisible
?
a
(
"el-input"
,{
ref
:
"saveTagInput"
,
staticClass
:
"input-new-tag"
,
attrs
:{
size
:
"small"
,
maxlength
:
"20"
,
"show-word-limit"
:
""
},
on
:{
blur
:
e
.
handleInputConfirm
},
nativeOn
:{
keyup
:
function
(
t
){
return
"button"
in
t
||!
e
.
_k
(
t
.
keyCode
,
"enter"
,
13
,
t
.
key
,
"Enter"
)?
e
.
handleInputConfirm
(
t
):
null
}},
model
:{
value
:
e
.
inputValue
,
callback
:
function
(
t
){
e
.
inputValue
=
t
},
expression
:
"inputValue"
}}):
a
(
"el-button"
,{
staticClass
:
"button-new-tag"
,
attrs
:{
size
:
"small"
},
on
:{
click
:
e
.
showInput
}},[
e
.
_v
(
"+ 添加职务"
)])],
2
)]):
e
.
_e
()],
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
.
executeType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"executeType"
,
t
)},
expression
:
"formData.executeType"
}},[
e
.
_v
(
"每月循环"
)]),
a
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
model
:{
value
:
e
.
formData
.
executeType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"executeType"
,
t
)},
expression
:
"formData.executeType"
}},[
e
.
_v
(
"多月循环"
)]),
e
.
_v
(
" "
),
0
==
e
.
formData
.
executeType
?
a
(
"div"
,{
staticClass
:
"m-t-10"
},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266 p-r-10"
},[
e
.
_v
(
"每月"
)]),
a
(
"el-input-number"
,{
attrs
:{
"controls-position"
:
"right"
,
min
:
1
,
max
:
9999
},
model
:{
value
:
e
.
formData
.
monthNum
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"monthNum"
,
t
)},
expression
:
"formData.monthNum"
}}),
a
(
"span"
,{
staticClass
:
"font-14 color-303133 p-l-10"
},[
e
.
_v
(
" 次"
)])],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
1
==
e
.
formData
.
executeType
?
a
(
"div"
,{
staticClass
:
"m-t-10"
},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266 p-r-10"
},[
e
.
_v
(
"第"
)]),
a
(
"el-select"
,{
attrs
:{
multiple
:
""
,
placeholder
:
"请选择"
},
model
:{
value
:
e
.
formData
.
multMonth
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"multMonth"
,
t
)},
expression
:
"formData.multMonth"
}},
e
.
_l
(
e
.
monthOptions
,
function
(
e
){
return
a
(
"el-option"
,{
key
:
e
.
value
,
attrs
:{
label
:
e
.
label
,
value
:
e
.
value
}})})),
a
(
"el-input-number"
,{
staticClass
:
"m-l-10"
,
staticStyle
:{
"vertical-align"
:
"middle"
},
attrs
:{
"controls-position"
:
"right"
,
min
:
1
,
max
:
9999
},
model
:{
value
:
e
.
formData
.
multMonthNum
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"multMonthNum"
,
t
)},
expression
:
"formData.multMonthNum"
}})],
1
):
e
.
_e
()],
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"
}},[
e
.
_v
(
"
\
n 策略有效期
\
n "
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-form-item__content"
,
staticStyle
:{
"margin-left"
:
"120px"
}},[
a
(
"el-radio"
,{
attrs
:{
label
:
"0"
},
model
:{
value
:
e
.
formData
.
vaildDateType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"vaildDateType"
,
t
)},
expression
:
"formData.vaildDateType"
}},[
e
.
_v
(
"长期有效"
)]),
a
(
"el-radio"
,{
attrs
:{
label
:
"1"
},
model
:{
value
:
e
.
formData
.
vaildDateType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"vaildDateType"
,
t
)},
expression
:
"formData.vaildDateType"
}},[
e
.
_v
(
"固定期限"
)]),
e
.
_v
(
" "
),
1
==
e
.
formData
.
vaildDateType
?
a
(
"div"
,[
a
(
"el-date-picker"
,{
staticClass
:
"m-l-10 m-r-10"
,
attrs
:{
"prefix-icon"
:
"el-icon-time"
,
"picker-options"
:
e
.
pickerOptions
,
editable
:
!
1
,
"value-format"
:
"yyyy-MM-dd HH:mm:ss"
,
"default-time"
:[
"00:00:00"
,
"23:59:59"
],
type
:
"datetimerange"
,
align
:
"right"
,
"unlink-panels"
:
""
,
"range-separator"
:
"至"
,
"start-placeholder"
:
"开始日期"
,
"end-placeholder"
:
"结束日期"
},
model
:{
value
:
e
.
formData
.
validDateRange
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"validDateRange"
,
t
)},
expression
:
"formData.validDateRange"
}})],
1
):
e
.
_e
()],
1
)]),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
cancelEdit
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"确认"
+
e
.
_s
(
e
.
$route
.
query
.
coupCardId
?
"编辑"
:
"新建"
))]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
,
"flag"
)}}},[
e
.
_v
(
"确认并继续新建"
)])],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
e
.
cardTempShow
?
a
(
"select-card-template"
,{
attrs
:{
selectTemp
:
e
.
formData
.
cardTempData
},
on
:{
returnData
:
e
.
returnData
,
closeTemp
:
e
.
closeTemp
}}):
e
.
_e
(),
e
.
_v
(
" "
),
e
.
departShow
?
a
(
"select-wx-depart"
,{
attrs
:{
departArr
:
e
.
formData
.
departData
},
on
:{
refreshData
:
e
.
refreshData
}}):
e
.
_e
()],
1
)},
staticRenderFns
:[]};
var
T
=
a
(
"VU/8"
)(
C
,
w
,
!
1
,
function
(
e
){
a
(
"ED9O"
)},
"data-v-651d6921"
,
null
);
t
.
default
=
T
.
exports
},
ED9O
:
function
(
e
,
t
){},
iKAi
:
function
(
e
,
t
){},
lg11
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/app.
53bd800025125cd5e146
.js
→
dist/static/js/app.
2fb794802593d2f171a8
.js
View file @
b4b165bd
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
,
36
],
"./apps/badEvaluate/badEvaluateRecord.vue"
:[
"DCIc"
,
0
,
57
],
"./apps/badEvaluate/badEvaluateSet.vue"
:[
"moBL"
,
0
,
43
],
"./apps/badEvaluate/index.vue"
:[
"AG22"
,
0
,
21
],
"./apps/card/cardList.vue"
:[
"X5LE"
,
0
,
41
],
"./apps/card/cardRecord.vue"
:[
"xDJN"
,
0
,
13
],
"./apps/card/index.vue"
:[
"nV1L"
,
0
,
32
],
"./apps/card/newCard.vue"
:[
"7/Zw"
,
0
,
6
],
"./apps/cloudDaily/customReport.vue"
:[
"ak3k"
,
0
,
29
],
"./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
,
50
],
"./apps/cloudDaily/index.vue"
:[
"4QyY"
,
0
,
34
],
"./apps/cloudDaily/systemReport.vue"
:[
"J/6z"
,
0
,
5
],
"./apps/cloudDaily/taskAssign.vue"
:[
"Hb/M"
,
0
,
24
],
"./apps/cloudDaily/template/block.vue"
:[
"O3gZ"
,
40
],
"./apps/cloudDaily/template/date-range.vue"
:[
"2WGr"
,
42
],
"./apps/cloudDaily/template/image.vue"
:[
"8dpP"
,
56
],
"./apps/cloudDaily/template/input.vue"
:[
"zHtI"
,
65
],
"./apps/cloudDaily/template/select.vue"
:[
"rYZf"
,
51
],
"./apps/customerApp/index.vue"
:[
"QHTa"
,
0
,
38
],
"./apps/customerApp/memberGroupSet.vue"
:[
"JuNN"
,
0
,
23
],
"./apps/customerApp/memberSearchSet.vue"
:[
"Z3Aa"
,
0
,
39
],
"./apps/customerApp/memberShowSet.vue"
:[
"odfG"
,
0
,
54
],
"./apps/index.vue"
:[
"K1Vb"
,
0
,
44
],
"./apps/protectCard/cardGetRecord.vue"
:[
"5GE8"
,
0
,
31
],
"./apps/protectCard/cardPut.vue"
:[
"cD4x"
,
0
,
49
],
"./apps/protectCard/cardPutRecord.vue"
:[
"dhLd"
,
0
,
48
],
"./apps/protectCard/cardStrategy.vue"
:[
"rUvh"
,
0
,
69
],
"./apps/protectCard/cardTemplate.vue"
:[
"c7iB"
,
0
,
63
],
"./apps/protectCard/index.vue"
:[
"aWmL"
,
0
,
27
],
"./apps/protectCard/newCardPut.vue"
:[
"9db3"
,
0
,
7
],
"./apps/protectCard/newCardStrategy.vue"
:[
"8Rwt"
,
0
,
10
],
"./apps/protectCard/newCardTemp.vue"
:[
"tF0P"
,
0
,
46
],
"./apps/quota/companyDaySet.vue"
:[
"NiGE"
,
0
,
62
],
"./apps/quota/index.vue"
:[
"qSX4"
,
0
,
28
],
"./apps/quota/monthList.vue"
:[
"fAFA"
,
0
,
53
],
"./apps/quota/monthTask.vue"
:[
"NpHY"
,
0
,
30
],
"./apps/quota/monthTaskDetail.vue"
:[
"YKf6"
,
0
,
35
],
"./apps/quota/salerMonthDetail.vue"
:[
"+qr5"
,
0
,
66
],
"./apps/quota/storeMonthTask.vue"
:[
"qWC+"
,
0
,
61
],
"./apps/trafficTask/index.vue"
:[
"FmZU"
,
0
,
60
],
"./apps/trafficTask/taskDetail.vue"
:[
"XrDD"
,
0
,
12
],
"./apps/trafficTask/taskRecord.vue"
:[
"m+x7"
,
0
,
55
],
"./apps/trafficTask/taskView.vue"
:[
"w2fd"
,
0
,
19
],
"./apps/trafficTask/taskViewDetail.vue"
:[
"SBUJ"
,
0
,
37
],
"./apps/trafficTask/trafficTaskSet.vue"
:[
"OUXi"
,
0
,
68
],
"./business/contacts.vue"
:[
"/W60"
,
0
,
2
],
"./business/index.vue"
:[
"jPcV"
,
0
,
64
],
"./business/orgStructSet.vue"
:[
"OI5V"
,
0
,
3
],
"./business/recycle.vue"
:[
"K8Yn"
,
0
,
58
],
"./business/syncLog.vue"
:[
"20P3"
,
0
,
22
],
"./enterprise/adminList.vue"
:[
"zYBJ"
,
0
,
25
],
"./enterprise/enterpriseSet.vue"
:[
"x5Fx"
,
0
,
45
],
"./enterprise/index.vue"
:[
"m9dW"
,
0
,
26
],
"./errorPage/403.vue"
:[
"6XGN"
,
18
],
"./errorPage/404.vue"
:[
"AejC"
,
20
],
"./errorPage/500.vue"
:[
"FskK"
,
15
],
"./errorPage/gic-error.vue"
:[
"Q3j/"
,
17
],
"./errorPage/index.vue"
:[
"ODjX"
,
1
],
"./index/index.vue"
:[
"JXTs"
,
0
,
67
],
"./login/index.vue"
:[
"T+/8"
,
0
,
14
],
"./overstore/index.vue"
:[
"Y55K"
,
0
,
52
],
"./overstore/overStoreList.vue"
:[
"vuAV"
,
0
,
33
],
"./reviewCenter/index.vue"
:[
"+lem"
,
0
,
59
],
"./reviewCenter/reviewSet.vue"
:[
"6j9f"
,
0
,
47
],
"./reviewCenter/reviewed.vue"
:[
"CLYF"
,
0
,
9
],
"./reviewCenter/unreview.vue"
:[
"xCEU"
,
0
,
8
]};
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
]);
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
,
36
],
"./apps/badEvaluate/badEvaluateRecord.vue"
:[
"DCIc"
,
0
,
57
],
"./apps/badEvaluate/badEvaluateSet.vue"
:[
"moBL"
,
0
,
43
],
"./apps/badEvaluate/index.vue"
:[
"AG22"
,
0
,
21
],
"./apps/card/cardList.vue"
:[
"X5LE"
,
0
,
41
],
"./apps/card/cardRecord.vue"
:[
"xDJN"
,
0
,
13
],
"./apps/card/index.vue"
:[
"nV1L"
,
0
,
32
],
"./apps/card/newCard.vue"
:[
"7/Zw"
,
0
,
6
],
"./apps/cloudDaily/customReport.vue"
:[
"ak3k"
,
0
,
29
],
"./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
,
50
],
"./apps/cloudDaily/index.vue"
:[
"4QyY"
,
0
,
34
],
"./apps/cloudDaily/systemReport.vue"
:[
"J/6z"
,
0
,
5
],
"./apps/cloudDaily/taskAssign.vue"
:[
"Hb/M"
,
0
,
24
],
"./apps/cloudDaily/template/block.vue"
:[
"O3gZ"
,
40
],
"./apps/cloudDaily/template/date-range.vue"
:[
"2WGr"
,
42
],
"./apps/cloudDaily/template/image.vue"
:[
"8dpP"
,
56
],
"./apps/cloudDaily/template/input.vue"
:[
"zHtI"
,
65
],
"./apps/cloudDaily/template/select.vue"
:[
"rYZf"
,
51
],
"./apps/customerApp/index.vue"
:[
"QHTa"
,
0
,
38
],
"./apps/customerApp/memberGroupSet.vue"
:[
"JuNN"
,
0
,
23
],
"./apps/customerApp/memberSearchSet.vue"
:[
"Z3Aa"
,
0
,
39
],
"./apps/customerApp/memberShowSet.vue"
:[
"odfG"
,
0
,
54
],
"./apps/index.vue"
:[
"K1Vb"
,
0
,
44
],
"./apps/protectCard/cardGetRecord.vue"
:[
"5GE8"
,
0
,
31
],
"./apps/protectCard/cardPut.vue"
:[
"cD4x"
,
0
,
49
],
"./apps/protectCard/cardPutRecord.vue"
:[
"dhLd"
,
0
,
48
],
"./apps/protectCard/cardStrategy.vue"
:[
"rUvh"
,
0
,
69
],
"./apps/protectCard/cardTemplate.vue"
:[
"c7iB"
,
0
,
63
],
"./apps/protectCard/index.vue"
:[
"aWmL"
,
0
,
27
],
"./apps/protectCard/newCardPut.vue"
:[
"9db3"
,
0
,
7
],
"./apps/protectCard/newCardStrategy.vue"
:[
"8Rwt"
,
0
,
12
],
"./apps/protectCard/newCardTemp.vue"
:[
"tF0P"
,
0
,
46
],
"./apps/quota/companyDaySet.vue"
:[
"NiGE"
,
0
,
62
],
"./apps/quota/index.vue"
:[
"qSX4"
,
0
,
28
],
"./apps/quota/monthList.vue"
:[
"fAFA"
,
0
,
53
],
"./apps/quota/monthTask.vue"
:[
"NpHY"
,
0
,
30
],
"./apps/quota/monthTaskDetail.vue"
:[
"YKf6"
,
0
,
35
],
"./apps/quota/salerMonthDetail.vue"
:[
"+qr5"
,
0
,
66
],
"./apps/quota/storeMonthTask.vue"
:[
"qWC+"
,
0
,
61
],
"./apps/trafficTask/index.vue"
:[
"FmZU"
,
0
,
60
],
"./apps/trafficTask/taskDetail.vue"
:[
"XrDD"
,
0
,
11
],
"./apps/trafficTask/taskRecord.vue"
:[
"m+x7"
,
0
,
55
],
"./apps/trafficTask/taskView.vue"
:[
"w2fd"
,
0
,
19
],
"./apps/trafficTask/taskViewDetail.vue"
:[
"SBUJ"
,
0
,
37
],
"./apps/trafficTask/trafficTaskSet.vue"
:[
"OUXi"
,
0
,
68
],
"./business/contacts.vue"
:[
"/W60"
,
0
,
2
],
"./business/index.vue"
:[
"jPcV"
,
0
,
64
],
"./business/orgStructSet.vue"
:[
"OI5V"
,
0
,
3
],
"./business/recycle.vue"
:[
"K8Yn"
,
0
,
58
],
"./business/syncLog.vue"
:[
"20P3"
,
0
,
22
],
"./enterprise/adminList.vue"
:[
"zYBJ"
,
0
,
25
],
"./enterprise/enterpriseSet.vue"
:[
"x5Fx"
,
0
,
45
],
"./enterprise/index.vue"
:[
"m9dW"
,
0
,
26
],
"./errorPage/403.vue"
:[
"6XGN"
,
18
],
"./errorPage/404.vue"
:[
"AejC"
,
20
],
"./errorPage/500.vue"
:[
"FskK"
,
15
],
"./errorPage/gic-error.vue"
:[
"Q3j/"
,
17
],
"./errorPage/index.vue"
:[
"ODjX"
,
1
],
"./index/index.vue"
:[
"JXTs"
,
0
,
67
],
"./login/index.vue"
:[
"T+/8"
,
0
,
14
],
"./overstore/index.vue"
:[
"Y55K"
,
0
,
52
],
"./overstore/overStoreList.vue"
:[
"vuAV"
,
0
,
33
],
"./reviewCenter/index.vue"
:[
"+lem"
,
0
,
59
],
"./reviewCenter/reviewSet.vue"
:[
"6j9f"
,
0
,
47
],
"./reviewCenter/reviewed.vue"
:[
"CLYF"
,
0
,
9
],
"./reviewCenter/unreview.vue"
:[
"xCEU"
,
0
,
8
]};
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
\ No newline at end of file
dist/static/js/manifest.
cf890bf26ddd626e9cd1
.js
→
dist/static/js/manifest.
7deaf6428765c76f759a
.js
View file @
b4b165bd
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
d
,
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
d
)
Object
.
prototype
.
hasOwnProperty
.
call
(
d
,
r
)
&&
(
e
[
r
]
=
d
[
r
]);
for
(
c
&&
c
(
f
,
d
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
b
(
b
.
s
=
n
[
i
]);
return
o
};
var
f
=
{},
a
=
{
72
:
0
};
function
b
(
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
,
b
),
a
.
l
=!
0
,
a
.
exports
}
b
.
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
,
b
){
c
=
a
[
e
]
=
[
f
,
b
]});
c
[
2
]
=
f
;
var
d
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
b
.
nc
&&
n
.
setAttribute
(
"nonce"
,
b
.
nc
),
n
.
src
=
b
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"db7fcfd49071bf8a7e4e"
,
1
:
"06c4e42e62c1f75191f0"
,
2
:
"3527d92b4250c040f53c"
,
3
:
"a82a0b7945e1b3a1d374"
,
4
:
"252779c1e666ec398a87"
,
5
:
"bf21cfa1832c94ed8d4c"
,
6
:
"b559d7c450cafcef2cc6"
,
7
:
"e0c1956cf72584a9caaf"
,
8
:
"cb03e8494e272a9faa1b"
,
9
:
"f7c875c7689ffc18fc21"
,
10
:
"ae96e345cfed80fffa8b"
,
11
:
"59c87174f09911b8256b"
,
12
:
"e8cd784bf481f550c766"
,
13
:
"2b65cdb3d875eca1b6fd"
,
14
:
"2c29119d13dc5fff8f2b"
,
15
:
"b646de33eca64e94b02c"
,
16
:
"5e81daf3550937d71920"
,
17
:
"a315ec3bb42a1a5f0ab3"
,
18
:
"aac9552544b8aaf4d59f"
,
19
:
"5c01b5259828e3c1889f"
,
20
:
"0f96177cb5fd1bb77419"
,
21
:
"d3de2ecd37f4d39cc396"
,
22
:
"961cd55348752b933219"
,
23
:
"651b185e2044c2807304"
,
24
:
"2eda35461eaa66a95420"
,
25
:
"7549e1d07154cb68ad21"
,
26
:
"4a9b3d64a1064ee4d046"
,
27
:
"66bd69de59b8deab4ddb"
,
28
:
"110ab7e5f64abacf9778"
,
29
:
"cebf604cf1225f47e634"
,
30
:
"7c1e52b5c0d36e8632c1"
,
31
:
"23b563051fe459d90853"
,
32
:
"4de4968d6e57140dee2d"
,
33
:
"4d3acec09b21e4bb12c9"
,
34
:
"335593327f59f50ba24f"
,
35
:
"7dc15ac53ff6451b1ce4"
,
36
:
"016ee9d9e7ef1ff8c15b"
,
37
:
"5250bd90920b928718d6"
,
38
:
"d34b5cfa10bdec3aff24"
,
39
:
"78a93cc4665d1c8493b2"
,
40
:
"1e635f263206df0ac797"
,
41
:
"9b2686ccf000bbd81f9e"
,
42
:
"e09526366f36f7a15a4c"
,
43
:
"9b418f83353fc3a7742c"
,
44
:
"5ace94d525caa6bceb8e"
,
45
:
"ff02eb876d0090ecf8fd"
,
46
:
"9b118ff00e438fb60b55"
,
47
:
"ee289bf28d0b62cdbd74"
,
48
:
"1919c6abf5a0a18c7860"
,
49
:
"c11e4ff91e3e45a0e01a"
,
50
:
"adf06e778b3bb59a4314"
,
51
:
"10da031ace08e3b2f0ec"
,
52
:
"3d733ded8368c35c7db7"
,
53
:
"464efb5dbd1f1a75c07d"
,
54
:
"4c49723130a02a35341c"
,
55
:
"a59eb69795468eaccdab"
,
56
:
"44a19541b1d9d5510256"
,
57
:
"bb35aa59b73ea983662f"
,
58
:
"f4362bcb70641f953b1a"
,
59
:
"35cc1a5bf8e67c4f3717"
,
60
:
"26251b1473ea21594e14"
,
61
:
"546eb6f21413100b354f"
,
62
:
"79bc422b829d3efa5158"
,
63
:
"cce43b49af145ee143b0"
,
64
:
"c32170be4e3a5886e248"
,
65
:
"37df5a0fbbf0fca93437"
,
66
:
"e609fee1fe2f65d80693"
,
67
:
"e9727b8a22c821b587a0"
,
68
:
"33235a28bed976a3e05e"
,
69
:
"b7a1dbc4c26f669ccf29"
}[
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
,
d
.
appendChild
(
n
),
f
},
b
.
m
=
e
,
b
.
c
=
f
,
b
.
d
=
function
(
e
,
c
,
f
){
b
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
b
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
b
.
d
(
c
,
"a"
,
c
),
c
},
b
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
b
.
p
=
"./"
,
b
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
d
,
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
d
)
Object
.
prototype
.
hasOwnProperty
.
call
(
d
,
r
)
&&
(
e
[
r
]
=
d
[
r
]);
for
(
c
&&
c
(
f
,
d
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
b
(
b
.
s
=
n
[
i
]);
return
o
};
var
f
=
{},
a
=
{
72
:
0
};
function
b
(
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
,
b
),
a
.
l
=!
0
,
a
.
exports
}
b
.
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
,
b
){
c
=
a
[
e
]
=
[
f
,
b
]});
c
[
2
]
=
f
;
var
d
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
b
.
nc
&&
n
.
setAttribute
(
"nonce"
,
b
.
nc
),
n
.
src
=
b
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"db7fcfd49071bf8a7e4e"
,
1
:
"06c4e42e62c1f75191f0"
,
2
:
"3527d92b4250c040f53c"
,
3
:
"a82a0b7945e1b3a1d374"
,
4
:
"252779c1e666ec398a87"
,
5
:
"bf21cfa1832c94ed8d4c"
,
6
:
"b559d7c450cafcef2cc6"
,
7
:
"e0c1956cf72584a9caaf"
,
8
:
"cb03e8494e272a9faa1b"
,
9
:
"f7c875c7689ffc18fc21"
,
10
:
"f64bf1b4c969dc8e4324"
,
11
:
"234de60fe9d347a9b246"
,
12
:
"d7b846fd0442631e1df8"
,
13
:
"2b65cdb3d875eca1b6fd"
,
14
:
"2c29119d13dc5fff8f2b"
,
15
:
"b646de33eca64e94b02c"
,
16
:
"5e81daf3550937d71920"
,
17
:
"a315ec3bb42a1a5f0ab3"
,
18
:
"aac9552544b8aaf4d59f"
,
19
:
"5c01b5259828e3c1889f"
,
20
:
"0f96177cb5fd1bb77419"
,
21
:
"d3de2ecd37f4d39cc396"
,
22
:
"961cd55348752b933219"
,
23
:
"651b185e2044c2807304"
,
24
:
"2eda35461eaa66a95420"
,
25
:
"7549e1d07154cb68ad21"
,
26
:
"4a9b3d64a1064ee4d046"
,
27
:
"66bd69de59b8deab4ddb"
,
28
:
"110ab7e5f64abacf9778"
,
29
:
"cebf604cf1225f47e634"
,
30
:
"7c1e52b5c0d36e8632c1"
,
31
:
"23b563051fe459d90853"
,
32
:
"4de4968d6e57140dee2d"
,
33
:
"4d3acec09b21e4bb12c9"
,
34
:
"335593327f59f50ba24f"
,
35
:
"7dc15ac53ff6451b1ce4"
,
36
:
"016ee9d9e7ef1ff8c15b"
,
37
:
"5250bd90920b928718d6"
,
38
:
"d34b5cfa10bdec3aff24"
,
39
:
"78a93cc4665d1c8493b2"
,
40
:
"1e635f263206df0ac797"
,
41
:
"9b2686ccf000bbd81f9e"
,
42
:
"e09526366f36f7a15a4c"
,
43
:
"9b418f83353fc3a7742c"
,
44
:
"5ace94d525caa6bceb8e"
,
45
:
"ff02eb876d0090ecf8fd"
,
46
:
"9b118ff00e438fb60b55"
,
47
:
"ee289bf28d0b62cdbd74"
,
48
:
"1919c6abf5a0a18c7860"
,
49
:
"c11e4ff91e3e45a0e01a"
,
50
:
"adf06e778b3bb59a4314"
,
51
:
"10da031ace08e3b2f0ec"
,
52
:
"3d733ded8368c35c7db7"
,
53
:
"464efb5dbd1f1a75c07d"
,
54
:
"4c49723130a02a35341c"
,
55
:
"a59eb69795468eaccdab"
,
56
:
"44a19541b1d9d5510256"
,
57
:
"bb35aa59b73ea983662f"
,
58
:
"f4362bcb70641f953b1a"
,
59
:
"35cc1a5bf8e67c4f3717"
,
60
:
"26251b1473ea21594e14"
,
61
:
"546eb6f21413100b354f"
,
62
:
"79bc422b829d3efa5158"
,
63
:
"cce43b49af145ee143b0"
,
64
:
"c32170be4e3a5886e248"
,
65
:
"37df5a0fbbf0fca93437"
,
66
:
"e609fee1fe2f65d80693"
,
67
:
"e9727b8a22c821b587a0"
,
68
:
"33235a28bed976a3e05e"
,
69
:
"b7a1dbc4c26f669ccf29"
}[
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
,
d
.
appendChild
(
n
),
f
},
b
.
m
=
e
,
b
.
c
=
f
,
b
.
d
=
function
(
e
,
c
,
f
){
b
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
b
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
b
.
d
(
c
,
"a"
,
c
),
c
},
b
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
b
.
p
=
"./"
,
b
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
\ No newline at end of file
src/components/app/protectCard/select-wx-depart.vue
View file @
b4b165bd
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
* @Author : 无尘
* @Author : 无尘
* @Date : 2020-02-13 16:13:59
* @Date : 2020-02-13 16:13:59
* @LastEditors: 无尘
* @LastEditors: 无尘
* @LastEditTime: 2020-04-23 1
0:52:46
* @LastEditTime: 2020-04-23 1
1:21:21
-->
-->
<!--
<!--
...
@@ -63,6 +63,12 @@ export default {
...
@@ -63,6 +63,12 @@ export default {
name
:
'select-wx-depart'
,
name
:
'select-wx-depart'
,
components
:
{},
components
:
{},
props
:
{
props
:
{
departShow
:
{
type
:
Boolean
,
default
()
{
return
false
;
}
},
departArr
:
{
departArr
:
{
type
:
[
Object
,
Array
],
type
:
[
Object
,
Array
],
default
()
{
default
()
{
...
@@ -75,7 +81,7 @@ export default {
...
@@ -75,7 +81,7 @@ export default {
selDepart
:
[],
// 右侧已选分组,
selDepart
:
[],
// 右侧已选分组,
groupNodes
:
[],
// 左侧已选分组Nodes
groupNodes
:
[],
// 左侧已选分组Nodes
groupData
:
[],
// 分组数据
groupData
:
[],
// 分组数据
departVisible
:
tru
e
,
departVisible
:
fals
e
,
checkedKeys
:
this
.
departArr
.
length
?
this
.
departArr
.
map
(
ele
=>
ele
.
departmentId
)
:
[],
// 默认回显勾选数据
checkedKeys
:
this
.
departArr
.
length
?
this
.
departArr
.
map
(
ele
=>
ele
.
departmentId
)
:
[],
// 默认回显勾选数据
defaultProps
:
{
defaultProps
:
{
children
:
'children'
,
children
:
'children'
,
...
@@ -207,6 +213,10 @@ export default {
...
@@ -207,6 +213,10 @@ export default {
}
}
},
},
watch
:
{
watch
:
{
departShow
(
newData
)
{
const
that
=
this
;
that
.
departVisible
=
newData
;
},
departArr
(
newData
)
{
departArr
(
newData
)
{
const
that
=
this
;
const
that
=
this
;
if
(
newData
.
length
)
{
if
(
newData
.
length
)
{
...
@@ -216,6 +226,7 @@ export default {
...
@@ -216,6 +226,7 @@ export default {
},
},
mounted
()
{
mounted
()
{
const
that
=
this
;
const
that
=
this
;
that
.
departVisible
=
that
.
departShow
;
that
.
getGroup
();
that
.
getGroup
();
if
(
that
.
departArr
.
length
)
{
if
(
that
.
departArr
.
length
)
{
that
.
selDepart
=
JSON
.
parse
(
JSON
.
stringify
(
that
.
departArr
));
that
.
selDepart
=
JSON
.
parse
(
JSON
.
stringify
(
that
.
departArr
));
...
...
src/views/apps/protectCard/newCardStrategy.vue
View file @
b4b165bd
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Author: 无尘
* @Date: 2020-04-13 15:27:46
* @Date: 2020-04-13 15:27:46
* @LastEditors: 无尘
* @LastEditors: 无尘
* @LastEditTime: 2020-04-23 11:
07
:09
* @LastEditTime: 2020-04-23 11:
13
:09
-->
-->
<
template
>
<
template
>
...
@@ -107,7 +107,7 @@
...
@@ -107,7 +107,7 @@
</el-form>
</el-form>
</div>
</div>
<select-card-template
v-if=
"cardTempShow"
:selectTemp=
"formData.cardTempData"
@
returnData=
"returnData"
@
closeTemp=
"closeTemp"
></select-card-template>
<select-card-template
v-if=
"cardTempShow"
:selectTemp=
"formData.cardTempData"
@
returnData=
"returnData"
@
closeTemp=
"closeTemp"
></select-card-template>
<select-wx-depart
v-
show
=
"departShow"
:departArr=
"formData.departData"
@
refreshData=
"refreshData"
></select-wx-depart>
<select-wx-depart
v-
if
=
"departShow"
:departArr=
"formData.departData"
@
refreshData=
"refreshData"
></select-wx-depart>
</section>
</section>
</template>
</template>
<
script
>
<
script
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment