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
010dc6e7
Commit
010dc6e7
authored
Jun 23, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改设置门店
parent
78d801d9
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
10 additions
and
10 deletions
+10
-10
index.html
dist/index.html
+2
-2
app.858d24c54210509e43bc044138983c38.css
dist/static/css/app.858d24c54210509e43bc044138983c38.css
+0
-0
23.327bdebc025ba79da49f.js
dist/static/js/23.327bdebc025ba79da49f.js
+2
-0
23.8df26a78a1ce7a114b2d.js
dist/static/js/23.8df26a78a1ce7a114b2d.js
+0
-2
manifest.19c9eaf36dc8fd1034d8.js
dist/static/js/manifest.19c9eaf36dc8fd1034d8.js
+2
-2
addGroupTemplate.vue
src/views/apps/customerApp/addGroupTemplate.vue
+4
-4
No files found.
dist/index.html
View file @
010dc6e7
<!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.1dde7128205f6b17a986fab3ae642492.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.e7e9bc1cfba6059571fc.js
></script><script
type=
text/javascript
src=
./static/js/vendor.04714449d6ef1a8af053.js
></script><script
type=
text/javascript
src=
./static/js/app.243bf0ae3835c8b09427.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.858d24c54210509e43bc044138983c38.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.19c9eaf36dc8fd1034d8.js
></script><script
type=
text/javascript
src=
./static/js/vendor.04714449d6ef1a8af053.js
></script><script
type=
text/javascript
src=
./static/js/app.243bf0ae3835c8b09427.js
></script></body></html>
\ No newline at end of file
dist/static/css/app.
1dde7128205f6b17a986fab3ae642492
.css
→
dist/static/css/app.
858d24c54210509e43bc044138983c38
.css
View file @
010dc6e7
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/23.327bdebc025ba79da49f.js
0 → 100644
View file @
010dc6e7
webpackJsonp
([
23
],{
Ssov
:
function
(
e
,
t
){},
Xsgj
:
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"
),
s
=
a
(
"3E4D"
),
l
=
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
?(
s
.
a
.
showmsg
(
"操作成功"
,
"success"
),
e
.
$refs
.
multipleTable
.
clearSelection
(),
e
.
$emit
(
"submitGroup"
,
e
.
multipleSelection
)):
l
.
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
;
l
.
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
c
=
a
(
"VU/8"
)(
i
,
u
,
!
1
,
function
(
e
){
a
(
"Ssov"
)},
"data-v-49d0413c"
,
null
).
exports
,
p
=
{
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/cardCoupon/add-card-coup"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
e
.
loadingBtn
=!
1
,
1
==
a
.
errorCode
&&
(
s
.
a
.
showmsg
(
"操作成功"
,
"success"
),
e
.
$router
.
push
(
"/memberGroupSet?tabName=second"
)),
l
.
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
)}).
catch
(
function
(){})},
multDel
:
function
(){
if
(
!
this
.
multipleSelection
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择删除项"
}),
!
1
;
this
.
postMultDel
()},
postMultDel
:
function
(){
var
e
=
this
,
t
=
{
search
:
e
.
conditionObj
.
searchInput
||
""
,
storeIds
:
e
.
multipleSelection
.
map
(
function
(
e
){
return
e
.
storeId
}).
join
(
","
)
||
""
};
Object
(
n
.
d
)(
"/haoban-app-tel-task-three-web/task/batch-del-store-task-list"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
s
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
e
.
getTableList
();
l
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
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
})},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
},
submit
:
Object
(
r
.
a
)(
function
(
e
){
this
.
loading
=!
0
,
this
.
setData
(
e
)},
500
),
setData
:
function
(
e
){
var
t
=
this
,
a
=
{
enterpriseId
:
t
.
brandId
,
wxEnterpriseRelatedId
:
t
.
wxEnterpriseRelatedId
},
o
=
void
0
;
"showFlag"
!=
e
&&
(
a
[
e
]
=
t
.
myCustomData
[
e
]?
1
:
0
,
o
=
"/haoban-app-customer-web/customer/save-online-chat-setting"
,
"searchFlag"
===
e
&&
(
o
=
"/haoban-app-customer-web/customer/save-customer-setting"
)),
Object
(
n
.
d
)(
o
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
t
.
loading
=!
1
,
1
!=
a
.
errorCode
?
l
.
a
.
errorMsg
(
a
):
s
.
a
.
showmsg
(
"保存成功"
,
"success"
)}).
catch
(
function
(
e
){
t
.
loading
=!
1
,
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
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
?
l
.
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
:
c
,
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
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right"
},[
a
(
"dm-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-size"
:
e
.
pageSize
,
layout
:
"total, prev, pager, next"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
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"
)(
p
,
d
,
!
1
,
function
(
e
){
a
(
"Xsgj"
)},
"data-v-1f9a4790"
,
null
);
t
.
default
=
m
.
exports
}});
\ No newline at end of file
dist/static/js/23.8df26a78a1ce7a114b2d.js
deleted
100644 → 0
View file @
78d801d9
webpackJsonp
([
23
],{
"/cCY"
:
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"
),
s
=
a
(
"3E4D"
),
l
=
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
?(
s
.
a
.
showmsg
(
"操作成功"
,
"success"
),
e
.
$refs
.
multipleTable
.
clearSelection
(),
e
.
$emit
(
"submitGroup"
,
e
.
multipleSelection
)):
l
.
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
;
l
.
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
c
=
a
(
"VU/8"
)(
i
,
u
,
!
1
,
function
(
e
){
a
(
"Ssov"
)},
"data-v-49d0413c"
,
null
).
exports
,
p
=
{
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
.
groupId
}).
join
(
","
)),
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
.
groupId
}),
editPerson
:
e
.
editPerson
,
enterpriseId
:
e
.
brandId
};
Object
(
n
.
d
)(
"/haoban-app-customer-web/cardCoupon/add-card-coup"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
e
.
loadingBtn
=!
1
,
1
==
a
.
errorCode
&&
(
s
.
a
.
showmsg
(
"操作成功"
,
"success"
),
e
.
$router
.
push
(
"/memberGroupSet?tabName=second"
)),
l
.
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
)}).
catch
(
function
(){})},
multDel
:
function
(){
if
(
!
this
.
multipleSelection
.
length
)
return
this
.
$message
.
error
({
duration
:
1
e3
,
message
:
"请选择删除项"
}),
!
1
;
this
.
postMultDel
()},
postMultDel
:
function
(){
var
e
=
this
,
t
=
{
search
:
e
.
conditionObj
.
searchInput
||
""
,
storeIds
:
e
.
multipleSelection
.
map
(
function
(
e
){
return
e
.
storeId
}).
join
(
","
)
||
""
};
Object
(
n
.
d
)(
"/haoban-app-tel-task-three-web/task/batch-del-store-task-list"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
s
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
e
.
getTableList
();
l
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
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
.
groupId
}).
join
(
","
)},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
},
submit
:
Object
(
r
.
a
)(
function
(
e
){
this
.
loading
=!
0
,
this
.
setData
(
e
)},
500
),
setData
:
function
(
e
){
var
t
=
this
,
a
=
{
enterpriseId
:
t
.
brandId
,
wxEnterpriseRelatedId
:
t
.
wxEnterpriseRelatedId
},
o
=
void
0
;
"showFlag"
!=
e
&&
(
a
[
e
]
=
t
.
myCustomData
[
e
]?
1
:
0
,
o
=
"/haoban-app-customer-web/customer/save-online-chat-setting"
,
"searchFlag"
===
e
&&
(
o
=
"/haoban-app-customer-web/customer/save-customer-setting"
)),
Object
(
n
.
d
)(
o
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
t
.
loading
=!
1
,
1
!=
a
.
errorCode
?
l
.
a
.
errorMsg
(
a
):
s
.
a
.
showmsg
(
"保存成功"
,
"success"
)}).
catch
(
function
(
e
){
t
.
loading
=!
1
,
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
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
?
l
.
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
:
c
,
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
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"block common-wrap__page text-right"
},[
a
(
"dm-pagination"
,{
attrs
:{
background
:
""
,
"current-page"
:
e
.
currentPage
,
"page-size"
:
e
.
pageSize
,
layout
:
"total, prev, pager, next"
,
total
:
e
.
total
},
on
:{
"size-change"
:
e
.
handleSizeChange
,
"current-change"
:
e
.
handleCurrentChange
}})],
1
):
e
.
_e
()],
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"
)(
p
,
d
,
!
1
,
function
(
e
){
a
(
"/cCY"
)},
"data-v-30617f22"
,
null
);
t
.
default
=
m
.
exports
}});
\ No newline at end of file
dist/static/js/manifest.
e7e9bc1cfba6059571fc
.js
→
dist/static/js/manifest.
19c9eaf36dc8fd1034d8
.js
View file @
010dc6e7
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
f
.
length
;
i
++
)
t
=
f
[
i
],
a
[
t
]
&&
u
.
push
(
a
[
t
][
0
]),
a
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
c
&&
c
(
f
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
d
(
d
.
s
=
n
[
i
]);
return
o
};
var
f
=
{},
a
=
{
82
:
0
};
function
d
(
c
){
if
(
f
[
c
])
return
f
[
c
].
exports
;
var
a
=
f
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
a
.
exports
,
a
,
a
.
exports
,
d
),
a
.
l
=!
0
,
a
.
exports
}
d
.
e
=
function
(
e
){
var
c
=
a
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
f
=
new
Promise
(
function
(
f
,
d
){
c
=
a
[
e
]
=
[
f
,
d
]});
c
[
2
]
=
f
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
d
.
nc
&&
n
.
setAttribute
(
"nonce"
,
d
.
nc
),
n
.
src
=
d
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"cbedb09f8527f7df9eb0"
,
1
:
"954a8a70c5f1171933ac"
,
2
:
"a280cacc2b4b43a244e1"
,
3
:
"b24f4f50d5214c450233"
,
4
:
"7fb54b0d6edc84c910b5"
,
5
:
"3c335bf1dd72ca957262"
,
6
:
"987ab930d70320e9de11"
,
7
:
"32c3458a147e64da242e"
,
8
:
"bbbda38e867acaa03e56"
,
9
:
"893877b035c3b35f556e"
,
10
:
"72fccf60a68381f76d55"
,
11
:
"e50caf7e54aeba14012b"
,
12
:
"d964c18dfceef61d909f"
,
13
:
"ccd26a0fb3c15315f239"
,
14
:
"d136c49a12c4ecf6ca43"
,
15
:
"d7aab003f9662d3c8f47"
,
16
:
"b692b43283275c0bc6b9"
,
17
:
"62255cf03bb549956c58"
,
18
:
"7ffc38554bc63393a91e"
,
19
:
"35726f60c578a23e9017"
,
20
:
"ba2e2bd0823422a4de6c"
,
21
:
"2073753ae49abdc23a5e"
,
22
:
"e898dfb58840c1562c49"
,
23
:
"8df26a78a1ce7a114b2d"
,
24
:
"7a57624e89e34e420a52"
,
25
:
"b33652a002af7a00f907"
,
26
:
"9cbcbc21da1497c3c88d"
,
27
:
"2ef5a7ed954d9e647c2c"
,
28
:
"397cc89e1fdd1ccd95d7"
,
29
:
"96223e7cd5aec48e384e"
,
30
:
"47d0cc20d45b2157664f"
,
31
:
"c23ab9f1a7776f534c0d"
,
32
:
"ff685a2f2e663c9902c9"
,
33
:
"82effc7b171977a2a302"
,
34
:
"18bce297c3536920f0be"
,
35
:
"814dd1eb24901e53ab86"
,
36
:
"c0359ca785e1f0dde1fc"
,
37
:
"5c9ff0df45337846174c"
,
38
:
"d611515c016c19a10610"
,
39
:
"d996a51ef07f1b4fe32f"
,
40
:
"d47e6db9c2c90977e447"
,
41
:
"72edf05f9b4b4702b18a"
,
42
:
"5e346d08b95df9ccaaae"
,
43
:
"fd6a0378899bf82633c2"
,
44
:
"291c011d71bb17ad8a52"
,
45
:
"3138fb438a21df72f584"
,
46
:
"fe0bf00b35cec5dc3837"
,
47
:
"d363f613cf1721b7b90f"
,
48
:
"dbe9d687f18931faf5e5"
,
49
:
"bf842c43625a09f5b636"
,
50
:
"3996d69d0431a2f0b220"
,
51
:
"f693420dcf48a7d94ae8"
,
52
:
"35e4365c1632396669ea"
,
53
:
"24a43ba6e9c5bffcffd5"
,
54
:
"a6be59574583fe0616fd"
,
55
:
"0ff287d4ac704210b759"
,
56
:
"392c874cbb83e68ba9b0"
,
57
:
"c596e642ee1b7c8ea852"
,
58
:
"8911d0dd487597c89041"
,
59
:
"1620e8d917f055bd096c"
,
60
:
"980a2a1cac0bc4235e7c"
,
61
:
"0f485bc0cd6ffbf37912"
,
62
:
"2c9efd39ab9c002347f2"
,
63
:
"f590a15a3a06dece7d69"
,
64
:
"f9e19db362f51e52e082"
,
65
:
"f41ec010313cda71a2b2"
,
66
:
"0f44141898f38be839c0"
,
67
:
"fdb513da79afaf558d2d"
,
68
:
"cf90be34cdad38317e87"
,
69
:
"bc2522dec6524b3cf96a"
,
70
:
"fdbd771eead6adb3643e"
,
71
:
"3dbfff6517834c246a35"
,
72
:
"012da867be0c0c824e64"
,
73
:
"7842a30e48557dc2764e"
,
74
:
"41c0ec9ec8b44d232326"
,
75
:
"db3fed59d5479f7a0e68"
,
76
:
"17e932433f889bef98c9"
,
77
:
"1ca8827ee674c2bf8322"
,
78
:
"925a2c05ec6516adf1e6"
,
79
:
"a059cde671ec44316e79"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
a
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
a
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
f
},
d
.
m
=
e
,
d
.
c
=
f
,
d
.
d
=
function
(
e
,
c
,
f
){
d
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
d
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
c
,
"a"
,
c
),
c
},
d
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
d
.
p
=
"./"
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
f
,
b
,
n
){
for
(
var
r
,
t
,
o
,
i
=
0
,
u
=
[];
i
<
f
.
length
;
i
++
)
t
=
f
[
i
],
a
[
t
]
&&
u
.
push
(
a
[
t
][
0
]),
a
[
t
]
=
0
;
for
(
r
in
b
)
Object
.
prototype
.
hasOwnProperty
.
call
(
b
,
r
)
&&
(
e
[
r
]
=
b
[
r
]);
for
(
c
&&
c
(
f
,
b
,
n
);
u
.
length
;)
u
.
shift
()();
if
(
n
)
for
(
i
=
0
;
i
<
n
.
length
;
i
++
)
o
=
d
(
d
.
s
=
n
[
i
]);
return
o
};
var
f
=
{},
a
=
{
82
:
0
};
function
d
(
c
){
if
(
f
[
c
])
return
f
[
c
].
exports
;
var
a
=
f
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
a
.
exports
,
a
,
a
.
exports
,
d
),
a
.
l
=!
0
,
a
.
exports
}
d
.
e
=
function
(
e
){
var
c
=
a
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
f
=
new
Promise
(
function
(
f
,
d
){
c
=
a
[
e
]
=
[
f
,
d
]});
c
[
2
]
=
f
;
var
b
=
document
.
getElementsByTagName
(
"head"
)[
0
],
n
=
document
.
createElement
(
"script"
);
n
.
type
=
"text/javascript"
,
n
.
charset
=
"utf-8"
,
n
.
async
=!
0
,
n
.
timeout
=
12
e4
,
d
.
nc
&&
n
.
setAttribute
(
"nonce"
,
d
.
nc
),
n
.
src
=
d
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"cbedb09f8527f7df9eb0"
,
1
:
"954a8a70c5f1171933ac"
,
2
:
"a280cacc2b4b43a244e1"
,
3
:
"b24f4f50d5214c450233"
,
4
:
"7fb54b0d6edc84c910b5"
,
5
:
"3c335bf1dd72ca957262"
,
6
:
"987ab930d70320e9de11"
,
7
:
"32c3458a147e64da242e"
,
8
:
"bbbda38e867acaa03e56"
,
9
:
"893877b035c3b35f556e"
,
10
:
"72fccf60a68381f76d55"
,
11
:
"e50caf7e54aeba14012b"
,
12
:
"d964c18dfceef61d909f"
,
13
:
"ccd26a0fb3c15315f239"
,
14
:
"d136c49a12c4ecf6ca43"
,
15
:
"d7aab003f9662d3c8f47"
,
16
:
"b692b43283275c0bc6b9"
,
17
:
"62255cf03bb549956c58"
,
18
:
"7ffc38554bc63393a91e"
,
19
:
"35726f60c578a23e9017"
,
20
:
"ba2e2bd0823422a4de6c"
,
21
:
"2073753ae49abdc23a5e"
,
22
:
"e898dfb58840c1562c49"
,
23
:
"327bdebc025ba79da49f"
,
24
:
"7a57624e89e34e420a52"
,
25
:
"b33652a002af7a00f907"
,
26
:
"9cbcbc21da1497c3c88d"
,
27
:
"2ef5a7ed954d9e647c2c"
,
28
:
"397cc89e1fdd1ccd95d7"
,
29
:
"96223e7cd5aec48e384e"
,
30
:
"47d0cc20d45b2157664f"
,
31
:
"c23ab9f1a7776f534c0d"
,
32
:
"ff685a2f2e663c9902c9"
,
33
:
"82effc7b171977a2a302"
,
34
:
"18bce297c3536920f0be"
,
35
:
"814dd1eb24901e53ab86"
,
36
:
"c0359ca785e1f0dde1fc"
,
37
:
"5c9ff0df45337846174c"
,
38
:
"d611515c016c19a10610"
,
39
:
"d996a51ef07f1b4fe32f"
,
40
:
"d47e6db9c2c90977e447"
,
41
:
"72edf05f9b4b4702b18a"
,
42
:
"5e346d08b95df9ccaaae"
,
43
:
"fd6a0378899bf82633c2"
,
44
:
"291c011d71bb17ad8a52"
,
45
:
"3138fb438a21df72f584"
,
46
:
"fe0bf00b35cec5dc3837"
,
47
:
"d363f613cf1721b7b90f"
,
48
:
"dbe9d687f18931faf5e5"
,
49
:
"bf842c43625a09f5b636"
,
50
:
"3996d69d0431a2f0b220"
,
51
:
"f693420dcf48a7d94ae8"
,
52
:
"35e4365c1632396669ea"
,
53
:
"24a43ba6e9c5bffcffd5"
,
54
:
"a6be59574583fe0616fd"
,
55
:
"0ff287d4ac704210b759"
,
56
:
"392c874cbb83e68ba9b0"
,
57
:
"c596e642ee1b7c8ea852"
,
58
:
"8911d0dd487597c89041"
,
59
:
"1620e8d917f055bd096c"
,
60
:
"980a2a1cac0bc4235e7c"
,
61
:
"0f485bc0cd6ffbf37912"
,
62
:
"2c9efd39ab9c002347f2"
,
63
:
"f590a15a3a06dece7d69"
,
64
:
"f9e19db362f51e52e082"
,
65
:
"f41ec010313cda71a2b2"
,
66
:
"0f44141898f38be839c0"
,
67
:
"fdb513da79afaf558d2d"
,
68
:
"cf90be34cdad38317e87"
,
69
:
"bc2522dec6524b3cf96a"
,
70
:
"fdbd771eead6adb3643e"
,
71
:
"3dbfff6517834c246a35"
,
72
:
"012da867be0c0c824e64"
,
73
:
"7842a30e48557dc2764e"
,
74
:
"41c0ec9ec8b44d232326"
,
75
:
"db3fed59d5479f7a0e68"
,
76
:
"17e932433f889bef98c9"
,
77
:
"1ca8827ee674c2bf8322"
,
78
:
"925a2c05ec6516adf1e6"
,
79
:
"a059cde671ec44316e79"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
c
=
a
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
a
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
f
},
d
.
m
=
e
,
d
.
c
=
f
,
d
.
d
=
function
(
e
,
c
,
f
){
d
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
f
})},
d
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
c
,
"a"
,
c
),
c
},
d
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
d
.
p
=
"./"
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
src/views/apps/customerApp/addGroupTemplate.vue
View file @
010dc6e7
...
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2019-06-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-06-23 1
3:58:02
* @LastEditTime: 2020-06-23 1
4:05:58
-->
<
template
>
<div
class=
"app-detail-wrap"
>
...
...
@@ -135,7 +135,7 @@ export default {
const
that
=
this
;
that
.
loadingBtn
=
true
;
if
(
that
.
tableData
.
length
)
{
that
.
formData
.
groupIds
=
that
.
tableData
.
map
(
ele
=>
ele
.
groupId
).
join
(
','
);
that
.
formData
.
groupIds
=
that
.
tableData
.
map
(
ele
=>
ele
.
memberTagGroupId
);
}
that
.
$refs
[
formName
].
validate
(
valid
=>
{
...
...
@@ -151,7 +151,7 @@ export default {
let
para
=
{
templateId
:
that
.
formData
.
templateId
,
templateName
:
that
.
formData
.
templateName
,
groupIds
:
that
.
tableData
.
map
(
ele
=>
ele
.
groupId
),
groupIds
:
that
.
tableData
.
map
(
ele
=>
ele
.
memberTagGroupId
).
join
(
','
),
editPerson
:
that
.
editPerson
,
enterpriseId
:
that
.
brandId
};
...
...
@@ -248,7 +248,7 @@ export default {
const
that
=
this
;
that
.
groupShow
=
false
;
that
.
tableData
=
arr
;
that
.
formData
.
groupIds
=
that
.
tableData
.
map
(
ele
=>
ele
.
groupId
).
join
(
','
);
that
.
formData
.
groupIds
=
that
.
tableData
.
map
(
ele
=>
ele
.
memberTagGroupId
);
},
/**
* 分页---页码变化
...
...
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