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
eded34a0
Commit
eded34a0
authored
Jun 23, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改设置门店
parent
fa5025cd
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
10 deletions
+7
-10
index.html
dist/index.html
+2
-2
app.7812a7edda217826f68a2a8c298643fe.css
dist/static/css/app.7812a7edda217826f68a2a8c298643fe.css
+0
-0
23.1b163e7b54dd7cae5bb9.js
dist/static/js/23.1b163e7b54dd7cae5bb9.js
+2
-2
manifest.d9c9b169906738e236ce.js
dist/static/js/manifest.d9c9b169906738e236ce.js
+2
-2
addGroupTemplate.vue
src/views/apps/customerApp/addGroupTemplate.vue
+1
-4
No files found.
dist/index.html
View file @
eded34a0
<!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.7d1169522c99950753857e8b1cbe90bd.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
src=
//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.310d4275ea7d60d1247f.js
></script><script
type=
text/javascript
src=
./static/js/vendor.04714449d6ef1a8af053.js
></script><script
type=
text/javascript
src=
./static/js/app.f08c7d88f491d26cc99a.js
></script></body></html>
\ No newline at end of file
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
rel=
stylesheet
type=
text/css
href=
//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css
><link
href=
./static/css/app.7812a7edda217826f68a2a8c298643fe.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
src=
//web-1251519181.file.myqcloud.com/components/pagination.1.0.8.js
></script><script>
// Raven.config('https://3715a345910d4c768e7a1ec14619c2d5@sentry.io/1413672').install();
</script><script
type=
text/javascript
src=
./static/js/manifest.d9c9b169906738e236ce.js
></script><script
type=
text/javascript
src=
./static/js/vendor.04714449d6ef1a8af053.js
></script><script
type=
text/javascript
src=
./static/js/app.f08c7d88f491d26cc99a.js
></script></body></html>
\ No newline at end of file
dist/static/css/app.7
d1169522c99950753857e8b1cbe90bd
.css
→
dist/static/css/app.7
812a7edda217826f68a2a8c298643fe
.css
View file @
eded34a0
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/23.
6c79f1e6f54d06b1cfa3
.js
→
dist/static/js/23.
1b163e7b54dd7cae5bb9
.js
View file @
eded34a0
webpackJsonp
([
23
],{
PEaC
:
function
(
e
,
t
){},
Ssov
:
function
(
e
,
t
){},
vIlm
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"l46T"
),
r
=
a
(
"PI0u"
),
n
=
a
(
"P9l9"
),
l
=
a
(
"3E4D"
),
s
=
a
(
"Ch4/"
),
i
=
{
props
:{
brandId
:{
type
:
Object
,
default
:
function
(){
return
""
}}},
components
:{
limitInput
:
o
.
a
},
data
:
function
(){
return
{
editPersion
:
localStorage
.
getItem
(
"userInfos"
)
&&
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
staffDTO
?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
staffDTO
.
staffName
:
""
,
wxEnterpriseRelatedId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
loading
:
!
1
,
dialogVisible
:
!
0
,
tableData
:[],
searchInput
:
""
,
multipleSelection
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
methods
:{
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
toInput
:
Object
(
r
.
a
)(
function
(
e
,
t
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
toCancel
:
function
(){
this
.
$emit
(
"closeGroup"
),
this
.
$refs
.
multipleTable
.
clearSelection
()},
handleClose
:
function
(
e
){
this
.
$emit
(
"closeGroup"
),
this
.
$refs
.
multipleTable
.
clearSelection
()},
submitForm
:
Object
(
r
.
a
)(
function
(
e
){
this
.
$emit
(
"submitGroup"
,
this
.
multipleSelection
)},
300
),
postSave
:
function
(){
var
e
=
this
,
t
=
{
templateId
:
e
.
ruleForm
.
templateId
,
templateName
:
e
.
ruleForm
.
templateName
,
memberTagGroupIds
:
e
.
ruleForm
.
memberTagGroupIds
.
join
(
","
),
editPerson
:
e
.
editPerson
};
Object
(
n
.
d
)((
e
.
ruleForm
.
templateId
,
"/haoban-app-customer-web/memberGroup/save-group-template"
),
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
==
a
.
errorCode
?(
l
.
a
.
showmsg
(
"操作成功"
,
"success"
),
e
.
$refs
.
multipleTable
.
clearSelection
(),
e
.
$emit
(
"submitGroup"
,
e
.
multipleSelection
)):
s
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getTableList
:
function
(
e
){
var
t
=
this
;
t
.
loading
=!
0
;
var
a
=
{
memberGroupName
:
t
.
searchInput
||
""
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
,
wxEnterpriseRelatedId
:
t
.
wxEnterpriseRelatedId
,
enterpriseId
:
t
.
brandId
};
Object
(
n
.
d
)(
"/haoban-app-customer-web/memberGroup/member-tag-group-list"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
t
.
loading
=!
1
,
1
==
a
.
errorCode
)
return
t
.
tableData
=
a
.
result
.
list
||
[],
t
.
total
=
a
.
result
.
pageInfo
.
total
,
!
1
;
s
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
loading
=!
1
,
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{},
mounted
:
function
(){
this
.
getTableList
()}},
u
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
"选择分组"
,
visible
:
e
.
dialogVisible
,
width
:
"833px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
}}},[
a
(
"div"
,{},[
a
(
"div"
,{
staticClass
:
"search-top m-b-20"
},[
a
(
"el-input"
,{
staticClass
:
"w-280"
,
attrs
:{
placeholder
:
"请输入分组名称搜索"
,
"prefix-icon"
:
"el-icon-search"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
toInput
(
a
,
e
.
searchInput
);
var
a
}},
model
:{
value
:
e
.
searchInput
,
callback
:
function
(
t
){
e
.
searchInput
=
t
},
expression
:
"searchInput"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
height
:
"450"
,
"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
:
"分组名称"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
groupName
||
"--"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"分类"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
memberTagGroupClassifyName
||
"--"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"是否实时"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
1
==
t
.
row
.
isRealTime
?
"是"
:
"否"
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"更新频率"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
1
==
t
.
row
.
updateType
?
"每日"
:
2
==
t
.
row
.
updateType
?
"每周"
:
3
==
t
.
row
.
updateType
?
"每月"
:
"-"
)
+
" "
+
e
.
_s
(
1
==
t
.
row
.
updateType
?
"一次"
:
2
==
t
.
row
.
updateType
?
"周"
+
t
.
row
.
updateDay
:
3
==
t
.
row
.
updateType
?
t
.
row
.
updateDay
+
"号"
:
"-"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"状态"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
"1"
==
t
.
row
.
effectiveStatus
?
"有效"
:
"失效"
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"覆盖人数"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
memberCount
||
0
)
+
"人"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"到期时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
effectiveDate
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
effectiveDate
)))])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"dm-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
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
e
.
toCancel
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"确定"
)])],
1
)])},
staticRenderFns
:[]};
var
p
=
a
(
"VU/8"
)(
i
,
u
,
!
1
,
function
(
e
){
a
(
"Ssov"
)},
"data-v-49d0413c"
,
null
).
exports
,
c
=
{
name
:
"app-detail"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
tabType
:{
type
:
String
,
default
:
function
(){
return
"1"
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
projectName
:
""
,
wxEnterpriseRelatedId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
editPerson
:
localStorage
.
getItem
(
"userInfos"
)
&&
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
staffDTO
?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
staffDTO
.
staffName
:
""
,
formData
:{
templateName
:
""
,
groupIds
:[]},
rules
:{
templateName
:[{
required
:
!
0
,
message
:
"请输入模板名称"
,
trigger
:
"blur"
}],
groupIds
:[{
type
:
"array"
,
required
:
!
0
,
message
:
"请选择门店分组"
,
trigger
:
"change"
}]},
tableData
:[],
activeId
:
"1"
,
loading
:
!
1
,
multipleSelection
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
groupShow
:
!
1
,
loadingBtn
:
!
1
}},
methods
:{
submitForm
:
Object
(
r
.
a
)(
function
(
e
){
var
t
=
this
;
t
.
loadingBtn
=!
0
,
t
.
tableData
.
length
&&
(
t
.
formData
.
groupIds
=
t
.
tableData
.
map
(
function
(
e
){
return
e
.
memberTagGroupId
})),
t
.
$refs
[
e
].
validate
(
function
(
e
){
e
?
t
.
postSave
():
t
.
loadingBtn
=!
1
})},
300
),
postSave
:
function
(){
var
e
=
this
,
t
=
{
templateId
:
e
.
formData
.
templateId
,
templateName
:
e
.
formData
.
templateName
,
groupIds
:
e
.
tableData
.
map
(
function
(
e
){
return
e
.
memberTagGroupId
}).
join
(
","
),
editPerson
:
e
.
editPerson
,
enterpriseId
:
e
.
brandId
};
Object
(
n
.
d
)(
"/haoban-app-customer-web/save-group-template"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
e
.
loadingBtn
=!
1
,
1
==
a
.
errorCode
&&
(
l
.
a
.
showmsg
(
"操作成功"
,
"success"
),
e
.
$router
.
push
(
"/memberGroupSet?tabName=second"
)),
s
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
loadingBtn
=!
1
,
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
delRow
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"确认要删除吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
tableData
.
splice
(
e
,
1
),
a
.
tableData
.
length
&&
(
a
.
formData
.
groupIds
=
a
.
tableData
.
map
(
function
(
e
){
return
e
.
memberTagGroupId
}))}).
catch
(
function
(){})},
multDel
:
function
(){
if
(
!
this
.
multipleSelection
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择删除项"
}),
!
1
;
var
e
=
this
.
multipleSelection
.
map
(
function
(
e
){
return
e
.
memberTagGroupId
}),
t
=
[];
this
.
tableData
.
forEach
(
function
(
a
){
-
1
==
e
.
indexOf
(
a
.
memberTagGroupId
)
&&
t
.
push
(
a
)}),
this
.
tableData
=
t
,
this
.
tableData
.
length
&&
(
this
.
formData
.
groupIds
=
this
.
tableData
.
map
(
function
(
e
){
return
e
.
memberTagGroupId
}))},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
showGroup
:
function
(){
this
.
groupShow
=!
0
},
closeGroup
:
function
(){
this
.
groupShow
=!
1
},
submitGroup
:
function
(
e
){
this
.
groupShow
=!
1
,
this
.
tableData
=
e
,
this
.
formData
.
groupIds
=
this
.
tableData
.
map
(
function
(
e
){
return
e
.
memberTagGroupId
})},
getCustomerSet
:
function
(
e
){
var
t
=
this
,
a
=
{
enterpriseId
:
t
.
brandId
,
wxEnterpriseRelatedId
:
t
.
wxEnterpriseRelatedId
};
Object
(
n
.
d
)(
"/haoban-app-customer-web/customer/find-customer-setting"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
s
.
a
.
errorMsg
(
a
):
a
.
result
&&
(
t
.
myCustomData
.
searchFlag
=!!
a
.
result
.
searchFlag
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
this
.
getCustomerSet
(
this
.
brandId
)}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"12"
),
this
.
getCustomerSet
(
this
.
brandId
)},
components
:{
selectGroup
:
p
,
limitInput
:
o
.
a
}},
m
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
a
(
"div"
,{
staticClass
:
"app-detail-pane border-box p-20"
},[
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
:
"templateName"
}},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
inputValue
:
e
.
formData
.
templateName
,
getByType
:
"word"
,
holder
:
"请输入模板名称"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"templateName"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"选择分组"
,
prop
:
"groupIds"
}},[
a
(
"div"
,{
staticClass
:
"flex flex-space-between"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
showGroup
}},[
e
.
_v
(
"选择分组"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"danger"
},
on
:{
click
:
e
.
multDel
}},[
e
.
_v
(
"批量移除"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
ref
:
"multipleTable"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
height
:
"400"
,
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
:
"分组名称"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
groupName
||
"--"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"分类"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
memberTagGroupClassifyName
||
"--"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"是否实时"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
1
==
t
.
row
.
isRealTime
?
"是"
:
"否"
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"更新频率"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
1
==
t
.
row
.
updateType
?
"每日"
:
2
==
t
.
row
.
updateType
?
"每周"
:
3
==
t
.
row
.
updateType
?
"每月"
:
"-"
)
+
" "
+
e
.
_s
(
1
==
t
.
row
.
updateType
?
"一次"
:
2
==
t
.
row
.
updateType
?
"周"
+
t
.
row
.
updateDay
:
3
==
t
.
row
.
updateType
?
t
.
row
.
updateDay
+
"号"
:
"-"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"状态"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
"1"
==
t
.
row
.
effectiveStatus
?
"有效"
:
"失效"
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"覆盖人数"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
memberCount
||
0
)
+
"人"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"到期时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
effectiveDate
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
effectiveDate
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
delRow
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"移除"
)])]}}])})],
1
)],
1
)]),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
loading
:
e
.
loadingBtn
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"保存"
)])],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
e
.
groupShow
?
a
(
"select-group"
,{
attrs
:{
brandId
:
e
.
brandId
},
on
:{
closeGroup
:
e
.
closeGroup
,
submitGroup
:
e
.
submitGroup
}}):
e
.
_e
()],
1
)},
staticRenderFns
:[]};
var
d
=
a
(
"VU/8"
)(
c
,
m
,
!
1
,
function
(
e
){
a
(
"PEaC"
)},
"data-v-8486a742"
,
null
);
t
.
default
=
d
.
exports
}});
\ No newline at end of file
webpackJsonp
([
23
],{
Ssov
:
function
(
e
,
t
){},
XJdp
:
function
(
e
,
t
){},
vIlm
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
a
(
"l46T"
),
r
=
a
(
"PI0u"
),
n
=
a
(
"P9l9"
),
l
=
a
(
"3E4D"
),
s
=
a
(
"Ch4/"
),
i
=
{
props
:{
brandId
:{
type
:
Object
,
default
:
function
(){
return
""
}}},
components
:{
limitInput
:
o
.
a
},
data
:
function
(){
return
{
editPersion
:
localStorage
.
getItem
(
"userInfos"
)
&&
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
staffDTO
?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
staffDTO
.
staffName
:
""
,
wxEnterpriseRelatedId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
loading
:
!
1
,
dialogVisible
:
!
0
,
tableData
:[],
searchInput
:
""
,
multipleSelection
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
}},
methods
:{
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
toInput
:
Object
(
r
.
a
)(
function
(
e
,
t
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
toCancel
:
function
(){
this
.
$emit
(
"closeGroup"
),
this
.
$refs
.
multipleTable
.
clearSelection
()},
handleClose
:
function
(
e
){
this
.
$emit
(
"closeGroup"
),
this
.
$refs
.
multipleTable
.
clearSelection
()},
submitForm
:
Object
(
r
.
a
)(
function
(
e
){
this
.
$emit
(
"submitGroup"
,
this
.
multipleSelection
)},
300
),
postSave
:
function
(){
var
e
=
this
,
t
=
{
templateId
:
e
.
ruleForm
.
templateId
,
templateName
:
e
.
ruleForm
.
templateName
,
memberTagGroupIds
:
e
.
ruleForm
.
memberTagGroupIds
.
join
(
","
),
editPerson
:
e
.
editPerson
};
Object
(
n
.
d
)((
e
.
ruleForm
.
templateId
,
"/haoban-app-customer-web/memberGroup/save-group-template"
),
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
1
==
a
.
errorCode
?(
l
.
a
.
showmsg
(
"操作成功"
,
"success"
),
e
.
$refs
.
multipleTable
.
clearSelection
(),
e
.
$emit
(
"submitGroup"
,
e
.
multipleSelection
)):
s
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getTableList
:
function
(
e
){
var
t
=
this
;
t
.
loading
=!
0
;
var
a
=
{
memberGroupName
:
t
.
searchInput
||
""
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
,
wxEnterpriseRelatedId
:
t
.
wxEnterpriseRelatedId
,
enterpriseId
:
t
.
brandId
};
Object
(
n
.
d
)(
"/haoban-app-customer-web/memberGroup/member-tag-group-list"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
if
(
t
.
loading
=!
1
,
1
==
a
.
errorCode
)
return
t
.
tableData
=
a
.
result
.
list
||
[],
t
.
total
=
a
.
result
.
pageInfo
.
total
,
!
1
;
s
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
loading
=!
1
,
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{},
mounted
:
function
(){
this
.
getTableList
()}},
u
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:
"选择分组"
,
visible
:
e
.
dialogVisible
,
width
:
"833px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
}}},[
a
(
"div"
,{},[
a
(
"div"
,{
staticClass
:
"search-top m-b-20"
},[
a
(
"el-input"
,{
staticClass
:
"w-280"
,
attrs
:{
placeholder
:
"请输入分组名称搜索"
,
"prefix-icon"
:
"el-icon-search"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
toInput
(
a
,
e
.
searchInput
);
var
a
}},
model
:{
value
:
e
.
searchInput
,
callback
:
function
(
t
){
e
.
searchInput
=
t
},
expression
:
"searchInput"
}})],
1
),
e
.
_v
(
" "
),
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
ref
:
"multipleTable"
,
staticClass
:
"select-table"
,
style
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
height
:
"450"
,
"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
:
"分组名称"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
groupName
||
"--"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"分类"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
memberTagGroupClassifyName
||
"--"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"是否实时"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
1
==
t
.
row
.
isRealTime
?
"是"
:
"否"
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"更新频率"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
1
==
t
.
row
.
updateType
?
"每日"
:
2
==
t
.
row
.
updateType
?
"每周"
:
3
==
t
.
row
.
updateType
?
"每月"
:
"-"
)
+
" "
+
e
.
_s
(
1
==
t
.
row
.
updateType
?
"一次"
:
2
==
t
.
row
.
updateType
?
"周"
+
t
.
row
.
updateDay
:
3
==
t
.
row
.
updateType
?
t
.
row
.
updateDay
+
"号"
:
"-"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"状态"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
"1"
==
t
.
row
.
effectiveStatus
?
"有效"
:
"失效"
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"覆盖人数"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
memberCount
||
0
)
+
"人"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"到期时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
effectiveDate
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
effectiveDate
)))])]}}])})],
1
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right m-t-24"
},[
a
(
"dm-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
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
e
.
toCancel
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"确定"
)])],
1
)])},
staticRenderFns
:[]};
var
p
=
a
(
"VU/8"
)(
i
,
u
,
!
1
,
function
(
e
){
a
(
"Ssov"
)},
"data-v-49d0413c"
,
null
).
exports
,
c
=
{
name
:
"app-detail"
,
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
tabType
:{
type
:
String
,
default
:
function
(){
return
"1"
}},
activeGroupId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
projectName
:
""
,
wxEnterpriseRelatedId
:
localStorage
.
getItem
(
"userInfos"
)?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
wxEnterpriseId
:
""
,
editPerson
:
localStorage
.
getItem
(
"userInfos"
)
&&
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
staffDTO
?
JSON
.
parse
(
localStorage
.
getItem
(
"userInfos"
)).
staffDTO
.
staffName
:
""
,
formData
:{
templateName
:
""
,
groupIds
:[]},
rules
:{
templateName
:[{
required
:
!
0
,
message
:
"请输入模板名称"
,
trigger
:
"blur"
}],
groupIds
:[{
type
:
"array"
,
required
:
!
0
,
message
:
"请选择门店分组"
,
trigger
:
"change"
}]},
tableData
:[],
activeId
:
"1"
,
loading
:
!
1
,
multipleSelection
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
groupShow
:
!
1
,
loadingBtn
:
!
1
}},
methods
:{
submitForm
:
Object
(
r
.
a
)(
function
(
e
){
var
t
=
this
;
t
.
loadingBtn
=!
0
,
t
.
tableData
.
length
&&
(
t
.
formData
.
groupIds
=
t
.
tableData
.
map
(
function
(
e
){
return
e
.
memberTagGroupId
})),
t
.
$refs
[
e
].
validate
(
function
(
e
){
e
?
t
.
postSave
():
t
.
loadingBtn
=!
1
})},
300
),
postSave
:
function
(){
var
e
=
this
,
t
=
{
templateId
:
e
.
formData
.
templateId
,
templateName
:
e
.
formData
.
templateName
,
groupIds
:
e
.
tableData
.
map
(
function
(
e
){
return
e
.
memberTagGroupId
}).
join
(
","
),
editPerson
:
e
.
editPerson
,
enterpriseId
:
e
.
brandId
};
Object
(
n
.
d
)(
"/haoban-app-customer-web/save-group-template"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
e
.
loadingBtn
=!
1
,
1
==
a
.
errorCode
&&
(
l
.
a
.
showmsg
(
"操作成功"
,
"success"
),
e
.
$router
.
push
(
"/memberGroupSet?tabName=second"
)),
s
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
loadingBtn
=!
1
,
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
delRow
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"确认要删除吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
tableData
.
splice
(
e
,
1
),
a
.
tableData
.
length
&&
(
a
.
formData
.
groupIds
=
a
.
tableData
.
map
(
function
(
e
){
return
e
.
memberTagGroupId
}))}).
catch
(
function
(){})},
multDel
:
function
(){
if
(
!
this
.
multipleSelection
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择删除项"
}),
!
1
;
var
e
=
this
.
multipleSelection
.
map
(
function
(
e
){
return
e
.
memberTagGroupId
}),
t
=
[];
this
.
tableData
.
forEach
(
function
(
a
){
-
1
==
e
.
indexOf
(
a
.
memberTagGroupId
)
&&
t
.
push
(
a
)}),
this
.
tableData
=
t
,
this
.
tableData
.
length
&&
(
this
.
formData
.
groupIds
=
this
.
tableData
.
map
(
function
(
e
){
return
e
.
memberTagGroupId
}))},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
showGroup
:
function
(){
this
.
groupShow
=!
0
},
closeGroup
:
function
(){
this
.
groupShow
=!
1
},
submitGroup
:
function
(
e
){
this
.
groupShow
=!
1
,
this
.
tableData
=
e
,
this
.
formData
.
groupIds
=
this
.
tableData
.
map
(
function
(
e
){
return
e
.
memberTagGroupId
})},
getCustomerSet
:
function
(
e
){
var
t
=
this
,
a
=
{
enterpriseId
:
t
.
brandId
,
wxEnterpriseRelatedId
:
t
.
wxEnterpriseRelatedId
};
Object
(
n
.
d
)(
"/haoban-app-customer-web/customer/find-customer-setting"
,
a
).
then
(
function
(
e
){
var
t
=
e
.
data
;
1
!=
t
.
errorCode
&&
s
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
this
.
getCustomerSet
(
this
.
brandId
)}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"12"
),
this
.
getCustomerSet
(
this
.
brandId
)},
components
:{
selectGroup
:
p
,
limitInput
:
o
.
a
}},
d
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
a
(
"div"
,{
staticClass
:
"app-detail-pane border-box p-20"
},[
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
:
"templateName"
}},[
a
(
"limitInput"
,{
attrs
:{
inputWidth
:
340
,
inputValue
:
e
.
formData
.
templateName
,
getByType
:
"word"
,
holder
:
"请输入模板名称"
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"templateName"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
a
(
"el-form-item"
,{
attrs
:{
label
:
"选择分组"
,
prop
:
"groupIds"
}},[
a
(
"div"
,{
staticClass
:
"flex flex-space-between"
},[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
showGroup
}},[
e
.
_v
(
"选择分组"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"danger"
},
on
:{
click
:
e
.
multDel
}},[
e
.
_v
(
"批量移除"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"m-t-20"
},[
a
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
ref
:
"multipleTable"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
height
:
"400"
,
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
:
"分组名称"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
groupName
||
"--"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"分类"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
memberTagGroupClassifyName
||
"--"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"是否实时"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
1
==
t
.
row
.
isRealTime
?
"是"
:
"否"
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"更新频率"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
1
==
t
.
row
.
updateType
?
"每日"
:
2
==
t
.
row
.
updateType
?
"每周"
:
3
==
t
.
row
.
updateType
?
"每月"
:
"-"
)
+
" "
+
e
.
_s
(
1
==
t
.
row
.
updateType
?
"一次"
:
2
==
t
.
row
.
updateType
?
"周"
+
t
.
row
.
updateDay
:
3
==
t
.
row
.
updateType
?
t
.
row
.
updateDay
+
"号"
:
"-"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"状态"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
"1"
==
t
.
row
.
effectiveStatus
?
"有效"
:
"失效"
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"覆盖人数"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
memberCount
||
0
)
+
"人"
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"到期时间"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToYmd"
)(
t
.
row
.
effectiveDate
)))]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"line-18"
},[
e
.
_v
(
e
.
_s
(
e
.
_f
(
"timeStampToHms"
)(
t
.
row
.
effectiveDate
)))])]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"操作"
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
delRow
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"移除"
)])]}}])})],
1
)],
1
)]),
e
.
_v
(
" "
),
a
(
"el-form-item"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
loading
:
e
.
loadingBtn
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"保存"
)])],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
e
.
groupShow
?
a
(
"select-group"
,{
attrs
:{
brandId
:
e
.
brandId
},
on
:{
closeGroup
:
e
.
closeGroup
,
submitGroup
:
e
.
submitGroup
}}):
e
.
_e
()],
1
)},
staticRenderFns
:[]};
var
m
=
a
(
"VU/8"
)(
c
,
d
,
!
1
,
function
(
e
){
a
(
"XJdp"
)},
"data-v-6ec48ba5"
,
null
);
t
.
default
=
m
.
exports
}});
\ No newline at end of file
dist/static/js/manifest.
310d4275ea7d60d1247f
.js
→
dist/static/js/manifest.
d9c9b169906738e236ce
.js
View file @
eded34a0
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
a
.
length
;
i
++
)
t
=
a
[
i
],
f
[
t
]
&&
u
.
push
(
f
[
t
][
0
]),
f
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
c
&&
c
(
a
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
d
(
d
.
s
=
n
[
i
]);
return
o
};
var
a
=
{},
f
=
{
82
:
0
};
function
d
(
c
){
if
(
a
[
c
])
return
a
[
c
].
exports
;
var
f
=
a
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
f
.
exports
,
f
,
f
.
exports
,
d
),
f
.
l
=!
0
,
f
.
exports
}
d
.
e
=
function
(
e
){
var
c
=
f
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
a
=
new
Promise
(
function
(
a
,
d
){
c
=
f
[
e
]
=
[
a
,
d
]});
c
[
2
]
=
a
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
d
.
nc
&&
n
.
setAttribute
(
"nonce"
,
d
.
nc
),
n
.
src
=
d
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"cbedb09f8527f7df9eb0"
,
1
:
"954a8a70c5f1171933ac"
,
2
:
"a280cacc2b4b43a244e1"
,
3
:
"555d7407ceb230940def"
,
4
:
"7fb54b0d6edc84c910b5"
,
5
:
"3c335bf1dd72ca957262"
,
6
:
"987ab930d70320e9de11"
,
7
:
"32c3458a147e64da242e"
,
8
:
"990e6fcff10d77217764"
,
9
:
"4c87b59db1c88ddd3ced"
,
10
:
"72fccf60a68381f76d55"
,
11
:
"931f12c564ff8f7e5f81"
,
12
:
"bd4b4eb96215d3ff63eb"
,
13
:
"b528a7bfbf239c6b01df"
,
14
:
"c5f34c3cc028e72159a2"
,
15
:
"e465654e5ec23ef8208d"
,
16
:
"a4996da602831cc95d74"
,
17
:
"770b18ce8b116b017976"
,
18
:
"96baa73f6f02ed43eb8e"
,
19
:
"f36008a4491a333b3887"
,
20
:
"3739332a7b56b9610431"
,
21
:
"a714e29f8172a30b5fb1"
,
22
:
"bb593e90b41132f15c1d"
,
23
:
"6c79f1e6f54d06b1cfa3"
,
24
:
"58659b3ecef2e163ec96"
,
25
:
"5d18f3d119eeaecce6da"
,
26
:
"131de4aa19cded3e450a"
,
27
:
"fb8fb618015fae7bcfa6"
,
28
:
"87049d73048403debd2d"
,
29
:
"29d767b9b57b7b477a1e"
,
30
:
"c1de2f4576abf4469703"
,
31
:
"4b402f3839027d664361"
,
32
:
"b1660e9c7305e6c986bf"
,
33
:
"b6534effa7ee91a472a2"
,
34
:
"0d984ccb2e42da5924f7"
,
35
:
"9e75b4e42a0d26a7436e"
,
36
:
"e9756fb4a91bc2c5d182"
,
37
:
"1b5ed61134b909a92c84"
,
38
:
"e974eb2b0071fc939ca5"
,
39
:
"17ea73c5352156f25f5a"
,
40
:
"86d063d5621228eff837"
,
41
:
"19c89dc42386611fd352"
,
42
:
"58113ea95a9ed345c1cd"
,
43
:
"1a2a5e909950b94e1679"
,
44
:
"e0a3c98dc6912e2002a1"
,
45
:
"ea77600af5dfaba7e122"
,
46
:
"b799f1004b7641f2312d"
,
47
:
"ec55a75b65a98e3479d6"
,
48
:
"d063499fc53f109861e6"
,
49
:
"335a1ee0f127917485a9"
,
50
:
"a613c9b52259eb192c68"
,
51
:
"ab1118c43c2223953d1e"
,
52
:
"2c56855886aba5153dfb"
,
53
:
"e7778a58791996a637fb"
,
54
:
"20d1fa1d7197fb03f561"
,
55
:
"66d6bebca2c9ad8be9e1"
,
56
:
"ef2722d4122f46013211"
,
57
:
"d7cdeb146f361ecfd628"
,
58
:
"2f8700775ad0af27b154"
,
59
:
"43f34dd17404d4c78bf9"
,
60
:
"dabbe70ccc550275ee5f"
,
61
:
"8a316c7474e8dd3c779a"
,
62
:
"147e7d084fcc3dede961"
,
63
:
"414cb58c569b2851a656"
,
64
:
"f9e19db362f51e52e082"
,
65
:
"f41ec010313cda71a2b2"
,
66
:
"0f44141898f38be839c0"
,
67
:
"fdb513da79afaf558d2d"
,
68
:
"cf90be34cdad38317e87"
,
69
:
"bc2522dec6524b3cf96a"
,
70
:
"fdbd771eead6adb3643e"
,
71
:
"e2beb82951019a68bfe4"
,
72
:
"b8f92cf89077d32971ce"
,
73
:
"a89d7704c4c88aeb343c"
,
74
:
"3e1e20dd4fe7206a8d7d"
,
75
:
"c95f32bc2f43541a42ae"
,
76
:
"434af8f43c5a663d5141"
,
77
:
"954793399def019b24e6"
,
78
:
"b66e62775b49e6eb25a0"
,
79
:
"660991248ae9ea032194"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
f
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
a
},
d
.
m
=
e
,
d
.
c
=
a
,
d
.
d
=
function
(
e
,
c
,
a
){
d
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
d
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
c
,
"a"
,
c
),
c
},
d
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
d
.
p
=
"./"
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
!
function
(
e
){
var
a
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
c
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
c
.
length
;
i
++
)
t
=
c
[
i
],
f
[
t
]
&&
u
.
push
(
f
[
t
][
0
]),
f
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
a
&&
a
(
c
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
d
(
d
.
s
=
n
[
i
]);
return
o
};
var
c
=
{},
f
=
{
82
:
0
};
function
d
(
a
){
if
(
c
[
a
])
return
c
[
a
].
exports
;
var
f
=
c
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
f
.
exports
,
f
,
f
.
exports
,
d
),
f
.
l
=!
0
,
f
.
exports
}
d
.
e
=
function
(
e
){
var
a
=
f
[
e
];
if
(
0
===
a
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
a
)
return
a
[
2
];
var
c
=
new
Promise
(
function
(
c
,
d
){
a
=
f
[
e
]
=
[
c
,
d
]});
a
[
2
]
=
c
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
d
.
nc
&&
n
.
setAttribute
(
"nonce"
,
d
.
nc
),
n
.
src
=
d
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"cbedb09f8527f7df9eb0"
,
1
:
"954a8a70c5f1171933ac"
,
2
:
"a280cacc2b4b43a244e1"
,
3
:
"555d7407ceb230940def"
,
4
:
"7fb54b0d6edc84c910b5"
,
5
:
"3c335bf1dd72ca957262"
,
6
:
"987ab930d70320e9de11"
,
7
:
"32c3458a147e64da242e"
,
8
:
"990e6fcff10d77217764"
,
9
:
"4c87b59db1c88ddd3ced"
,
10
:
"72fccf60a68381f76d55"
,
11
:
"931f12c564ff8f7e5f81"
,
12
:
"bd4b4eb96215d3ff63eb"
,
13
:
"b528a7bfbf239c6b01df"
,
14
:
"c5f34c3cc028e72159a2"
,
15
:
"e465654e5ec23ef8208d"
,
16
:
"a4996da602831cc95d74"
,
17
:
"770b18ce8b116b017976"
,
18
:
"96baa73f6f02ed43eb8e"
,
19
:
"f36008a4491a333b3887"
,
20
:
"3739332a7b56b9610431"
,
21
:
"a714e29f8172a30b5fb1"
,
22
:
"bb593e90b41132f15c1d"
,
23
:
"1b163e7b54dd7cae5bb9"
,
24
:
"58659b3ecef2e163ec96"
,
25
:
"5d18f3d119eeaecce6da"
,
26
:
"131de4aa19cded3e450a"
,
27
:
"fb8fb618015fae7bcfa6"
,
28
:
"87049d73048403debd2d"
,
29
:
"29d767b9b57b7b477a1e"
,
30
:
"c1de2f4576abf4469703"
,
31
:
"4b402f3839027d664361"
,
32
:
"b1660e9c7305e6c986bf"
,
33
:
"b6534effa7ee91a472a2"
,
34
:
"0d984ccb2e42da5924f7"
,
35
:
"9e75b4e42a0d26a7436e"
,
36
:
"e9756fb4a91bc2c5d182"
,
37
:
"1b5ed61134b909a92c84"
,
38
:
"e974eb2b0071fc939ca5"
,
39
:
"17ea73c5352156f25f5a"
,
40
:
"86d063d5621228eff837"
,
41
:
"19c89dc42386611fd352"
,
42
:
"58113ea95a9ed345c1cd"
,
43
:
"1a2a5e909950b94e1679"
,
44
:
"e0a3c98dc6912e2002a1"
,
45
:
"ea77600af5dfaba7e122"
,
46
:
"b799f1004b7641f2312d"
,
47
:
"ec55a75b65a98e3479d6"
,
48
:
"d063499fc53f109861e6"
,
49
:
"335a1ee0f127917485a9"
,
50
:
"a613c9b52259eb192c68"
,
51
:
"ab1118c43c2223953d1e"
,
52
:
"2c56855886aba5153dfb"
,
53
:
"e7778a58791996a637fb"
,
54
:
"20d1fa1d7197fb03f561"
,
55
:
"66d6bebca2c9ad8be9e1"
,
56
:
"ef2722d4122f46013211"
,
57
:
"d7cdeb146f361ecfd628"
,
58
:
"2f8700775ad0af27b154"
,
59
:
"43f34dd17404d4c78bf9"
,
60
:
"dabbe70ccc550275ee5f"
,
61
:
"8a316c7474e8dd3c779a"
,
62
:
"147e7d084fcc3dede961"
,
63
:
"414cb58c569b2851a656"
,
64
:
"f9e19db362f51e52e082"
,
65
:
"f41ec010313cda71a2b2"
,
66
:
"0f44141898f38be839c0"
,
67
:
"fdb513da79afaf558d2d"
,
68
:
"cf90be34cdad38317e87"
,
69
:
"bc2522dec6524b3cf96a"
,
70
:
"fdbd771eead6adb3643e"
,
71
:
"e2beb82951019a68bfe4"
,
72
:
"b8f92cf89077d32971ce"
,
73
:
"a89d7704c4c88aeb343c"
,
74
:
"3e1e20dd4fe7206a8d7d"
,
75
:
"c95f32bc2f43541a42ae"
,
76
:
"434af8f43c5a663d5141"
,
77
:
"954793399def019b24e6"
,
78
:
"b66e62775b49e6eb25a0"
,
79
:
"660991248ae9ea032194"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
a
=
f
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
c
},
d
.
m
=
e
,
d
.
c
=
c
,
d
.
d
=
function
(
e
,
a
,
c
){
d
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
c
})},
d
.
n
=
function
(
e
){
var
a
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
a
,
"a"
,
a
),
a
},
d
.
o
=
function
(
e
,
a
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
a
)},
d
.
p
=
"./"
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
src/views/apps/customerApp/addGroupTemplate.vue
View file @
eded34a0
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-06-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-06-23 1
6:29:25
* @LastEditTime: 2020-06-23 1
7:20:23
-->
<
template
>
<div
class=
"app-detail-wrap"
>
...
...
@@ -252,9 +252,6 @@ export default {
.
then
(
res
=>
{
let
resData
=
res
.
data
;
if
(
resData
.
errorCode
==
1
)
{
if
(
!!
resData
.
result
)
{
that
.
myCustomData
.
searchFlag
=
!!
resData
.
result
.
searchFlag
?
true
:
false
;
}
return
;
}
errMsg
.
errorMsg
(
resData
);
...
...
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