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
12d2172c
Commit
12d2172c
authored
Jun 28, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:修改分页
parent
566e6d64
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
25 additions
and
7 deletions
+25
-7
index.html
dist/index.html
+2
-2
app.49e17a6e55b9509c2a7e038a7eb7b3bb.css
dist/static/css/app.49e17a6e55b9509c2a7e038a7eb7b3bb.css
+0
-0
21.cd0a964e0f30b9bef43c.js
dist/static/js/21.cd0a964e0f30b9bef43c.js
+2
-0
21.efc652df22b8adf0252f.js
dist/static/js/21.efc652df22b8adf0252f.js
+0
-2
manifest.331b5deef170590bb8c0.js
dist/static/js/manifest.331b5deef170590bb8c0.js
+2
-2
select-group.vue
src/components/app/customer/select-group.vue
+19
-1
No files found.
dist/index.html
View file @
12d2172c
<!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.a11d8840781ed1c5865f3e3f6b6ca00c.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.bf24cf7eec39928add22.js
></script><script
type=
text/javascript
src=
./static/js/vendor.04714449d6ef1a8af053.js
></script><script
type=
text/javascript
src=
./static/js/app.37243180111e246a2701.js
></script></body></html>
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
rel=
stylesheet
type=
text/css
href=
//web-1251519181.file.myqcloud.com/custom-element/custom-element.1.0.28.css
><link
href=
./static/css/app.49e17a6e55b9509c2a7e038a7eb7b3bb.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.331b5deef170590bb8c0.js
></script><script
type=
text/javascript
src=
./static/js/vendor.04714449d6ef1a8af053.js
></script><script
type=
text/javascript
src=
./static/js/app.37243180111e246a2701.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dist/static/css/app.
a11d8840781ed1c5865f3e3f6b6ca00c
.css
→
dist/static/css/app.
49e17a6e55b9509c2a7e038a7eb7b3bb
.css
View file @
12d2172c
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/21.cd0a964e0f30b9bef43c.js
0 → 100644
View file @
12d2172c
webpackJsonp
([
21
],{
"3Wng"
:
function
(
e
,
t
){},
neXi
:
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
(
"Ch4/"
),
s
=
{
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
),
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
,
this
.
getTableList
()},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
,
this
.
getTableList
()},
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
()}},
i
=
{
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
u
=
a
(
"VU/8"
)(
s
,
i
,
!
1
,
function
(
e
){
a
(
"neXi"
)},
"data-v-b9a82728"
,
null
).
exports
,
p
=
a
(
"3E4D"
),
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
&&
(
p
.
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
),
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
){
var
t
=
this
;
t
.
groupShow
=!
1
;
var
a
=
t
.
tableData
.
map
(
function
(
e
){
return
e
.
memberTagGroupId
});
e
.
forEach
(
function
(
e
){
-
1
==
a
.
indexOf
(
e
.
memberTagGroupId
)
&&
t
.
tableData
.
push
(
e
)}),
console
.
log
(
t
.
tableData
),
t
.
formData
.
groupIds
=
t
.
tableData
.
map
(
function
(
e
){
return
e
.
memberTagGroupId
}),
t
.
$refs
.
ruleForm
.
validate
(
function
(
e
){})},
getTemplateSet
:
function
(
e
){
var
t
=
this
,
a
=
{
templateId
:
t
.
$route
.
query
.
templateId
,
enterpriseId
:
t
.
brandId
};
Object
(
n
.
d
)(
"/haoban-app-customer-web/get-template-detail"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
l
.
a
.
errorMsg
(
a
):
a
.
result
&&
(
a
.
result
.
template
.
groupIds
=
a
.
result
.
groupList
.
map
(
function
(
e
){
return
e
.
memberTagGroupId
})
||
[],
t
.
formData
=
a
.
result
.
template
,
t
.
tableData
=
a
.
result
.
groupList
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
this
.
$route
.
query
.
templateId
&&
this
.
getTemplateSet
(
this
.
brandId
)}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"12"
),
this
.
brandId
&&
this
.
$route
.
query
.
templateId
&&
this
.
getTemplateSet
(
this
.
brandId
)},
components
:{
selectGroup
:
u
,
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
:{
"max-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
(
"3Wng"
)},
"data-v-7731973c"
,
null
);
t
.
default
=
m
.
exports
}});
\ No newline at end of file
dist/static/js/21.efc652df22b8adf0252f.js
deleted
100644 → 0
View file @
566e6d64
webpackJsonp
([
21
],{
"3Wng"
:
function
(
e
,
t
){},
IHgA
:
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
(
"Ch4/"
),
s
=
{
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
),
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
()}},
i
=
{
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
u
=
a
(
"VU/8"
)(
s
,
i
,
!
1
,
function
(
e
){
a
(
"IHgA"
)},
"data-v-fe39e452"
,
null
).
exports
,
p
=
a
(
"3E4D"
),
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
&&
(
p
.
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
),
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
){
var
t
=
this
;
t
.
groupShow
=!
1
;
var
a
=
t
.
tableData
.
map
(
function
(
e
){
return
e
.
memberTagGroupId
});
e
.
forEach
(
function
(
e
){
-
1
==
a
.
indexOf
(
e
.
memberTagGroupId
)
&&
t
.
tableData
.
push
(
e
)}),
console
.
log
(
t
.
tableData
),
t
.
formData
.
groupIds
=
t
.
tableData
.
map
(
function
(
e
){
return
e
.
memberTagGroupId
}),
t
.
$refs
.
ruleForm
.
validate
(
function
(
e
){})},
getTemplateSet
:
function
(
e
){
var
t
=
this
,
a
=
{
templateId
:
t
.
$route
.
query
.
templateId
,
enterpriseId
:
t
.
brandId
};
Object
(
n
.
d
)(
"/haoban-app-customer-web/get-template-detail"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
l
.
a
.
errorMsg
(
a
):
a
.
result
&&
(
a
.
result
.
template
.
groupIds
=
a
.
result
.
groupList
.
map
(
function
(
e
){
return
e
.
memberTagGroupId
})
||
[],
t
.
formData
=
a
.
result
.
template
,
t
.
tableData
=
a
.
result
.
groupList
)}).
catch
(
function
(
e
){
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
brandId
:
function
(
e
,
t
){
e
&&
this
.
$route
.
query
.
templateId
&&
this
.
getTemplateSet
(
this
.
brandId
)}},
mounted
:
function
(){
this
.
$emit
(
"showTab"
,
"12"
),
this
.
brandId
&&
this
.
$route
.
query
.
templateId
&&
this
.
getTemplateSet
(
this
.
brandId
)},
components
:{
selectGroup
:
u
,
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
:{
"max-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
(
"3Wng"
)},
"data-v-7731973c"
,
null
);
t
.
default
=
m
.
exports
}});
\ No newline at end of file
dist/static/js/manifest.
bf24cf7eec39928add22
.js
→
dist/static/js/manifest.
331b5deef170590bb8c0
.js
View file @
12d2172c
!
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
:
"2e98b772134d59713cff"
,
4
:
"7fb54b0d6edc84c910b5"
,
5
:
"3c335bf1dd72ca957262"
,
6
:
"987ab930d70320e9de11"
,
7
:
"32c3458a147e64da242e"
,
8
:
"990e6fcff10d77217764"
,
9
:
"4c87b59db1c88ddd3ced"
,
10
:
"72fccf60a68381f76d55"
,
11
:
"013df087d253a6379a44"
,
12
:
"03148f95863f7a200db2"
,
13
:
"8676feea9b0f73967926"
,
14
:
"028743f6135cde80b9a8"
,
15
:
"e465654e5ec23ef8208d"
,
16
:
"a4996da602831cc95d74"
,
17
:
"770b18ce8b116b017976"
,
18
:
"96baa73f6f02ed43eb8e"
,
19
:
"f36008a4491a333b3887"
,
20
:
"3739332a7b56b9610431"
,
21
:
"efc652df22b8adf0252f"
,
22
:
"bb593e90b41132f15c1d"
,
23
:
"da634068aad0d43b1782"
,
24
:
"948d941c94d6427e742a"
,
25
:
"bee763f6e52327785fa6"
,
26
:
"131de4aa19cded3e450a"
,
27
:
"fb8fb618015fae7bcfa6"
,
28
:
"87049d73048403debd2d"
,
29
:
"29d767b9b57b7b477a1e"
,
30
:
"fe45e8449e2c1285afb9"
,
31
:
"a491ec6fa2128e9a2b0f"
,
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
:
"cef48bb077d7adfd0393"
,
52
:
"e201923c185c46bbad64"
,
53
:
"8511a52e731f88850f56"
,
54
:
"20d1fa1d7197fb03f561"
,
55
:
"01c81c2b62e87fc0851d"
,
56
:
"c5ddcc6eace690ee3eec"
,
57
:
"f87843745cd8e1505453"
,
58
:
"484d023d296320e05ff9"
,
59
:
"158333f6b34429a46231"
,
60
:
"477c7c18563940f46b31"
,
61
:
"217c2352e374e3c4e438"
,
62
:
"7e6e0052d51c7547d70a"
,
63
:
"0f8d3111b2b4e4f8c57b"
,
64
:
"ce82fb945a44f47f1c1f"
,
65
:
"52304eb24aada488c91f"
,
66
:
"806271562f576dd0122c"
,
67
:
"371a3d9f0e8c7aa3be9b"
,
68
:
"5b0ebf4833498e06a8ed"
,
69
:
"5426a9f80e3808aac128"
,
70
:
"8a4e19e07ca2c824bcbd"
,
71
:
"1d4dee37d61cd52c7811"
,
72
:
"32294223b65e7e02d8bb"
,
73
:
"9da15ba0c7a781bac67f"
,
74
:
"61f8d00f7b5daf9b315a"
,
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
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
}}([]);
!
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
:
"2e98b772134d59713cff"
,
4
:
"7fb54b0d6edc84c910b5"
,
5
:
"3c335bf1dd72ca957262"
,
6
:
"987ab930d70320e9de11"
,
7
:
"32c3458a147e64da242e"
,
8
:
"990e6fcff10d77217764"
,
9
:
"4c87b59db1c88ddd3ced"
,
10
:
"72fccf60a68381f76d55"
,
11
:
"013df087d253a6379a44"
,
12
:
"03148f95863f7a200db2"
,
13
:
"8676feea9b0f73967926"
,
14
:
"028743f6135cde80b9a8"
,
15
:
"e465654e5ec23ef8208d"
,
16
:
"a4996da602831cc95d74"
,
17
:
"770b18ce8b116b017976"
,
18
:
"96baa73f6f02ed43eb8e"
,
19
:
"f36008a4491a333b3887"
,
20
:
"3739332a7b56b9610431"
,
21
:
"cd0a964e0f30b9bef43c"
,
22
:
"bb593e90b41132f15c1d"
,
23
:
"da634068aad0d43b1782"
,
24
:
"948d941c94d6427e742a"
,
25
:
"bee763f6e52327785fa6"
,
26
:
"131de4aa19cded3e450a"
,
27
:
"fb8fb618015fae7bcfa6"
,
28
:
"87049d73048403debd2d"
,
29
:
"29d767b9b57b7b477a1e"
,
30
:
"fe45e8449e2c1285afb9"
,
31
:
"a491ec6fa2128e9a2b0f"
,
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
:
"cef48bb077d7adfd0393"
,
52
:
"e201923c185c46bbad64"
,
53
:
"8511a52e731f88850f56"
,
54
:
"20d1fa1d7197fb03f561"
,
55
:
"01c81c2b62e87fc0851d"
,
56
:
"c5ddcc6eace690ee3eec"
,
57
:
"f87843745cd8e1505453"
,
58
:
"484d023d296320e05ff9"
,
59
:
"158333f6b34429a46231"
,
60
:
"477c7c18563940f46b31"
,
61
:
"217c2352e374e3c4e438"
,
62
:
"7e6e0052d51c7547d70a"
,
63
:
"0f8d3111b2b4e4f8c57b"
,
64
:
"ce82fb945a44f47f1c1f"
,
65
:
"52304eb24aada488c91f"
,
66
:
"806271562f576dd0122c"
,
67
:
"371a3d9f0e8c7aa3be9b"
,
68
:
"5b0ebf4833498e06a8ed"
,
69
:
"5426a9f80e3808aac128"
,
70
:
"8a4e19e07ca2c824bcbd"
,
71
:
"1d4dee37d61cd52c7811"
,
72
:
"32294223b65e7e02d8bb"
,
73
:
"9da15ba0c7a781bac67f"
,
74
:
"61f8d00f7b5daf9b315a"
,
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
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
\ No newline at end of file
src/components/app/customer/select-group.vue
View file @
12d2172c
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
* @Author: 无尘
* @Author: 无尘
* @Date: 2020-04-14 09:50:16
* @Date: 2020-04-14 09:50:16
* @LastEditors: 无尘
* @LastEditors: 无尘
* @LastEditTime: 2020-06-2
4 13:44:39
* @LastEditTime: 2020-06-2
8 10:54:28
-->
-->
<!--
<!--
<select-group :brandId="brandId" @closeGroup="closeGroup" @submitGroup="submitGroup"></select-group>
<select-group :brandId="brandId" @closeGroup="closeGroup" @submitGroup="submitGroup"></select-group>
...
@@ -132,6 +132,24 @@ export default {
...
@@ -132,6 +132,24 @@ export default {
},
300
),
},
300
),
/**
/**
* 分页---页码变化
*/
handleSizeChange
(
val
)
{
const
that
=
this
;
that
.
pageSize
=
val
;
that
.
getTableList
();
},
/**
* 分页---当前页变化
*/
handleCurrentChange
(
val
)
{
const
that
=
this
;
that
.
currentPage
=
val
;
that
.
getTableList
();
},
/**
* 获取列表数据
* 获取列表数据
*/
*/
getTableList
(
val
)
{
getTableList
(
val
)
{
...
...
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