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
f49be081
Commit
f49be081
authored
Jun 23, 2020
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改设置门店
parent
07480dbb
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
7 additions
and
13 deletions
+7
-13
index.html
dist/index.html
+2
-2
app.74c1347734e69125d09f5c9d9fc6aace.css
dist/static/css/app.74c1347734e69125d09f5c9d9fc6aace.css
+0
-0
11.2e8b140f00c6dd673ba5.js
dist/static/js/11.2e8b140f00c6dd673ba5.js
+0
-2
11.85ef9abb670d4472d7e4.js
dist/static/js/11.85ef9abb670d4472d7e4.js
+2
-0
manifest.82c8c9e81fb2d1c08c21.js
dist/static/js/manifest.82c8c9e81fb2d1c08c21.js
+2
-2
set-visiable.vue
src/components/app/customer/set-visiable.vue
+1
-7
No files found.
dist/index.html
View file @
f49be081
<!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.4f92e702274f73345a5102781b62fb92.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.57c2e07280e94f62e1a9.js
></script><script
type=
text/javascript
src=
./static/js/vendor.04714449d6ef1a8af053.js
></script><script
type=
text/javascript
src=
./static/js/app.3f2db82121e593a38d48.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.74c1347734e69125d09f5c9d9fc6aace.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.82c8c9e81fb2d1c08c21.js
></script><script
type=
text/javascript
src=
./static/js/vendor.04714449d6ef1a8af053.js
></script><script
type=
text/javascript
src=
./static/js/app.3f2db82121e593a38d48.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dist/static/css/app.
4f92e702274f73345a5102781b62fb92
.css
→
dist/static/css/app.
74c1347734e69125d09f5c9d9fc6aace
.css
View file @
f49be081
This source diff could not be displayed because it is too large. You can
view the blob
instead.
dist/static/js/11.2e8b140f00c6dd673ba5.js
deleted
100644 → 0
View file @
07480dbb
webpackJsonp
([
11
],{
"8C7T"
:
function
(
e
,
t
){},
HoLU
:
function
(
e
,
t
){},
KXM4
:
function
(
e
,
t
){},
mOmb
:
function
(
e
,
t
,
a
){
"use strict"
;
var
s
=
a
(
"mvHQ"
),
r
=
a
.
n
(
s
),
o
=
a
(
"P9l9"
),
n
=
a
(
"Ch4/"
),
i
=
a
(
"PI0u"
),
l
=
{
name
:
"gic-select-store"
,
props
:{
width
:{
type
:
String
,
default
:
function
(){
return
"357px"
}},
selectData
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
[]}},
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
projectName
:
""
,
enterpriseId
:
this
.
brandId
,
checkAll
:
!
1
,
isIndeterminate
:
!
1
,
searchSelect
:
""
,
storeVisible
:
!
1
,
stores
:[],
storesCopy
:[],
dailyRuleForm
:{
stores
:[]},
pageNum
:
1
,
pageSize
:
200
}},
methods
:{
handleCheckAllChange
:
function
(
e
){
this
.
dailyRuleForm
.
stores
=
e
?
this
.
stores
.
map
(
function
(
e
){
return
e
.
storeId
}):[],
this
.
isIndeterminate
=!
1
,
this
.
$emit
(
"returnStores"
,
this
.
dailyRuleForm
.
stores
)},
handleStoresChange
:
function
(
e
){
var
t
=
e
.
length
;
this
.
checkAll
=
t
===
this
.
stores
.
length
,
this
.
isIndeterminate
=
t
>
0
&&
t
<
this
.
stores
.
length
,
this
.
$emit
(
"returnStores"
,
this
.
dailyRuleForm
.
stores
)},
toInput
:
Object
(
i
.
a
)(
function
(
e
,
t
){
""
!=
this
.
searchSelect
&&
(
this
.
stores
=
[],
this
.
pageNum
=
1
,
this
.
getStoreData
())},
500
),
changeVisible
:
function
(){},
checkStore
:
function
(
e
){
var
t
=
this
;
if
(
e
.
select
){
e
.
select
=!
1
;
var
a
=
t
.
dailyRuleForm
.
stores
.
indexOf
(
e
.
storeId
);
t
.
dailyRuleForm
.
stores
.
splice
(
a
,
1
)}
else
e
.
select
=!
0
,
t
.
dailyRuleForm
.
stores
.
push
(
e
.
storeId
);
t
.
storesCopy
.
forEach
(
function
(
e
){
t
.
dailyRuleForm
.
stores
.
includes
(
e
.
storeId
)
&&
(
e
.
select
=!
0
)})},
clearSearch
:
function
(){
this
.
stores
=
[],
this
.
pageNum
=
1
,
this
.
getStoreData
()},
getStoreData
:
function
(){
var
e
=
this
,
t
=
{
searchName
:
e
.
searchSelect
,
gicEnterpriseId
:
e
.
brandId
,
pageNum
:
e
.
pageNum
,
pageSize
:
e
.
pageSize
};
Object
(
o
.
a
)(
"/haoban-app-customer-web/cardCoupon/get-store-list"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
if
(
1
==
a
.
errorCode
)
return
a
.
result
.
result
&&
a
.
result
.
result
.
forEach
(
function
(
t
){
t
.
select
=!
1
,
e
.
selectData
.
includes
(
t
.
storeId
)
&&
(
t
.
select
=!
0
)}),
1
==
e
.
pageNum
?(
e
.
stores
=
JSON
.
parse
(
r
()(
a
.
result
.
result
))
||
[],
e
.
storesCopy
=
JSON
.
parse
(
r
()(
a
.
result
.
result
))
||
[]):
a
.
result
.
result
.
forEach
(
function
(
t
){
e
.
stores
.
push
(
t
),
e
.
storesCopy
.
push
(
t
)}),
void
(
e
.
pageNum
*
e
.
pageSize
<
a
.
result
.
totalCount
&&
(
e
.
pageNum
++
,
e
.
$nextTick
(
function
(){
e
.
getStoreData
()})));
n
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
e
){
e
&&
(
this
.
checkAll
=!
1
,
this
.
isIndeterminate
=!
1
,
this
.
stores
=
[],
this
.
storesCopy
=
[],
this
.
searchSelect
=
""
,
this
.
getStoreData
())},
selectData
:
function
(
e
,
t
){
e
.
length
?
this
.
dailyRuleForm
.
stores
=
JSON
.
parse
(
r
()(
e
)):
this
.
dailyRuleForm
.
stores
=
[]}},
mounted
:
function
(){
this
.
brandId
&&
(
this
.
stores
=
[],
this
.
storesCopy
=
[],
this
.
getStoreData
()),
this
.
selectData
.
length
?
this
.
dailyRuleForm
.
stores
=
JSON
.
parse
(
r
()(
this
.
selectData
)):
this
.
dailyRuleForm
.
stores
=
[]}},
c
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"el-popover"
,{
attrs
:{
placement
:
"bottom"
,
title
:
""
,
width
:
"350"
,
trigger
:
"click"
},
model
:{
value
:
e
.
storeVisible
,
callback
:
function
(
t
){
e
.
storeVisible
=
t
},
expression
:
"storeVisible"
}},[
a
(
"div"
,{
staticClass
:
"daily-store-select"
},[
a
(
"div"
,{
staticClass
:
"select-search"
},[
a
(
"el-input"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
placeholder
:
"请输入门店名称"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearSearch
},
nativeOn
:{
keyup
:
function
(
t
){
return
a
=
t
,
e
.
toInput
(
a
,
e
.
searchSelect
);
var
a
}},
model
:{
value
:
e
.
searchSelect
,
callback
:
function
(
t
){
e
.
searchSelect
=
t
},
expression
:
"searchSelect"
}},[
a
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"checkbox border-box"
,
staticStyle
:{
padding
:
"15px 20px"
}},[
a
(
"el-checkbox"
,{
attrs
:{
indeterminate
:
e
.
isIndeterminate
},
on
:{
change
:
e
.
handleCheckAllChange
},
model
:{
value
:
e
.
checkAll
,
callback
:
function
(
t
){
e
.
checkAll
=
t
},
expression
:
"checkAll"
}},[
e
.
_v
(
"全选"
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-scrollbar define-search-select"
},[
a
(
"div"
,{
staticClass
:
"el-select-dropdown__wrap el-scrollbar__wrap"
,
staticStyle
:{
"margin-bottom"
:
"-5px"
,
"margin-right"
:
"-5px"
}},[
a
(
"el-checkbox-group"
,{
on
:{
change
:
e
.
handleStoresChange
},
model
:{
value
:
e
.
dailyRuleForm
.
stores
,
callback
:
function
(
t
){
e
.
$set
(
e
.
dailyRuleForm
,
"stores"
,
t
)},
expression
:
"dailyRuleForm.stores"
}},[
a
(
"ul"
,{
staticClass
:
"el-scrollbar__view el-select-dropdown__list"
},[
e
.
_l
(
e
.
stores
,
function
(
t
){
return
a
(
"li"
,{
key
:
t
.
storeId
,
class
:[
"el-select-dropdown__item"
,
t
.
select
?
"selected hover"
:
""
]},[
a
(
"el-checkbox"
,{
attrs
:{
label
:
t
.
storeId
}},[
e
.
_v
(
e
.
_s
(
t
.
storeName
))])],
1
)}),
e
.
_v
(
" "
),
e
.
stores
.
length
?
e
.
_e
():
a
(
"li"
,{
staticClass
:
"text-center"
},[
a
(
"span"
,[
e
.
_v
(
"暂无数据"
)])])],
2
)])],
1
),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-scrollbar__bar is-horizontal"
},[
a
(
"div"
,{
staticClass
:
"el-scrollbar__thumb"
,
staticStyle
:{
transform
:
"translateX(0%)"
}})]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-scrollbar__bar is-vertical"
},[
a
(
"div"
,{
staticClass
:
"el-scrollbar__thumb"
,
staticStyle
:{
transform
:
"translateY(0%)"
}})])])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"show-select-num cursor-pointer w-350"
,
attrs
:{
slot
:
"reference"
},
on
:{
click
:
e
.
changeVisible
},
slot
:
"reference"
},[
e
.
_v
(
"
\
n 已经选择"
+
e
.
_s
(
e
.
dailyRuleForm
.
stores
.
length
)
+
"家门店
\
n "
),
a
(
"span"
,{
staticClass
:
"el-input__suffix"
},[
a
(
"span"
,{
staticClass
:
"el-input__suffix-inner"
},[
a
(
"i"
,{
class
:[
"el-select__caret el-input__icon el-icon-arrow-up"
,
e
.
storeVisible
?
"is-reverse"
:
""
]})])])])])},
staticRenderFns
:[]};
var
u
=
a
(
"VU/8"
)(
l
,
c
,
!
1
,
function
(
e
){
a
(
"HoLU"
)},
"data-v-67522a34"
,
null
);
t
.
a
=
u
.
exports
},
z3jf
:
function
(
e
,
t
,
a
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
s
=
a
(
"fZjL"
),
r
=
a
.
n
(
s
),
o
=
a
(
"mvHQ"
),
n
=
a
.
n
(
o
),
i
=
a
(
"mOmb"
),
l
=
a
(
"Ggl+"
),
c
=
a
(
"PI0u"
),
u
=
a
(
"P9l9"
),
d
=
a
(
"3E4D"
),
h
=
a
(
"Ch4/"
),
p
=
{
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
editRow
:{
type
:
Object
,
default
:
function
(){
return
{}}},
categoryId
:{
type
:
Object
,
default
:
function
(){
return
""
}}},
components
:{
gicSelectGroup
:
l
.
a
,
gicSelectStore
:
i
.
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
,
formData
:{
sendRange
:
"0"
,
selectList
:[]},
loadingBtn
:
!
1
}},
methods
:{
changeRange
:
function
(
e
){
this
.
formData
.
selectList
=
[]},
returnStores
:
function
(
e
){
this
.
formData
.
selectList
=
JSON
.
parse
(
n
()(
e
))},
checkGroupIds
:
function
(
e
){
this
.
formData
.
selectList
=
JSON
.
parse
(
n
()(
e
))},
toCancel
:
function
(){
this
.
$emit
(
"closeStore"
),
this
.
$refs
.
ruleForm
.
resetFields
()},
handleClose
:
function
(
e
){
this
.
$emit
(
"closeStore"
),
this
.
$refs
.
ruleForm
.
resetFields
()},
submitForm
:
Object
(
c
.
a
)(
function
(
e
){
var
t
=
this
;
if
((
"1"
==
t
.
formData
.
sendRange
||
"2"
==
t
.
formData
.
sendRange
)
&&!
t
.
formData
.
selectList
.
length
)
return
!
1
;
t
.
loadingBtn
=!
0
,
t
.
$refs
[
e
].
validate
(
function
(
e
){
e
?
t
.
postSave
():
t
.
loadingBtn
=!
1
})},
300
),
postSave
:
function
(){
var
e
=
this
,
t
=
{
enterpriseId
:
e
.
brandId
,
templateId
:
e
.
$route
.
query
.
templateId
,
selectType
:
e
.
ruleForm
.
sendRange
,
groupIds
:
1
==
e
.
ruleForm
.
sendRange
?
e
.
formData
.
selectList
.
map
(
function
(
e
){
return
e
.
storeGroupId
}).
join
(
","
):
""
,
storeIds
:
2
==
e
.
ruleForm
.
sendRange
?
e
.
formData
.
selectList
.
join
(
","
):
""
};
Object
(
u
.
d
)(
"/haoban-app-customer-web/memberGroup/save-template-store"
,
t
).
then
(
function
(
t
){
var
a
=
t
.
data
;
e
.
loadingBtn
=!
1
,
1
==
a
.
errorCode
?(
d
.
a
.
showmsg
(
"操作成功"
,
"success"
),
e
.
$refs
.
ruleForm
.
resetFields
(),
e
.
$emit
(
"submitStore"
)):
h
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
loadingBtn
=!
1
,
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getTableList
:
function
(
e
){
var
t
=
this
;
t
.
loading
=!
0
;
var
a
=
[],
s
=
[],
r
=
[];
t
.
conditionObj
.
storeGroup
.
forEach
(
function
(
e
){
1
==
e
.
type
&&
r
.
push
(
e
.
employeeClerkId
),
2
==
e
.
type
&&
a
.
push
(
e
.
groupId
),
3
==
e
.
type
&&
s
.
push
(
e
.
storeId
)}),
t
.
conditionObj
.
dateRange
||
(
t
.
conditionObj
.
dateRange
=
[]);
var
o
=
{
search
:
t
.
searchInput
||
""
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
,
gicEnterpriseId
:
t
.
brandId
};
Object
(
u
.
d
)(
"/haoban-app-customer-web/memberGroup/search-store"
,
o
).
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
;
h
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
e
){
t
.
loading
=!
1
,
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
editRow
:
function
(
e
){
r
()(
e
).
length
&&
(
this
.
ruleForm
=
JSON
.
parse
(
n
()(
e
)))}},
mounted
:
function
(){
r
()(
this
.
editRow
).
length
&&
(
this
.
ruleForm
=
JSON
.
parse
(
n
()(
this
.
editRow
)))}},
f
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
a
=
e
.
_self
.
_c
||
t
;
return
a
(
"el-dialog"
,{
attrs
:{
title
:(
e
.
editRow
.
templateId
,
"可见范围"
),
visible
:
e
.
dialogVisible
,
width
:
"873px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
}}},[
a
(
"div"
,{},[
a
(
"div"
,{
staticClass
:
"el-form-item el-form-item--large"
},[
a
(
"label"
,{
staticClass
:
"el-form-item__label"
,
staticStyle
:{
width
:
"100px"
,
cursor
:
"pointer"
},
attrs
:{
for
:
"name"
}},[
e
.
_v
(
"
\
n 选择范围
\
n "
)]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"el-form-item__content"
,
staticStyle
:{
"margin-left"
:
"100px"
}},[
a
(
"el-radio"
,{
attrs
:{
label
:
"0"
},
on
:{
change
:
e
.
changeRange
},
model
:{
value
:
e
.
formData
.
sendRange
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"sendRange"
,
t
)},
expression
:
"formData.sendRange"
}},[
e
.
_v
(
"所有门店"
)]),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
staticClass
:
"m-l-40 m-r-8"
,
attrs
:{
label
:
"1"
},
on
:{
change
:
e
.
changeRange
},
model
:{
value
:
e
.
formData
.
sendRange
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"sendRange"
,
t
)},
expression
:
"formData.sendRange"
}},[
e
.
_v
(
"部分分组"
)]),
e
.
_v
(
" "
),
1
==
e
.
formData
.
sendRange
?
a
(
"div"
,{
staticClass
:
"w-240 inline-block item-cell-select"
},[
a
(
"gic-select-group"
,{
staticClass
:
"m-l-10"
,
attrs
:{
brandId
:
e
.
brandId
,
width
:
213
,
selectData
:
e
.
formData
.
selectList
},
on
:{
checkGroupIds
:
e
.
checkGroupIds
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
a
(
"el-radio"
,{
staticClass
:
"m-l-40 m-r-8"
,
attrs
:{
label
:
"2"
},
on
:{
change
:
e
.
changeRange
},
model
:{
value
:
e
.
formData
.
sendRange
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"sendRange"
,
t
)},
expression
:
"formData.sendRange"
}},[
e
.
_v
(
"部分门店"
)]),
e
.
_v
(
" "
),
2
==
e
.
formData
.
sendRange
?
a
(
"div"
,{
staticClass
:
"w-240 inline-block item-cell-select"
},[
a
(
"gic-select-store"
,{
attrs
:{
brandId
:
e
.
brandId
,
selectData
:
e
.
formData
.
selectList
},
on
:{
returnStores
:
e
.
returnStores
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
"1"
!=
e
.
formData
.
sendRange
&&
"2"
!=
e
.
formData
.
sendRange
||
e
.
formData
.
selectList
.
length
?
e
.
_e
():
a
(
"div"
,{
staticClass
:
"el-form-item__error"
},[
e
.
_v
(
"请选择发送范围"
)])],
1
)])]),
e
.
_v
(
" "
),
a
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
a
(
"el-button"
,{
on
:{
click
:
e
.
toCancel
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
loading
:
e
.
loadingBtn
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"确定"
)])],
1
)])},
staticRenderFns
:[]};
var
m
=
a
(
"VU/8"
)(
p
,
f
,
!
1
,
function
(
e
){
a
(
"8C7T"
)},
"data-v-a2ed73f8"
,
null
).
exports
,
g
=
{
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
:
""
,
searchInput
:
""
,
tableData
:[],
activeId
:
"1"
,
loading
:
!
1
,
multipleSelection
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
setStoreShow
:
!
1
}},
methods
:{
toSetStore
:
function
(){
this
.
setStoreShow
=!
0
},
closeStore
:
function
(){
this
.
setStoreShow
=!
1
},
submitStore
:
function
(){
this
.
setStoreShow
=!
1
,
this
.
currentPage
=
1
,
this
.
getTableList
()},
toInput
:
Object
(
c
.
a
)(
function
(
e
,
t
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
delRow
:
function
(
e
,
t
){
var
a
=
this
;
a
.
$confirm
(
"确认要删除吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
a
.
postDel
(
e
,
t
)}).
catch
(
function
(){})},
postDel
:
function
(
e
,
t
){
var
a
=
this
,
s
=
{
taskId
:
t
.
taskId
,
enterpriseId
:
a
.
activeBrand
};
Object
(
u
.
d
)(
"/haoban-app-tel-task-three-web/task/del-one"
,
s
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
d
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
a
.
getTableList
();
h
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
a
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
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
(
u
.
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
d
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
e
.
getTableList
();
h
.
a
.
errorMsg
(
a
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
},
getCustomerSet
:
function
(
e
){
var
t
=
this
,
a
=
{
enterpriseId
:
t
.
brandId
,
wxEnterpriseRelatedId
:
t
.
wxEnterpriseRelatedId
};
Object
(
u
.
d
)(
"/haoban-app-customer-web/customer/find-customer-setting"
,
a
).
then
(
function
(
e
){
var
a
=
e
.
data
;
1
!=
a
.
errorCode
?
h
.
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
:{
setVisiable
:
m
}},
b
=
{
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
(
"div"
,{
staticClass
:
"flex flex-space-between"
},[
a
(
"div"
,[
a
(
"el-input"
,{
staticClass
:
"w-369"
,
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
(
"div"
,[
a
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
toSetStore
}},[
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"
,
staticClass
:
"no-empty-icon-table"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
a
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"55"
}}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
label
:
"门店名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
storeName
||
"--"
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"code"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
storeCode
||
"--"
))]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"门店分组"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
storeGroupName
||
"--"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
a
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"操作"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
a
){
e
.
delRow
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"移除"
)])]}}])}),
e
.
_v
(
" "
),
a
(
"template"
,{
slot
:
"empty"
},[
a
(
"div"
,[
a
(
"span"
,[
e
.
_v
(
"暂无门店分组,"
)]),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
t
){
e
.
toSetStore
()}}},[
e
.
_v
(
"去设置"
)])],
1
)])],
2
),
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-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
(),
e
.
_v
(
" "
),
0
==
e
.
tableData
.
length
?
a
(
"div"
,{
staticClass
:
"text-center table-set-line"
},[
a
(
"span"
,{
staticClass
:
"font-14 color-606266"
},[
e
.
_v
(
"暂无门店分组,"
)]),
a
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
t
){
e
.
toSetStore
()}}},[
e
.
_v
(
"去设置"
)])],
1
):
e
.
_e
()],
1
)]),
e
.
_v
(
" "
),
e
.
setStoreShow
?
a
(
"set-visiable"
,{
attrs
:{
brandId
:
e
.
brandId
},
on
:{
closeStore
:
e
.
closeStore
,
submitStore
:
e
.
submitStore
}}):
e
.
_e
()],
1
)},
staticRenderFns
:[]};
var
v
=
a
(
"VU/8"
)(
g
,
b
,
!
1
,
function
(
e
){
a
(
"KXM4"
)},
"data-v-96221038"
,
null
);
t
.
default
=
v
.
exports
}});
\ No newline at end of file
dist/static/js/11.85ef9abb670d4472d7e4.js
0 → 100644
View file @
f49be081
webpackJsonp
([
11
],{
HoLU
:
function
(
e
,
t
){},
KXM4
:
function
(
e
,
t
){},
mOmb
:
function
(
e
,
t
,
s
){
"use strict"
;
var
a
=
s
(
"mvHQ"
),
r
=
s
.
n
(
a
),
o
=
s
(
"P9l9"
),
n
=
s
(
"Ch4/"
),
i
=
s
(
"PI0u"
),
l
=
{
name
:
"gic-select-store"
,
props
:{
width
:{
type
:
String
,
default
:
function
(){
return
"357px"
}},
selectData
:{
type
:[
Object
,
Array
],
default
:
function
(){
return
[]}},
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}}},
data
:
function
(){
return
{
projectName
:
""
,
enterpriseId
:
this
.
brandId
,
checkAll
:
!
1
,
isIndeterminate
:
!
1
,
searchSelect
:
""
,
storeVisible
:
!
1
,
stores
:[],
storesCopy
:[],
dailyRuleForm
:{
stores
:[]},
pageNum
:
1
,
pageSize
:
200
}},
methods
:{
handleCheckAllChange
:
function
(
e
){
this
.
dailyRuleForm
.
stores
=
e
?
this
.
stores
.
map
(
function
(
e
){
return
e
.
storeId
}):[],
this
.
isIndeterminate
=!
1
,
this
.
$emit
(
"returnStores"
,
this
.
dailyRuleForm
.
stores
)},
handleStoresChange
:
function
(
e
){
var
t
=
e
.
length
;
this
.
checkAll
=
t
===
this
.
stores
.
length
,
this
.
isIndeterminate
=
t
>
0
&&
t
<
this
.
stores
.
length
,
this
.
$emit
(
"returnStores"
,
this
.
dailyRuleForm
.
stores
)},
toInput
:
Object
(
i
.
a
)(
function
(
e
,
t
){
""
!=
this
.
searchSelect
&&
(
this
.
stores
=
[],
this
.
pageNum
=
1
,
this
.
getStoreData
())},
500
),
changeVisible
:
function
(){},
checkStore
:
function
(
e
){
var
t
=
this
;
if
(
e
.
select
){
e
.
select
=!
1
;
var
s
=
t
.
dailyRuleForm
.
stores
.
indexOf
(
e
.
storeId
);
t
.
dailyRuleForm
.
stores
.
splice
(
s
,
1
)}
else
e
.
select
=!
0
,
t
.
dailyRuleForm
.
stores
.
push
(
e
.
storeId
);
t
.
storesCopy
.
forEach
(
function
(
e
){
t
.
dailyRuleForm
.
stores
.
includes
(
e
.
storeId
)
&&
(
e
.
select
=!
0
)})},
clearSearch
:
function
(){
this
.
stores
=
[],
this
.
pageNum
=
1
,
this
.
getStoreData
()},
getStoreData
:
function
(){
var
e
=
this
,
t
=
{
searchName
:
e
.
searchSelect
,
gicEnterpriseId
:
e
.
brandId
,
pageNum
:
e
.
pageNum
,
pageSize
:
e
.
pageSize
};
Object
(
o
.
a
)(
"/haoban-app-customer-web/cardCoupon/get-store-list"
,
t
).
then
(
function
(
t
){
var
s
=
t
.
data
;
if
(
1
==
s
.
errorCode
)
return
s
.
result
.
result
&&
s
.
result
.
result
.
forEach
(
function
(
t
){
t
.
select
=!
1
,
e
.
selectData
.
includes
(
t
.
storeId
)
&&
(
t
.
select
=!
0
)}),
1
==
e
.
pageNum
?(
e
.
stores
=
JSON
.
parse
(
r
()(
s
.
result
.
result
))
||
[],
e
.
storesCopy
=
JSON
.
parse
(
r
()(
s
.
result
.
result
))
||
[]):
s
.
result
.
result
.
forEach
(
function
(
t
){
e
.
stores
.
push
(
t
),
e
.
storesCopy
.
push
(
t
)}),
void
(
e
.
pageNum
*
e
.
pageSize
<
s
.
result
.
totalCount
&&
(
e
.
pageNum
++
,
e
.
$nextTick
(
function
(){
e
.
getStoreData
()})));
n
.
a
.
errorMsg
(
s
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})}},
watch
:{
brandId
:
function
(
e
){
e
&&
(
this
.
checkAll
=!
1
,
this
.
isIndeterminate
=!
1
,
this
.
stores
=
[],
this
.
storesCopy
=
[],
this
.
searchSelect
=
""
,
this
.
getStoreData
())},
selectData
:
function
(
e
,
t
){
e
.
length
?
this
.
dailyRuleForm
.
stores
=
JSON
.
parse
(
r
()(
e
)):
this
.
dailyRuleForm
.
stores
=
[]}},
mounted
:
function
(){
this
.
brandId
&&
(
this
.
stores
=
[],
this
.
storesCopy
=
[],
this
.
getStoreData
()),
this
.
selectData
.
length
?
this
.
dailyRuleForm
.
stores
=
JSON
.
parse
(
r
()(
this
.
selectData
)):
this
.
dailyRuleForm
.
stores
=
[]}},
c
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
s
=
e
.
_self
.
_c
||
t
;
return
s
(
"el-popover"
,{
attrs
:{
placement
:
"bottom"
,
title
:
""
,
width
:
"350"
,
trigger
:
"click"
},
model
:{
value
:
e
.
storeVisible
,
callback
:
function
(
t
){
e
.
storeVisible
=
t
},
expression
:
"storeVisible"
}},[
s
(
"div"
,{
staticClass
:
"daily-store-select"
},[
s
(
"div"
,{
staticClass
:
"select-search"
},[
s
(
"el-input"
,{
staticStyle
:{
width
:
"100%"
},
attrs
:{
placeholder
:
"请输入门店名称"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearSearch
},
nativeOn
:{
keyup
:
function
(
t
){
return
s
=
t
,
e
.
toInput
(
s
,
e
.
searchSelect
);
var
s
}},
model
:{
value
:
e
.
searchSelect
,
callback
:
function
(
t
){
e
.
searchSelect
=
t
},
expression
:
"searchSelect"
}},[
s
(
"i"
,{
staticClass
:
"el-input__icon el-icon-search"
,
attrs
:{
slot
:
"prefix"
},
slot
:
"prefix"
})])],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"checkbox border-box"
,
staticStyle
:{
padding
:
"15px 20px"
}},[
s
(
"el-checkbox"
,{
attrs
:{
indeterminate
:
e
.
isIndeterminate
},
on
:{
change
:
e
.
handleCheckAllChange
},
model
:{
value
:
e
.
checkAll
,
callback
:
function
(
t
){
e
.
checkAll
=
t
},
expression
:
"checkAll"
}},[
e
.
_v
(
"全选"
)])],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"el-scrollbar define-search-select"
},[
s
(
"div"
,{
staticClass
:
"el-select-dropdown__wrap el-scrollbar__wrap"
,
staticStyle
:{
"margin-bottom"
:
"-5px"
,
"margin-right"
:
"-5px"
}},[
s
(
"el-checkbox-group"
,{
on
:{
change
:
e
.
handleStoresChange
},
model
:{
value
:
e
.
dailyRuleForm
.
stores
,
callback
:
function
(
t
){
e
.
$set
(
e
.
dailyRuleForm
,
"stores"
,
t
)},
expression
:
"dailyRuleForm.stores"
}},[
s
(
"ul"
,{
staticClass
:
"el-scrollbar__view el-select-dropdown__list"
},[
e
.
_l
(
e
.
stores
,
function
(
t
){
return
s
(
"li"
,{
key
:
t
.
storeId
,
class
:[
"el-select-dropdown__item"
,
t
.
select
?
"selected hover"
:
""
]},[
s
(
"el-checkbox"
,{
attrs
:{
label
:
t
.
storeId
}},[
e
.
_v
(
e
.
_s
(
t
.
storeName
))])],
1
)}),
e
.
_v
(
" "
),
e
.
stores
.
length
?
e
.
_e
():
s
(
"li"
,{
staticClass
:
"text-center"
},[
s
(
"span"
,[
e
.
_v
(
"暂无数据"
)])])],
2
)])],
1
),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"el-scrollbar__bar is-horizontal"
},[
s
(
"div"
,{
staticClass
:
"el-scrollbar__thumb"
,
staticStyle
:{
transform
:
"translateX(0%)"
}})]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"el-scrollbar__bar is-vertical"
},[
s
(
"div"
,{
staticClass
:
"el-scrollbar__thumb"
,
staticStyle
:{
transform
:
"translateY(0%)"
}})])])]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"show-select-num cursor-pointer w-350"
,
attrs
:{
slot
:
"reference"
},
on
:{
click
:
e
.
changeVisible
},
slot
:
"reference"
},[
e
.
_v
(
"
\
n 已经选择"
+
e
.
_s
(
e
.
dailyRuleForm
.
stores
.
length
)
+
"家门店
\
n "
),
s
(
"span"
,{
staticClass
:
"el-input__suffix"
},[
s
(
"span"
,{
staticClass
:
"el-input__suffix-inner"
},[
s
(
"i"
,{
class
:[
"el-select__caret el-input__icon el-icon-arrow-up"
,
e
.
storeVisible
?
"is-reverse"
:
""
]})])])])])},
staticRenderFns
:[]};
var
u
=
s
(
"VU/8"
)(
l
,
c
,
!
1
,
function
(
e
){
s
(
"HoLU"
)},
"data-v-67522a34"
,
null
);
t
.
a
=
u
.
exports
},
z3jf
:
function
(
e
,
t
,
s
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
a
=
s
(
"fZjL"
),
r
=
s
.
n
(
a
),
o
=
s
(
"mvHQ"
),
n
=
s
.
n
(
o
),
i
=
s
(
"mOmb"
),
l
=
s
(
"Ggl+"
),
c
=
s
(
"PI0u"
),
u
=
s
(
"P9l9"
),
d
=
s
(
"3E4D"
),
h
=
s
(
"Ch4/"
),
p
=
{
props
:{
brandId
:{
type
:
String
,
default
:
function
(){
return
""
}},
editRow
:{
type
:
Object
,
default
:
function
(){
return
{}}},
categoryId
:{
type
:
Object
,
default
:
function
(){
return
""
}}},
components
:{
gicSelectGroup
:
l
.
a
,
gicSelectStore
:
i
.
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
,
formData
:{
sendRange
:
"0"
,
selectList
:[]},
loadingBtn
:
!
1
}},
methods
:{
changeRange
:
function
(
e
){
this
.
formData
.
selectList
=
[]},
returnStores
:
function
(
e
){
this
.
formData
.
selectList
=
JSON
.
parse
(
n
()(
e
))},
checkGroupIds
:
function
(
e
){
this
.
formData
.
selectList
=
JSON
.
parse
(
n
()(
e
))},
toCancel
:
function
(){
this
.
$emit
(
"closeStore"
),
this
.
$refs
.
ruleForm
.
resetFields
()},
handleClose
:
function
(
e
){
this
.
$emit
(
"closeStore"
),
this
.
$refs
.
ruleForm
.
resetFields
()},
submitForm
:
Object
(
c
.
a
)(
function
(
e
){
if
((
"1"
==
this
.
formData
.
sendRange
||
"2"
==
this
.
formData
.
sendRange
)
&&!
this
.
formData
.
selectList
.
length
)
return
!
1
;
this
.
loadingBtn
=!
0
,
this
.
postSave
()},
300
),
postSave
:
function
(){
var
e
=
this
,
t
=
{
enterpriseId
:
e
.
brandId
,
templateId
:
e
.
$route
.
query
.
templateId
,
selectType
:
e
.
ruleForm
.
sendRange
,
groupIds
:
1
==
e
.
ruleForm
.
sendRange
?
e
.
formData
.
selectList
.
map
(
function
(
e
){
return
e
.
storeGroupId
}).
join
(
","
):
""
,
storeIds
:
2
==
e
.
ruleForm
.
sendRange
?
e
.
formData
.
selectList
.
join
(
","
):
""
};
Object
(
u
.
d
)(
"/haoban-app-customer-web/memberGroup/save-template-store"
,
t
).
then
(
function
(
t
){
var
s
=
t
.
data
;
e
.
loadingBtn
=!
1
,
1
==
s
.
errorCode
?(
d
.
a
.
showmsg
(
"操作成功"
,
"success"
),
e
.
$refs
.
ruleForm
.
resetFields
(),
e
.
$emit
(
"submitStore"
)):
h
.
a
.
errorMsg
(
s
)}).
catch
(
function
(
t
){
e
.
loadingBtn
=!
1
,
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
getTableList
:
function
(
e
){
var
t
=
this
;
t
.
loading
=!
0
;
var
s
=
[],
a
=
[],
r
=
[];
t
.
conditionObj
.
storeGroup
.
forEach
(
function
(
e
){
1
==
e
.
type
&&
r
.
push
(
e
.
employeeClerkId
),
2
==
e
.
type
&&
s
.
push
(
e
.
groupId
),
3
==
e
.
type
&&
a
.
push
(
e
.
storeId
)}),
t
.
conditionObj
.
dateRange
||
(
t
.
conditionObj
.
dateRange
=
[]);
var
o
=
{
search
:
t
.
searchInput
||
""
,
pageNum
:
t
.
currentPage
,
pageSize
:
t
.
pageSize
,
gicEnterpriseId
:
t
.
brandId
};
Object
(
u
.
d
)(
"/haoban-app-customer-web/memberGroup/search-store"
,
o
).
then
(
function
(
e
){
var
s
=
e
.
data
;
if
(
t
.
loading
=!
1
,
1
==
s
.
errorCode
)
return
t
.
tableData
=
s
.
result
.
list
||
[],
t
.
total
=
s
.
result
.
pageInfo
.
total
,
!
1
;
h
.
a
.
errorMsg
(
s
)}).
catch
(
function
(
e
){
t
.
loading
=!
1
,
t
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})}},
watch
:{
editRow
:
function
(
e
){
r
()(
e
).
length
&&
(
this
.
ruleForm
=
JSON
.
parse
(
n
()(
e
)))}},
mounted
:
function
(){
r
()(
this
.
editRow
).
length
&&
(
this
.
ruleForm
=
JSON
.
parse
(
n
()(
this
.
editRow
)))}},
m
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
s
=
e
.
_self
.
_c
||
t
;
return
s
(
"el-dialog"
,{
attrs
:{
title
:(
e
.
editRow
.
templateId
,
"可见范围"
),
visible
:
e
.
dialogVisible
,
width
:
"873px"
,
"before-close"
:
e
.
handleClose
},
on
:{
"update:visible"
:
function
(
t
){
e
.
dialogVisible
=
t
}}},[
s
(
"div"
,{},[
s
(
"div"
,{
staticClass
:
"el-form-item el-form-item--large"
},[
s
(
"label"
,{
staticClass
:
"el-form-item__label"
,
staticStyle
:{
width
:
"100px"
,
cursor
:
"pointer"
},
attrs
:{
for
:
"name"
}},[
e
.
_v
(
"
\
n 选择范围
\
n "
)]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"el-form-item__content"
,
staticStyle
:{
"margin-left"
:
"100px"
}},[
s
(
"el-radio"
,{
attrs
:{
label
:
"0"
},
on
:{
change
:
e
.
changeRange
},
model
:{
value
:
e
.
formData
.
sendRange
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"sendRange"
,
t
)},
expression
:
"formData.sendRange"
}},[
e
.
_v
(
"所有门店"
)]),
e
.
_v
(
" "
),
s
(
"el-radio"
,{
staticClass
:
"m-l-40 m-r-8"
,
attrs
:{
label
:
"1"
},
on
:{
change
:
e
.
changeRange
},
model
:{
value
:
e
.
formData
.
sendRange
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"sendRange"
,
t
)},
expression
:
"formData.sendRange"
}},[
e
.
_v
(
"部分分组"
)]),
e
.
_v
(
" "
),
1
==
e
.
formData
.
sendRange
?
s
(
"div"
,{
staticClass
:
"w-240 inline-block item-cell-select"
},[
s
(
"gic-select-group"
,{
staticClass
:
"m-l-10"
,
attrs
:{
brandId
:
e
.
brandId
,
width
:
213
,
selectData
:
e
.
formData
.
selectList
},
on
:{
checkGroupIds
:
e
.
checkGroupIds
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
s
(
"el-radio"
,{
staticClass
:
"m-l-40 m-r-8"
,
attrs
:{
label
:
"2"
},
on
:{
change
:
e
.
changeRange
},
model
:{
value
:
e
.
formData
.
sendRange
,
callback
:
function
(
t
){
e
.
$set
(
e
.
formData
,
"sendRange"
,
t
)},
expression
:
"formData.sendRange"
}},[
e
.
_v
(
"部分门店"
)]),
e
.
_v
(
" "
),
2
==
e
.
formData
.
sendRange
?
s
(
"div"
,{
staticClass
:
"w-240 inline-block item-cell-select"
},[
s
(
"gic-select-store"
,{
attrs
:{
brandId
:
e
.
brandId
,
selectData
:
e
.
formData
.
selectList
},
on
:{
returnStores
:
e
.
returnStores
}})],
1
):
e
.
_e
(),
e
.
_v
(
" "
),
"1"
!=
e
.
formData
.
sendRange
&&
"2"
!=
e
.
formData
.
sendRange
||
e
.
formData
.
selectList
.
length
?
e
.
_e
():
s
(
"div"
,{
staticClass
:
"el-form-item__error"
},[
e
.
_v
(
"请选择发送范围"
)])],
1
)])]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"dialog-footer"
,
attrs
:{
slot
:
"footer"
},
slot
:
"footer"
},[
s
(
"el-button"
,{
on
:{
click
:
e
.
toCancel
}},[
e
.
_v
(
"取消"
)]),
e
.
_v
(
" "
),
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
,
loading
:
e
.
loadingBtn
},
on
:{
click
:
function
(
t
){
e
.
submitForm
(
"ruleForm"
)}}},[
e
.
_v
(
"确定"
)])],
1
)])},
staticRenderFns
:[]};
var
f
=
s
(
"VU/8"
)(
p
,
m
,
!
1
,
function
(
e
){
s
(
"zxy4"
)},
"data-v-719f28c6"
,
null
).
exports
,
g
=
{
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
:
""
,
searchInput
:
""
,
tableData
:[],
activeId
:
"1"
,
loading
:
!
1
,
multipleSelection
:[],
currentPage
:
1
,
pageSize
:
20
,
total
:
0
,
setStoreShow
:
!
1
}},
methods
:{
toSetStore
:
function
(){
this
.
setStoreShow
=!
0
},
closeStore
:
function
(){
this
.
setStoreShow
=!
1
},
submitStore
:
function
(){
this
.
setStoreShow
=!
1
,
this
.
currentPage
=
1
,
this
.
getTableList
()},
toInput
:
Object
(
c
.
a
)(
function
(
e
,
t
){
this
.
currentPage
=
1
,
this
.
getTableList
()},
500
),
clearInput
:
function
(){
this
.
currentPage
=
1
,
this
.
getTableList
()},
handleSelectionChange
:
function
(
e
){
this
.
multipleSelection
=
e
},
delRow
:
function
(
e
,
t
){
var
s
=
this
;
s
.
$confirm
(
"确认要删除吗?"
,
"提示"
,{
confirmButtonText
:
"确定"
,
cancelButtonText
:
"取消"
,
type
:
"warning"
}).
then
(
function
(){
s
.
postDel
(
e
,
t
)}).
catch
(
function
(){})},
postDel
:
function
(
e
,
t
){
var
s
=
this
,
a
=
{
taskId
:
t
.
taskId
,
enterpriseId
:
s
.
activeBrand
};
Object
(
u
.
d
)(
"/haoban-app-tel-task-three-web/task/del-one"
,
a
).
then
(
function
(
e
){
var
t
=
e
.
data
;
if
(
1
==
t
.
errorCode
)
return
d
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
s
.
getTableList
();
h
.
a
.
errorMsg
(
t
)}).
catch
(
function
(
e
){
s
.
$message
.
error
({
duration
:
1
e3
,
message
:
e
.
message
})})},
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
(
u
.
d
)(
"/haoban-app-tel-task-three-web/task/batch-del-store-task-list"
,
t
).
then
(
function
(
t
){
var
s
=
t
.
data
;
if
(
1
==
s
.
errorCode
)
return
d
.
a
.
showmsg
(
"删除成功"
,
"success"
),
void
e
.
getTableList
();
h
.
a
.
errorMsg
(
s
)}).
catch
(
function
(
t
){
e
.
$message
.
error
({
duration
:
1
e3
,
message
:
t
.
message
})})},
handleSizeChange
:
function
(
e
){
this
.
pageSize
=
e
},
handleCurrentChange
:
function
(
e
){
this
.
currentPage
=
e
},
getCustomerSet
:
function
(
e
){
var
t
=
this
,
s
=
{
enterpriseId
:
t
.
brandId
,
wxEnterpriseRelatedId
:
t
.
wxEnterpriseRelatedId
};
Object
(
u
.
d
)(
"/haoban-app-customer-web/customer/find-customer-setting"
,
s
).
then
(
function
(
e
){
var
s
=
e
.
data
;
1
!=
s
.
errorCode
?
h
.
a
.
errorMsg
(
s
):
s
.
result
&&
(
t
.
myCustomData
.
searchFlag
=!!
s
.
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
:{
setVisiable
:
f
}},
b
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
s
=
e
.
_self
.
_c
||
t
;
return
s
(
"div"
,{
staticClass
:
"app-detail-wrap"
},[
s
(
"div"
,{
staticClass
:
"app-detail-pane border-box p-20"
},[
s
(
"div"
,{
staticClass
:
"flex flex-space-between"
},[
s
(
"div"
,[
s
(
"el-input"
,{
staticClass
:
"w-369"
,
attrs
:{
placeholder
:
"搜索门店名称或代码"
,
"prefix-icon"
:
"el-icon-search"
,
clearable
:
""
},
on
:{
clear
:
e
.
clearInput
},
nativeOn
:{
keyup
:
function
(
t
){
return
s
=
t
,
e
.
toInput
(
s
,
e
.
searchInput
);
var
s
}},
model
:{
value
:
e
.
searchInput
,
callback
:
function
(
t
){
e
.
searchInput
=
t
},
expression
:
"searchInput"
}})],
1
),
e
.
_v
(
" "
),
s
(
"div"
,[
s
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
toSetStore
}},[
e
.
_v
(
"新增门店"
)]),
e
.
_v
(
" "
),
s
(
"el-button"
,{
attrs
:{
type
:
"danger"
},
on
:{
click
:
e
.
multDel
}},[
e
.
_v
(
"批量移除"
)])],
1
)]),
e
.
_v
(
" "
),
s
(
"div"
,{
staticClass
:
"m-t-20"
},[
s
(
"el-table"
,{
directives
:[{
name
:
"loading"
,
rawName
:
"v-loading"
,
value
:
e
.
loading
,
expression
:
"loading"
}],
ref
:
"multipleTable"
,
staticClass
:
"no-empty-icon-table"
,
staticStyle
:{
width
:
"100%"
},
attrs
:{
data
:
e
.
tableData
,
"tooltip-effect"
:
"dark"
},
on
:{
"selection-change"
:
e
.
handleSelectionChange
}},[
s
(
"el-table-column"
,{
attrs
:{
type
:
"selection"
,
width
:
"55"
}}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
label
:
"门店名称"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
storeName
||
"--"
))]}}])}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"code"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
e
.
_s
(
t
.
row
.
storeCode
||
"--"
))]}}])}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"门店分组"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
e
.
_v
(
"
\
n "
+
e
.
_s
(
t
.
row
.
storeGroupName
||
"--"
)
+
"
\
n "
)]}}])}),
e
.
_v
(
" "
),
s
(
"el-table-column"
,{
attrs
:{
prop
:
""
,
label
:
"操作"
,
"show-overflow-tooltip"
:
""
},
scopedSlots
:
e
.
_u
([{
key
:
"default"
,
fn
:
function
(
t
){
return
[
s
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
s
){
e
.
delRow
(
t
.
$index
,
t
.
row
)}}},[
e
.
_v
(
"移除"
)])]}}])}),
e
.
_v
(
" "
),
s
(
"template"
,{
slot
:
"empty"
},[
s
(
"div"
,[
s
(
"span"
,[
e
.
_v
(
"暂无门店分组,"
)]),
s
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
t
){
e
.
toSetStore
()}}},[
e
.
_v
(
"去设置"
)])],
1
)])],
2
),
e
.
_v
(
" "
),
0
!=
e
.
tableData
.
length
?
s
(
"div"
,{
staticClass
:
"block common-wrap__page text-right"
},[
s
(
"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
(),
e
.
_v
(
" "
),
0
==
e
.
tableData
.
length
?
s
(
"div"
,{
staticClass
:
"text-center table-set-line"
},[
s
(
"span"
,{
staticClass
:
"font-14 color-606266"
},[
e
.
_v
(
"暂无门店分组,"
)]),
s
(
"el-button"
,{
attrs
:{
type
:
"text"
},
on
:{
click
:
function
(
t
){
e
.
toSetStore
()}}},[
e
.
_v
(
"去设置"
)])],
1
):
e
.
_e
()],
1
)]),
e
.
_v
(
" "
),
e
.
setStoreShow
?
s
(
"set-visiable"
,{
attrs
:{
brandId
:
e
.
brandId
},
on
:{
closeStore
:
e
.
closeStore
,
submitStore
:
e
.
submitStore
}}):
e
.
_e
()],
1
)},
staticRenderFns
:[]};
var
v
=
s
(
"VU/8"
)(
g
,
b
,
!
1
,
function
(
e
){
s
(
"KXM4"
)},
"data-v-96221038"
,
null
);
t
.
default
=
v
.
exports
},
zxy4
:
function
(
e
,
t
){}});
\ No newline at end of file
dist/static/js/manifest.
57c2e07280e94f62e1a9
.js
→
dist/static/js/manifest.
82c8c9e81fb2d1c08c21
.js
View file @
f49be081
!
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
],
d
[
t
]
&&
u
.
push
(
d
[
t
][
0
]),
d
[
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
=
f
(
f
.
s
=
n
[
i
]);
return
o
};
var
c
=
{},
d
=
{
82
:
0
};
function
f
(
a
){
if
(
c
[
a
])
return
c
[
a
].
exports
;
var
d
=
c
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
d
.
exports
,
d
,
d
.
exports
,
f
),
d
.
l
=!
0
,
d
.
exports
}
f
.
e
=
function
(
e
){
var
a
=
d
[
e
];
if
(
0
===
a
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
a
)
return
a
[
2
];
var
c
=
new
Promise
(
function
(
c
,
f
){
a
=
d
[
e
]
=
[
c
,
f
]});
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
,
f
.
nc
&&
n
.
setAttribute
(
"nonce"
,
f
.
nc
),
n
.
src
=
f
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"cbedb09f8527f7df9eb0"
,
1
:
"954a8a70c5f1171933ac"
,
2
:
"a280cacc2b4b43a244e1"
,
3
:
"f9c76a8db247eb2b6e7b"
,
4
:
"7fb54b0d6edc84c910b5"
,
5
:
"3c335bf1dd72ca957262"
,
6
:
"987ab930d70320e9de11"
,
7
:
"32c3458a147e64da242e"
,
8
:
"990e6fcff10d77217764"
,
9
:
"4c87b59db1c88ddd3ced"
,
10
:
"72fccf60a68381f76d55"
,
11
:
"2e8b140f00c6dd673ba5"
,
12
:
"03148f95863f7a200db2"
,
13
:
"8676feea9b0f73967926"
,
14
:
"c5f34c3cc028e72159a2"
,
15
:
"e465654e5ec23ef8208d"
,
16
:
"a4996da602831cc95d74"
,
17
:
"770b18ce8b116b017976"
,
18
:
"96baa73f6f02ed43eb8e"
,
19
:
"f36008a4491a333b3887"
,
20
:
"3739332a7b56b9610431"
,
21
:
"a714e29f8172a30b5fb1"
,
22
:
"bb593e90b41132f15c1d"
,
23
:
"6c79f1e6f54d06b1cfa3"
,
24
:
"58659b3ecef2e163ec96"
,
25
:
"5d18f3d119eeaecce6da"
,
26
:
"131de4aa19cded3e450a"
,
27
:
"fb8fb618015fae7bcfa6"
,
28
:
"87049d73048403debd2d"
,
29
:
"29d767b9b57b7b477a1e"
,
30
:
"c1de2f4576abf4469703"
,
31
:
"be3308967cc19afa234d"
,
32
:
"55c47cf4b7b63a259239"
,
33
:
"d3515af25c3e7e22153f"
,
34
:
"e6b92a5d2c80f98d7f09"
,
35
:
"1594506f9a5d8a12f869"
,
36
:
"558f20a54b5442057c74"
,
37
:
"8dda4c2e6d9a0f061d19"
,
38
:
"17cd5103ccb491bb50b2"
,
39
:
"eef79a8afbae4e412ce4"
,
40
:
"d360b14dfd3f3946dec0"
,
41
:
"397b3059a8af197f873d"
,
42
:
"51081609a7ce868fb33e"
,
43
:
"e4abd328a99781fe1adc"
,
44
:
"31a8824acd03d880b0ca"
,
45
:
"ee571dc1c71d580bc8ab"
,
46
:
"35421b4dafdb5f97e9b4"
,
47
:
"e64057254b53ae3fa692"
,
48
:
"33b1806eb6afb10ad02c"
,
49
:
"cd77eead6429acd42da4"
,
50
:
"1f3b56ecb41905e1f0b6"
,
51
:
"cef48bb077d7adfd0393"
,
52
:
"e201923c185c46bbad64"
,
53
:
"10ff6c8961898574121c"
,
54
:
"057590a3480a333bd474"
,
55
:
"3295563b7fbab7d7c92f"
,
56
:
"09f9c68b01253cd5d172"
,
57
:
"0a9f114e88b70a810b63"
,
58
:
"45087beef711461085b1"
,
59
:
"43f34dd17404d4c78bf9"
,
60
:
"dabbe70ccc550275ee5f"
,
61
:
"8a316c7474e8dd3c779a"
,
62
:
"147e7d084fcc3dede961"
,
63
:
"414cb58c569b2851a656"
,
64
:
"f9e19db362f51e52e082"
,
65
:
"f41ec010313cda71a2b2"
,
66
:
"0f44141898f38be839c0"
,
67
:
"fdb513da79afaf558d2d"
,
68
:
"cf90be34cdad38317e87"
,
69
:
"bc2522dec6524b3cf96a"
,
70
:
"fdbd771eead6adb3643e"
,
71
:
"e2beb82951019a68bfe4"
,
72
:
"b8f92cf89077d32971ce"
,
73
:
"a89d7704c4c88aeb343c"
,
74
:
"3e1e20dd4fe7206a8d7d"
,
75
:
"c95f32bc2f43541a42ae"
,
76
:
"434af8f43c5a663d5141"
,
77
:
"954793399def019b24e6"
,
78
:
"b66e62775b49e6eb25a0"
,
79
:
"660991248ae9ea032194"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
a
=
d
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
d
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
c
},
f
.
m
=
e
,
f
.
c
=
c
,
f
.
d
=
function
(
e
,
a
,
c
){
f
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
c
})},
f
.
n
=
function
(
e
){
var
a
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
f
.
d
(
a
,
"a"
,
a
),
a
},
f
.
o
=
function
(
e
,
a
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
a
)},
f
.
p
=
"./"
,
f
.
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
],
d
[
t
]
&&
u
.
push
(
d
[
t
][
0
]),
d
[
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
=
f
(
f
.
s
=
n
[
i
]);
return
o
};
var
c
=
{},
d
=
{
82
:
0
};
function
f
(
a
){
if
(
c
[
a
])
return
c
[
a
].
exports
;
var
d
=
c
[
a
]
=
{
i
:
a
,
l
:
!
1
,
exports
:{}};
return
e
[
a
].
call
(
d
.
exports
,
d
,
d
.
exports
,
f
),
d
.
l
=!
0
,
d
.
exports
}
f
.
e
=
function
(
e
){
var
a
=
d
[
e
];
if
(
0
===
a
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
a
)
return
a
[
2
];
var
c
=
new
Promise
(
function
(
c
,
f
){
a
=
d
[
e
]
=
[
c
,
f
]});
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
,
f
.
nc
&&
n
.
setAttribute
(
"nonce"
,
f
.
nc
),
n
.
src
=
f
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"cbedb09f8527f7df9eb0"
,
1
:
"954a8a70c5f1171933ac"
,
2
:
"a280cacc2b4b43a244e1"
,
3
:
"f9c76a8db247eb2b6e7b"
,
4
:
"7fb54b0d6edc84c910b5"
,
5
:
"3c335bf1dd72ca957262"
,
6
:
"987ab930d70320e9de11"
,
7
:
"32c3458a147e64da242e"
,
8
:
"990e6fcff10d77217764"
,
9
:
"4c87b59db1c88ddd3ced"
,
10
:
"72fccf60a68381f76d55"
,
11
:
"85ef9abb670d4472d7e4"
,
12
:
"03148f95863f7a200db2"
,
13
:
"8676feea9b0f73967926"
,
14
:
"c5f34c3cc028e72159a2"
,
15
:
"e465654e5ec23ef8208d"
,
16
:
"a4996da602831cc95d74"
,
17
:
"770b18ce8b116b017976"
,
18
:
"96baa73f6f02ed43eb8e"
,
19
:
"f36008a4491a333b3887"
,
20
:
"3739332a7b56b9610431"
,
21
:
"a714e29f8172a30b5fb1"
,
22
:
"bb593e90b41132f15c1d"
,
23
:
"6c79f1e6f54d06b1cfa3"
,
24
:
"58659b3ecef2e163ec96"
,
25
:
"5d18f3d119eeaecce6da"
,
26
:
"131de4aa19cded3e450a"
,
27
:
"fb8fb618015fae7bcfa6"
,
28
:
"87049d73048403debd2d"
,
29
:
"29d767b9b57b7b477a1e"
,
30
:
"c1de2f4576abf4469703"
,
31
:
"be3308967cc19afa234d"
,
32
:
"55c47cf4b7b63a259239"
,
33
:
"d3515af25c3e7e22153f"
,
34
:
"e6b92a5d2c80f98d7f09"
,
35
:
"1594506f9a5d8a12f869"
,
36
:
"558f20a54b5442057c74"
,
37
:
"8dda4c2e6d9a0f061d19"
,
38
:
"17cd5103ccb491bb50b2"
,
39
:
"eef79a8afbae4e412ce4"
,
40
:
"d360b14dfd3f3946dec0"
,
41
:
"397b3059a8af197f873d"
,
42
:
"51081609a7ce868fb33e"
,
43
:
"e4abd328a99781fe1adc"
,
44
:
"31a8824acd03d880b0ca"
,
45
:
"ee571dc1c71d580bc8ab"
,
46
:
"35421b4dafdb5f97e9b4"
,
47
:
"e64057254b53ae3fa692"
,
48
:
"33b1806eb6afb10ad02c"
,
49
:
"cd77eead6429acd42da4"
,
50
:
"1f3b56ecb41905e1f0b6"
,
51
:
"cef48bb077d7adfd0393"
,
52
:
"e201923c185c46bbad64"
,
53
:
"10ff6c8961898574121c"
,
54
:
"057590a3480a333bd474"
,
55
:
"3295563b7fbab7d7c92f"
,
56
:
"09f9c68b01253cd5d172"
,
57
:
"0a9f114e88b70a810b63"
,
58
:
"45087beef711461085b1"
,
59
:
"43f34dd17404d4c78bf9"
,
60
:
"dabbe70ccc550275ee5f"
,
61
:
"8a316c7474e8dd3c779a"
,
62
:
"147e7d084fcc3dede961"
,
63
:
"414cb58c569b2851a656"
,
64
:
"f9e19db362f51e52e082"
,
65
:
"f41ec010313cda71a2b2"
,
66
:
"0f44141898f38be839c0"
,
67
:
"fdb513da79afaf558d2d"
,
68
:
"cf90be34cdad38317e87"
,
69
:
"bc2522dec6524b3cf96a"
,
70
:
"fdbd771eead6adb3643e"
,
71
:
"e2beb82951019a68bfe4"
,
72
:
"b8f92cf89077d32971ce"
,
73
:
"a89d7704c4c88aeb343c"
,
74
:
"3e1e20dd4fe7206a8d7d"
,
75
:
"c95f32bc2f43541a42ae"
,
76
:
"434af8f43c5a663d5141"
,
77
:
"954793399def019b24e6"
,
78
:
"b66e62775b49e6eb25a0"
,
79
:
"660991248ae9ea032194"
}[
e
]
+
".js"
;
var
r
=
setTimeout
(
t
,
12
e4
);
function
t
(){
n
.
onerror
=
n
.
onload
=
null
,
clearTimeout
(
r
);
var
a
=
d
[
e
];
0
!==
a
&&
(
a
&&
a
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
d
[
e
]
=
void
0
)}
return
n
.
onerror
=
n
.
onload
=
t
,
b
.
appendChild
(
n
),
c
},
f
.
m
=
e
,
f
.
c
=
c
,
f
.
d
=
function
(
e
,
a
,
c
){
f
.
o
(
e
,
a
)
||
Object
.
defineProperty
(
e
,
a
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
c
})},
f
.
n
=
function
(
e
){
var
a
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
f
.
d
(
a
,
"a"
,
a
),
a
},
f
.
o
=
function
(
e
,
a
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
a
)},
f
.
p
=
"./"
,
f
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
\ No newline at end of file
src/components/app/customer/set-visiable.vue
View file @
f49be081
...
@@ -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-23 1
6:58:18
* @LastEditTime: 2020-06-23 1
7:05:17
-->
-->
<!--
<!--
<set-visiable :brandId="brandId" @closeStore="closeStore" @submitStore="submitStore"></set-visiable>
<set-visiable :brandId="brandId" @closeStore="closeStore" @submitStore="submitStore"></set-visiable>
...
@@ -120,13 +120,7 @@ export default {
...
@@ -120,13 +120,7 @@ export default {
return
false
;
return
false
;
}
}
that
.
loadingBtn
=
true
;
that
.
loadingBtn
=
true
;
that
.
$refs
[
formName
].
validate
(
valid
=>
{
if
(
valid
)
{
that
.
postSave
();
that
.
postSave
();
}
else
{
that
.
loadingBtn
=
false
;
}
});
},
300
),
},
300
),
postSave
()
{
postSave
()
{
const
that
=
this
;
const
that
=
this
;
...
...
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