Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
office-web
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
office-web
Commits
dd31bb4b
Commit
dd31bb4b
authored
Feb 21, 2019
by
无尘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改门店编辑上传图片
parent
d0cbdb36
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
13 additions
and
12 deletions
+13
-12
changelog.md
changelog.md
+2
-1
index.html
dist/index.html
+2
-2
8.c2ab80bd1bdd0543bf40.js
dist/static/js/8.c2ab80bd1bdd0543bf40.js
+0
-2
8.d7aaadab295e16aa570e.js
dist/static/js/8.d7aaadab295e16aa570e.js
+2
-0
manifest.eceb57a8ec7bf75461f5.js
dist/static/js/manifest.eceb57a8ec7bf75461f5.js
+2
-2
package.json
package.json
+1
-1
storeInfo.vue
src/views/contacts/storeInfo.vue
+4
-4
No files found.
changelog.md
View file @
dd31bb4b
## [1.0.
5](http://115.159.76.241/office/office-web/compare/v1.0.3...v1.0.5) (2019-02-20
)
## [1.0.
6](http://115.159.76.241/office/office-web/compare/v1.0.3...v1.0.6) (2019-02-21
)
### Bug Fixes
### Bug Fixes
*
修复行政架构编辑 bug (
[
b510c3b
](
http://115.159.76.241/office/office-web/commits/b510c3b
)
)
*
修复行政架构编辑 bug (
[
b510c3b
](
http://115.159.76.241/office/office-web/commits/b510c3b
)
)
*
修改 eslint 配置,配置允许 catch 空代码块 (
[
9f3e40f
](
http://115.159.76.241/office/office-web/commits/9f3e40f
)
)
*
修改 eslint 配置,配置允许 catch 空代码块 (
[
9f3e40f
](
http://115.159.76.241/office/office-web/commits/9f3e40f
)
)
*
修改门店编辑 (
[
d0cbdb3
](
http://115.159.76.241/office/office-web/commits/d0cbdb3
)
)
### Features
### Features
...
...
dist/index.html
View file @
dd31bb4b
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
href=
./static/css/app.d43733f30329826ec7e8a60700379717.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
><div
id=
app
></div><script
type=
text/javascript
src=
./static/js/manifest.d75174ac2104fe92afb6.js
></script><script
type=
text/javascript
src=
./static/js/vendor.fe6bbed1214c1931680c.js
></script><script
type=
text/javascript
src=
./static/js/app.00231ebf281d6f3e60c0.js
></script></body></html>
<!DOCTYPE html>
<html><head><meta
charset=
utf-8
><link
rel=
"shortcut icon"
href=
./favicon.ico
><title>
好办管理平台
</title><link
href=
./static/css/app.d43733f30329826ec7e8a60700379717.css
rel=
stylesheet
></head><body
style=
"min-width: 1400px;"
><div
id=
app
></div><script
type=
text/javascript
src=
./static/js/manifest.eceb57a8ec7bf75461f5.js
></script><script
type=
text/javascript
src=
./static/js/vendor.fe6bbed1214c1931680c.js
></script><script
type=
text/javascript
src=
./static/js/app.00231ebf281d6f3e60c0.js
></script></body></html>
\ No newline at end of file
\ No newline at end of file
dist/static/js/8.c2ab80bd1bdd0543bf40.js
deleted
100644 → 0
View file @
d0cbdb36
webpackJsonp
([
8
],{
Gohv
:
function
(
e
,
t
){},
SldL
:
function
(
e
,
t
){
!
function
(
t
){
"use strict"
;
var
r
,
o
=
Object
.
prototype
,
n
=
o
.
hasOwnProperty
,
a
=
"function"
==
typeof
Symbol
?
Symbol
:{},
i
=
a
.
iterator
||
"@@iterator"
,
s
=
a
.
asyncIterator
||
"@@asyncIterator"
,
l
=
a
.
toStringTag
||
"@@toStringTag"
,
u
=
"object"
==
typeof
e
,
c
=
t
.
regeneratorRuntime
;
if
(
c
)
u
&&
(
e
.
exports
=
c
);
else
{(
c
=
t
.
regeneratorRuntime
=
u
?
e
.
exports
:{}).
wrap
=
b
;
var
f
=
"suspendedStart"
,
p
=
"suspendedYield"
,
m
=
"executing"
,
d
=
"completed"
,
h
=
{},
g
=
{};
g
[
i
]
=
function
(){
return
this
};
var
v
=
Object
.
getPrototypeOf
,
I
=
v
&&
v
(
v
(
E
([])));
I
&&
I
!==
o
&&
n
.
call
(
I
,
i
)
&&
(
g
=
I
);
var
y
=
C
.
prototype
=
_
.
prototype
=
Object
.
create
(
g
);
x
.
prototype
=
y
.
constructor
=
C
,
C
.
constructor
=
x
,
C
[
l
]
=
x
.
displayName
=
"GeneratorFunction"
,
c
.
isGeneratorFunction
=
function
(
e
){
var
t
=
"function"
==
typeof
e
&&
e
.
constructor
;
return
!!
t
&&
(
t
===
x
||
"GeneratorFunction"
===
(
t
.
displayName
||
t
.
name
))},
c
.
mark
=
function
(
e
){
return
Object
.
setPrototypeOf
?
Object
.
setPrototypeOf
(
e
,
C
):(
e
.
__proto__
=
C
,
l
in
e
||
(
e
[
l
]
=
"GeneratorFunction"
)),
e
.
prototype
=
Object
.
create
(
y
),
e
},
c
.
awrap
=
function
(
e
){
return
{
__await
:
e
}},
S
(
L
.
prototype
),
L
.
prototype
[
s
]
=
function
(){
return
this
},
c
.
AsyncIterator
=
L
,
c
.
async
=
function
(
e
,
t
,
r
,
o
){
var
n
=
new
L
(
b
(
e
,
t
,
r
,
o
));
return
c
.
isGeneratorFunction
(
t
)?
n
:
n
.
next
().
then
(
function
(
e
){
return
e
.
done
?
e
.
value
:
n
.
next
()})},
S
(
y
),
y
[
l
]
=
"Generator"
,
y
[
i
]
=
function
(){
return
this
},
y
.
toString
=
function
(){
return
"[object Generator]"
},
c
.
keys
=
function
(
e
){
var
t
=
[];
for
(
var
r
in
e
)
t
.
push
(
r
);
return
t
.
reverse
(),
function
r
(){
for
(;
t
.
length
;){
var
o
=
t
.
pop
();
if
(
o
in
e
)
return
r
.
value
=
o
,
r
.
done
=!
1
,
r
}
return
r
.
done
=!
0
,
r
}},
c
.
values
=
E
,
k
.
prototype
=
{
constructor
:
k
,
reset
:
function
(
e
){
if
(
this
.
prev
=
0
,
this
.
next
=
0
,
this
.
sent
=
this
.
_sent
=
r
,
this
.
done
=!
1
,
this
.
delegate
=
null
,
this
.
method
=
"next"
,
this
.
arg
=
r
,
this
.
tryEntries
.
forEach
(
$
),
!
e
)
for
(
var
t
in
this
)
"t"
===
t
.
charAt
(
0
)
&&
n
.
call
(
this
,
t
)
&&!
isNaN
(
+
t
.
slice
(
1
))
&&
(
this
[
t
]
=
r
)},
stop
:
function
(){
this
.
done
=!
0
;
var
e
=
this
.
tryEntries
[
0
].
completion
;
if
(
"throw"
===
e
.
type
)
throw
e
.
arg
;
return
this
.
rval
},
dispatchException
:
function
(
e
){
if
(
this
.
done
)
throw
e
;
var
t
=
this
;
function
o
(
o
,
n
){
return
s
.
type
=
"throw"
,
s
.
arg
=
e
,
t
.
next
=
o
,
n
&&
(
t
.
method
=
"next"
,
t
.
arg
=
r
),
!!
n
}
for
(
var
a
=
this
.
tryEntries
.
length
-
1
;
a
>=
0
;
--
a
){
var
i
=
this
.
tryEntries
[
a
],
s
=
i
.
completion
;
if
(
"root"
===
i
.
tryLoc
)
return
o
(
"end"
);
if
(
i
.
tryLoc
<=
this
.
prev
){
var
l
=
n
.
call
(
i
,
"catchLoc"
),
u
=
n
.
call
(
i
,
"finallyLoc"
);
if
(
l
&&
u
){
if
(
this
.
prev
<
i
.
catchLoc
)
return
o
(
i
.
catchLoc
,
!
0
);
if
(
this
.
prev
<
i
.
finallyLoc
)
return
o
(
i
.
finallyLoc
)}
else
if
(
l
){
if
(
this
.
prev
<
i
.
catchLoc
)
return
o
(
i
.
catchLoc
,
!
0
)}
else
{
if
(
!
u
)
throw
new
Error
(
"try statement without catch or finally"
);
if
(
this
.
prev
<
i
.
finallyLoc
)
return
o
(
i
.
finallyLoc
)}}}},
abrupt
:
function
(
e
,
t
){
for
(
var
r
=
this
.
tryEntries
.
length
-
1
;
r
>=
0
;
--
r
){
var
o
=
this
.
tryEntries
[
r
];
if
(
o
.
tryLoc
<=
this
.
prev
&&
n
.
call
(
o
,
"finallyLoc"
)
&&
this
.
prev
<
o
.
finallyLoc
){
var
a
=
o
;
break
}}
a
&&
(
"break"
===
e
||
"continue"
===
e
)
&&
a
.
tryLoc
<=
t
&&
t
<=
a
.
finallyLoc
&&
(
a
=
null
);
var
i
=
a
?
a
.
completion
:{};
return
i
.
type
=
e
,
i
.
arg
=
t
,
a
?(
this
.
method
=
"next"
,
this
.
next
=
a
.
finallyLoc
,
h
):
this
.
complete
(
i
)},
complete
:
function
(
e
,
t
){
if
(
"throw"
===
e
.
type
)
throw
e
.
arg
;
return
"break"
===
e
.
type
||
"continue"
===
e
.
type
?
this
.
next
=
e
.
arg
:
"return"
===
e
.
type
?(
this
.
rval
=
this
.
arg
=
e
.
arg
,
this
.
method
=
"return"
,
this
.
next
=
"end"
):
"normal"
===
e
.
type
&&
t
&&
(
this
.
next
=
t
),
h
},
finish
:
function
(
e
){
for
(
var
t
=
this
.
tryEntries
.
length
-
1
;
t
>=
0
;
--
t
){
var
r
=
this
.
tryEntries
[
t
];
if
(
r
.
finallyLoc
===
e
)
return
this
.
complete
(
r
.
completion
,
r
.
afterLoc
),
$
(
r
),
h
}},
catch
:
function
(
e
){
for
(
var
t
=
this
.
tryEntries
.
length
-
1
;
t
>=
0
;
--
t
){
var
r
=
this
.
tryEntries
[
t
];
if
(
r
.
tryLoc
===
e
){
var
o
=
r
.
completion
;
if
(
"throw"
===
o
.
type
){
var
n
=
o
.
arg
;
$
(
r
)}
return
n
}}
throw
new
Error
(
"illegal catch attempt"
)},
delegateYield
:
function
(
e
,
t
,
o
){
return
this
.
delegate
=
{
iterator
:
E
(
e
),
resultName
:
t
,
nextLoc
:
o
},
"next"
===
this
.
method
&&
(
this
.
arg
=
r
),
h
}}}
function
b
(
e
,
t
,
r
,
o
){
var
n
=
t
&&
t
.
prototype
instanceof
_
?
t
:
_
,
a
=
Object
.
create
(
n
.
prototype
),
i
=
new
k
(
o
||
[]);
return
a
.
_invoke
=
function
(
e
,
t
,
r
){
var
o
=
f
;
return
function
(
n
,
a
){
if
(
o
===
m
)
throw
new
Error
(
"Generator is already running"
);
if
(
o
===
d
){
if
(
"throw"
===
n
)
throw
a
;
return
G
()}
for
(
r
.
method
=
n
,
r
.
arg
=
a
;;){
var
i
=
r
.
delegate
;
if
(
i
){
var
s
=
N
(
i
,
r
);
if
(
s
){
if
(
s
===
h
)
continue
;
return
s
}}
if
(
"next"
===
r
.
method
)
r
.
sent
=
r
.
_sent
=
r
.
arg
;
else
if
(
"throw"
===
r
.
method
){
if
(
o
===
f
)
throw
o
=
d
,
r
.
arg
;
r
.
dispatchException
(
r
.
arg
)}
else
"return"
===
r
.
method
&&
r
.
abrupt
(
"return"
,
r
.
arg
);
o
=
m
;
var
l
=
w
(
e
,
t
,
r
);
if
(
"normal"
===
l
.
type
){
if
(
o
=
r
.
done
?
d
:
p
,
l
.
arg
===
h
)
continue
;
return
{
value
:
l
.
arg
,
done
:
r
.
done
}}
"throw"
===
l
.
type
&&
(
o
=
d
,
r
.
method
=
"throw"
,
r
.
arg
=
l
.
arg
)}}}(
e
,
r
,
i
),
a
}
function
w
(
e
,
t
,
r
){
try
{
return
{
type
:
"normal"
,
arg
:
e
.
call
(
t
,
r
)}}
catch
(
e
){
return
{
type
:
"throw"
,
arg
:
e
}}}
function
_
(){}
function
x
(){}
function
C
(){}
function
S
(
e
){[
"next"
,
"throw"
,
"return"
].
forEach
(
function
(
t
){
e
[
t
]
=
function
(
e
){
return
this
.
_invoke
(
t
,
e
)}})}
function
L
(
e
){
var
t
;
this
.
_invoke
=
function
(
r
,
o
){
function
a
(){
return
new
Promise
(
function
(
t
,
a
){
!
function
t
(
r
,
o
,
a
,
i
){
var
s
=
w
(
e
[
r
],
e
,
o
);
if
(
"throw"
!==
s
.
type
){
var
l
=
s
.
arg
,
u
=
l
.
value
;
return
u
&&
"object"
==
typeof
u
&&
n
.
call
(
u
,
"__await"
)?
Promise
.
resolve
(
u
.
__await
).
then
(
function
(
e
){
t
(
"next"
,
e
,
a
,
i
)},
function
(
e
){
t
(
"throw"
,
e
,
a
,
i
)}):
Promise
.
resolve
(
u
).
then
(
function
(
e
){
l
.
value
=
e
,
a
(
l
)},
i
)}
i
(
s
.
arg
)}(
r
,
o
,
t
,
a
)})}
return
t
=
t
?
t
.
then
(
a
,
a
):
a
()}}
function
N
(
e
,
t
){
var
o
=
e
.
iterator
[
t
.
method
];
if
(
o
===
r
){
if
(
t
.
delegate
=
null
,
"throw"
===
t
.
method
){
if
(
e
.
iterator
.
return
&&
(
t
.
method
=
"return"
,
t
.
arg
=
r
,
N
(
e
,
t
),
"throw"
===
t
.
method
))
return
h
;
t
.
method
=
"throw"
,
t
.
arg
=
new
TypeError
(
"The iterator does not provide a 'throw' method"
)}
return
h
}
var
n
=
w
(
o
,
e
.
iterator
,
t
.
arg
);
if
(
"throw"
===
n
.
type
)
return
t
.
method
=
"throw"
,
t
.
arg
=
n
.
arg
,
t
.
delegate
=
null
,
h
;
var
a
=
n
.
arg
;
return
a
?
a
.
done
?(
t
[
e
.
resultName
]
=
a
.
value
,
t
.
next
=
e
.
nextLoc
,
"return"
!==
t
.
method
&&
(
t
.
method
=
"next"
,
t
.
arg
=
r
),
t
.
delegate
=
null
,
h
):
a
:(
t
.
method
=
"throw"
,
t
.
arg
=
new
TypeError
(
"iterator result is not an object"
),
t
.
delegate
=
null
,
h
)}
function
T
(
e
){
var
t
=
{
tryLoc
:
e
[
0
]};
1
in
e
&&
(
t
.
catchLoc
=
e
[
1
]),
2
in
e
&&
(
t
.
finallyLoc
=
e
[
2
],
t
.
afterLoc
=
e
[
3
]),
this
.
tryEntries
.
push
(
t
)}
function
$
(
e
){
var
t
=
e
.
completion
||
{};
t
.
type
=
"normal"
,
delete
t
.
arg
,
e
.
completion
=
t
}
function
k
(
e
){
this
.
tryEntries
=
[{
tryLoc
:
"root"
}],
e
.
forEach
(
T
,
this
),
this
.
reset
(
!
0
)}
function
E
(
e
){
if
(
e
){
var
t
=
e
[
i
];
if
(
t
)
return
t
.
call
(
e
);
if
(
"function"
==
typeof
e
.
next
)
return
e
;
if
(
!
isNaN
(
e
.
length
)){
var
o
=-
1
,
a
=
function
t
(){
for
(;
++
o
<
e
.
length
;)
if
(
n
.
call
(
e
,
o
))
return
t
.
value
=
e
[
o
],
t
.
done
=!
1
,
t
;
return
t
.
value
=
r
,
t
.
done
=!
0
,
t
};
return
a
.
next
=
a
}}
return
{
next
:
G
}}
function
G
(){
return
{
value
:
r
,
done
:
!
0
}}}(
function
(){
return
this
}()
||
Function
(
"return this"
)())},
Xxa5
:
function
(
e
,
t
,
r
){
e
.
exports
=
r
(
"jyFz"
)},
exGp
:
function
(
e
,
t
,
r
){
"use strict"
;
t
.
__esModule
=!
0
;
var
o
,
n
=
r
(
"//Fk"
),
a
=
(
o
=
n
)
&&
o
.
__esModule
?
o
:{
default
:
o
};
t
.
default
=
function
(
e
){
return
function
(){
var
t
=
e
.
apply
(
this
,
arguments
);
return
new
a
.
default
(
function
(
e
,
r
){
return
function
o
(
n
,
i
){
try
{
var
s
=
t
[
n
](
i
),
l
=
s
.
value
}
catch
(
e
){
return
void
r
(
e
)}
if
(
!
s
.
done
)
return
a
.
default
.
resolve
(
l
).
then
(
function
(
e
){
o
(
"next"
,
e
)},
function
(
e
){
o
(
"throw"
,
e
)});
e
(
l
)}(
"next"
)})}}},
"h/6A"
:
function
(
e
,
t
,
r
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
r
(
"Xxa5"
),
n
=
r
.
n
(
o
),
a
=
r
(
"//Fk"
),
i
=
r
.
n
(
a
),
s
=
r
(
"exGp"
),
l
=
r
.
n
(
s
),
u
=
r
(
"3Xzz"
),
c
=
r
(
"l46T"
),
f
=
r
(
"P9l9"
),
p
=
r
(
"Ie7z"
),
m
=
{
name
:
"store-info"
,
components
:{
navCrumb
:
u
.
a
,
vueSelectStore
:
p
.
a
,
limitInput
:
c
.
a
},
data
:
function
(){
return
{
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"企业通讯录"
,
path
:
"/administrativeFrame"
},{
name
:
"门店架构"
,
path
:
"/storeFrame"
},{
name
:
"添加门店"
,
path
:
""
}],
editpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"企业通讯录"
,
path
:
"/administrativeFrame"
},{
name
:
"门店架构"
,
path
:
"/storeFrame"
},{
name
:
"编辑门店"
,
path
:
""
}],
treeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
0
},
storeInfo
:{
storeName
:
""
,
storeGroupId
:
""
,
imageUrls
:[],
phoneNumber
:
""
,
openTime
:
""
,
closeTime
:
""
,
shopHours
:
""
,
storeType
:
0
,
countryId
:
""
,
provinceId
:
""
,
cityId
:
""
,
areaId
:
""
,
postAddress
:
""
,
longitude
:
""
,
latitude
:
""
,
location
:
""
,
storeArea
:
""
,
mangerName
:
""
,
storeManagerId
:
""
,
managerPhone
:
""
,
managerCode
:
""
,
maangerSex
:
""
,
storeCode
:
""
,
storeId
:
""
},
areaChainName
:
""
,
areaOptions
:{},
imgs
:[],
uploadUrl
:
"/haoban-manage-web/upload-img"
,
rules
:{
storeName
:[{
required
:
!
0
,
message
:
"请输入门店名称"
,
trigger
:
"blur"
}],
storeGroupId
:[{
required
:
!
0
,
message
:
"请输选择所属分组"
,
trigger
:
"blur"
}],
groupChainName
:[{
required
:
!
0
,
message
:
"请选择部门"
,
trigger
:
"change"
}],
imageUrls
:[{
type
:
"array"
,
required
:
!
0
,
message
:
"请选择门店图片"
,
trigger
:
"change"
}],
areaId
:[{
required
:
!
0
,
message
:
"请选择门店地址"
,
trigger
:
"blur"
}],
storeType
:[{
required
:
!
0
,
message
:
"请选择门店类型"
,
trigger
:
"blur"
}],
shopHours
:[{
required
:
!
0
,
message
:
"请选择营业时间"
,
trigger
:
"blur"
}],
location
:[{
required
:
!
0
,
message
:
"请选择经纬度"
,
trigger
:
"blur"
}],
phoneNumber
:[{
required
:
!
0
,
validator
:
function
(
e
,
t
,
r
){
if
(
t
)
return
/^1
[
34578
]\d{9}
$/
.
test
(
t
)
||
/^
(\(\d{3,4}\)
|
\d{3,4}
-|
\s)?\d{7,14}
$/
.
test
(
t
)?
r
():
r
(
new
Error
(
"联系电话格式不正确"
));
return
r
(
new
Error
(
"请输入联系电话"
))},
trigger
:
"blur"
}],
storeCode
:[{
required
:
!
0
,
message
:
"请输入门店代码"
,
trigger
:
"blur"
}],
managerName
:[{
required
:
!
0
,
message
:
"请输入店长姓名"
,
trigger
:
"blur"
}],
managerPhone
:[{
required
:
!
0
,
validator
:
function
(
e
,
t
,
r
){
if
(
t
)
return
/^1
[
34578
]\d{9}
$/
.
test
(
t
)?
r
():
r
(
new
Error
(
"手机号码格式不正确"
));
return
r
(
new
Error
(
"请输入手机号码"
))},
trigger
:
"blur"
}],
specialService
:[{
max
:
20
,
message
:
"长度在 20 个字符以内"
,
trigger
:
"blur"
}],
personCost
:[{
validator
:
function
(
e
,
t
,
r
){
if
(
t
)
return
/^
\d
+
(\.\d
+
)?
$/
.
test
(
1
*
t
)?
r
():
r
(
new
Error
(
"人均消费只能为非负整数或者小数"
));
return
r
()},
trigger
:
"blur"
}]}}},
methods
:{
callSelector
:
function
(){
this
.
treeSet
.
dialogVisible
=!
0
},
handleSelectedList
:
function
(
e
){
this
.
storeInfo
.
storeGroupId
=
e
[
0
].
label
,
this
.
storeInfo
.
storeGroupId
=
e
[
0
].
id
},
changeTime
:
function
(){
this
.
storeInfo
.
openTime
&&
this
.
storeInfo
.
closeTime
?
this
.
storeInfo
.
shopHours
=
this
.
storeInfo
.
openTime
+
","
+
this
.
storeInfo
.
closeTime
:
this
.
storeInfo
.
shopHours
=
""
},
selected
:
function
(
e
){
this
.
storeInfo
.
provinceId
=
e
.
province
,
this
.
storeInfo
.
cityId
=
e
.
city
||
""
,
this
.
storeInfo
.
areaId
=
e
.
areaId
||
""
},
getStoreInfo
:
function
(){
var
e
=
this
,
t
=
{
storeId
:
e
.
$route
.
query
.
storeId
};
Object
(
f
.
a
)(
"/haoban-manage-web/store/findStoreById"
,
t
).
then
(
function
(
t
){
1
==
t
.
data
.
errorCode
?(
e
.
showEmployee
=
"store"
,
e
.
formatStoreInfo
(
t
.
data
.
result
)):
e
.
$message
.
error
({
message
:
t
.
data
.
message
})})},
clickToSave
:
function
(){
var
e
=
this
;
return
l
()(
n
.
a
.
mark
(
function
t
(){
var
r
,
o
,
a
,
s
;
return
n
.
a
.
wrap
(
function
(
t
){
for
(;;)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
r
=
e
,
t
.
next
=
3
,
r
.
changeTime
();
case
3
:
o
=
new
i
.
a
(
function
(
e
,
t
){
r
.
$refs
.
storeInfo
.
validate
(
function
(
t
){
t
&&
e
()})}),
a
=
new
i
.
a
(
function
(
e
,
t
){
r
.
$refs
.
storeManager
.
validate
(
function
(
t
){
t
&&
e
()})}),
s
=
new
i
.
a
(
function
(
e
,
t
){
r
.
$refs
.
storeOperate
.
validate
(
function
(
t
){
t
&&
e
()})}),
i
.
a
.
all
([
o
,
a
,
s
]).
then
(
function
(){
r
.
save
()});
case
7
:
case
"end"
:
return
t
.
stop
()}},
t
,
e
)}))()},
formatStoreInfo
:
function
(
e
){
var
t
=
this
;
return
l
()(
n
.
a
.
mark
(
function
r
(){
var
o
,
a
;
return
n
.
a
.
wrap
(
function
(
r
){
for
(;;)
switch
(
r
.
prev
=
r
.
next
){
case
0
:
o
=
t
,
a
=
(
e
.
areaChainName
||
""
).
split
(
"/"
),
o
.
areaOptions
=
{
provinceName
:
a
[
0
],
provinceId
:
e
.
provinceId
,
cityName
:
a
[
1
],
cityId
:
e
.
cityId
,
countryName
:
a
[
2
],
countyId
:
e
.
countryId
},
e
.
imageUrls
=
e
.
imageUrls
?
e
.
imageUrls
:[],
e
.
imageUrls
.
length
&&
(
e
.
imageUrls
=
e
.
imageUrls
.
split
(
","
)),
e
.
location
=
e
.
longitude
+
","
+
e
.
latitude
,
o
.
storeInfo
=
e
,
o
.
changeTime
();
case
8
:
case
"end"
:
return
r
.
stop
()}},
r
,
t
)}))()},
uploadOnSuccess
:
function
(
e
,
t
){
e
.
file
.
url
=
e
.
res
.
result
[
0
].
qcloudImageUrl
,
t
.
push
(
e
.
file
)},
sortImg
:
function
(){},
deleteImage
:
function
(){},
save
:
function
(){
var
e
=
this
,
t
=
e
.
storeInfo
.
location
.
split
(
","
);
e
.
storeInfo
.
longitude
=
t
[
0
],
e
.
storeInfo
.
latitude
=
2
!==
t
.
length
?
""
:
t
[
1
],
e
.
storeInfo
.
managerPhone
=
e
.
storeInfo
.
managerPhone
,
e
.
storeInfo
.
areaChainName
=
e
.
areaChainName
;
var
r
=
e
.
storeInfo
;
r
.
imageUrls
=
e
.
storeInfo
.
imageUrls
.
join
(
","
);
var
o
=
e
.
isNew
?
"/haoban-manage-web/store/insert"
:
"/haoban-manage-web/store/update"
;
Object
(
f
.
a
)(
o
,
r
).
then
(
function
(
t
){
1
==
t
.
data
.
errorCode
?(
e
.
$message
.
success
({
message
:
t
.
data
.
message
}),
window
.
history
.
go
(
-
1
)):
e
.
$message
.
error
({
message
:
t
.
data
.
message
})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
message
:
t
.
message
})})}},
computed
:{
isNew
:
function
(){
return
!
this
.
$route
.
query
.
storeId
}},
beforeMount
:
function
(){
this
.
isNew
||
this
.
getStoreInfo
()},
mounted
:
function
(){
this
.
$route
.
query
.
storeId
&&
(
this
.
navpath
=
this
.
editpath
)}},
d
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"common-set-wrap"
},[
r
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
}}),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"right-content"
},[
r
(
"div"
,{
staticClass
:
"right-box"
},[
r
(
"div"
,[
r
(
"div"
,{
staticClass
:
"store-info"
},[
r
(
"div"
,{
staticClass
:
"info-cell"
},[
r
(
"p"
,{
staticClass
:
"title font-w-500"
},[
e
.
_v
(
"门店信息"
)]),
e
.
_v
(
" "
),
r
(
"el-form"
,{
ref
:
"storeInfo"
,
staticClass
:
"store-info-form info-form"
,
attrs
:{
rules
:
e
.
rules
,
model
:
e
.
storeInfo
,
"label-width"
:
"100px"
}},[
r
(
"el-form-item"
,{
attrs
:{
label
:
"门店名称"
,
prop
:
"storeName"
}},[
r
(
"limitInput"
,{
attrs
:{
inputWidth
:
500
,
inputValue
:
e
.
storeInfo
.
storeName
,
holder
:
""
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"storeName"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"所属分组"
,
prop
:
"storeGroupId"
}},[
r
(
"el-input"
,{
on
:{
focus
:
e
.
callSelector
},
model
:{
value
:
e
.
storeInfo
.
storeGroupId
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"storeGroupId"
,
t
)},
expression
:
"storeInfo.storeGroupId"
}},[
r
(
"i"
,{
staticClass
:
"el-input__icon el-icon-arrow-down"
,
attrs
:{
slot
:
"suffix"
},
slot
:
"suffix"
})])],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"门店图片"
,
prop
:
"imageUrls"
}},[
r
(
"div"
,{
staticClass
:
"member-upload-image"
},[
r
(
"vue-office-upload-image"
,{
attrs
:{
projectName
:
"haoban-manage-web"
,
wxFlag
:
"0"
,
actionUrl
:
e
.
uploadUrl
,
imageList
:
e
.
storeInfo
.
imageUrls
,
limitW
:
640
,
limitH
:
340
,
maxImageLength
:
5
},
on
:{
uploadOnSuccess
:
e
.
uploadOnSuccess
,
sortImg
:
e
.
sortImg
,
deleteImage
:
e
.
deleteImage
}})],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"tip font-12 color-909399 m-t-8 line-h-1"
},[
e
.
_v
(
"门店图片(640*340)"
)])]),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"联系电话"
,
prop
:
"phoneNumber"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
storeInfo
.
phoneNumber
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"phoneNumber"
,
t
)},
expression
:
"storeInfo.phoneNumber"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"营业时间"
,
prop
:
"shopHours"
}},[
r
(
"el-time-select"
,{
attrs
:{
editable
:
!
1
,
placeholder
:
"起始时间"
,
"picker-options"
:{
start
:
"00:00"
,
step
:
"00:05"
,
end
:
"24:00"
}},
on
:{
change
:
e
.
changeTime
},
model
:{
value
:
e
.
storeInfo
.
openTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"openTime"
,
t
)},
expression
:
"storeInfo.openTime"
}}),
e
.
_v
(
"
\
n ~
\
n "
),
r
(
"el-time-select"
,{
attrs
:{
editable
:
!
1
,
placeholder
:
"结束时间"
,
"picker-options"
:{
start
:
"00:00"
,
step
:
"00:05"
,
end
:
"24:00"
,
minTime
:
e
.
storeInfo
.
openTime
}},
on
:{
change
:
e
.
changeTime
},
model
:{
value
:
e
.
storeInfo
.
closeTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"closeTime"
,
t
)},
expression
:
"storeInfo.closeTime"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"门店类型"
,
prop
:
"storeType"
}},[
r
(
"el-radio-group"
,{
model
:{
value
:
e
.
storeInfo
.
storeType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"storeType"
,
t
)},
expression
:
"storeInfo.storeType"
}},[
r
(
"el-radio"
,{
attrs
:{
label
:
0
}},[
e
.
_v
(
"自营"
)]),
e
.
_v
(
" "
),
r
(
"el-radio"
,{
attrs
:{
label
:
1
}},[
e
.
_v
(
"联营"
)]),
e
.
_v
(
" "
),
r
(
"el-radio"
,{
attrs
:{
label
:
2
}},[
e
.
_v
(
"代理"
)]),
e
.
_v
(
" "
),
r
(
"el-radio"
,{
attrs
:{
label
:
3
}},[
e
.
_v
(
"代销"
)]),
e
.
_v
(
" "
),
r
(
"el-radio"
,{
attrs
:{
label
:
4
}},[
e
.
_v
(
"托管"
)])],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"门店地址"
,
prop
:
"areaId"
}},[
r
(
"vue-office-area"
,{
attrs
:{
areaOptions
:
e
.
areaOptions
,
projectName
:
"haoban-web"
,
postUrl
:
"/haoban-manage-web/dict-district-list"
},
on
:{
selected
:
e
.
selected
}}),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"m-t-15"
},[
r
(
"limitInput"
,{
attrs
:{
inputWidth
:
500
,
inputValue
:
e
.
storeInfo
.
postAddress
,
holder
:
""
,
maxLength
:
50
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"postAddress"
,
t
)}}})],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"GPS坐标"
,
prop
:
"location"
}},[
r
(
"el-input"
,{
staticClass
:
"m-r-10"
,
model
:{
value
:
e
.
storeInfo
.
location
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"location"
,
t
)},
expression
:
"storeInfo.location"
}}),
e
.
_v
(
" "
),
r
(
"a"
,{
staticClass
:
"a-href"
,
attrs
:{
href
:
"http://m.gpsspg.com/maps.htm"
,
target
:
"_blank"
,
rel
:
"nofollow noopener noreferrer"
}},[
e
.
_v
(
"经纬度测试工具"
)])],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
prop
:
"storeCode"
}},[
r
(
"template"
,{
slot
:
"label"
},[
e
.
_v
(
"
\
n 门店代码
\
n "
),
r
(
"i"
,{
staticClass
:
"el-icon-question"
,
staticStyle
:{
color
:
"#C0C4CC"
}})]),
e
.
_v
(
" "
),
r
(
"limitInput"
,{
attrs
:{
inputWidth
:
500
,
inputValue
:
e
.
storeInfo
.
storeCode
,
holder
:
""
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"storeCode"
,
t
)}}})],
2
)],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"info-cell"
},[
r
(
"p"
,{
staticClass
:
"title font-w-500"
},[
e
.
_v
(
"店长信息"
)]),
e
.
_v
(
" "
),
r
(
"el-form"
,{
ref
:
"storeManager"
,
staticClass
:
"store-manager-info-form info-form"
,
attrs
:{
rules
:
e
.
rules
,
model
:
e
.
storeInfo
,
"label-width"
:
"100px"
}},[
r
(
"el-form-item"
,{
attrs
:{
label
:
"店长姓名"
,
prop
:
"managerName"
}},[
r
(
"limitInput"
,{
attrs
:{
inputWidth
:
500
,
inputValue
:
e
.
storeInfo
.
managerName
,
holder
:
""
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"managerName"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"手机号码"
,
prop
:
"managerPhone"
}},[
r
(
"el-input"
,{
attrs
:{
disabled
:
!
e
.
isNew
&&!!
e
.
storeInfo
.
managerPhone
},
model
:{
value
:
e
.
storeInfo
.
managerPhone
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"managerPhone"
,
t
)},
expression
:
"storeInfo.managerPhone"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"店长性别"
}},[
r
(
"el-radio-group"
,{
model
:{
value
:
e
.
storeInfo
.
managerSex
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"managerSex"
,
t
)},
expression
:
"storeInfo.managerSex"
}},[
r
(
"el-radio"
,{
attrs
:{
label
:
1
}},[
e
.
_v
(
"男"
)]),
e
.
_v
(
" "
),
r
(
"el-radio"
,{
attrs
:{
label
:
2
}},[
e
.
_v
(
"女"
)])],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"店长代码"
,
prop
:
"managerCode"
}},[
r
(
"limitInput"
,{
attrs
:{
inputWidth
:
500
,
inputValue
:
e
.
storeInfo
.
managerCode
,
holder
:
""
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"managerCode"
,
t
)}}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"info-cell"
},[
r
(
"p"
,{
staticClass
:
"title font-w-500"
},[
e
.
_v
(
"经营信息"
)]),
e
.
_v
(
" "
),
r
(
"el-form"
,{
ref
:
"storeOperate"
,
staticClass
:
"operate-info-form info-form"
,
attrs
:{
rules
:
e
.
rules
,
model
:
e
.
storeInfo
,
"label-width"
:
"90px"
}},[
r
(
"el-form-item"
,{
attrs
:{
label
:
"特色服务"
,
prop
:
"specialService"
}},[
r
(
"el-input"
,{
attrs
:{
type
:
"textarea"
,
rows
:
2
},
model
:{
value
:
e
.
storeInfo
.
specialService
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"specialService"
,
t
)},
expression
:
"storeInfo.specialService"
}}),
e
.
_v
(
" "
),
r
(
"p"
,{
staticClass
:
"counter t-rt c-909399 font-12"
},[
e
.
_v
(
e
.
_s
((
e
.
storeInfo
.
specialService
||
""
).
length
)
+
"/20"
)])],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"人均消费"
,
prop
:
"personCost"
}},[
r
(
"limitInput"
,{
attrs
:{
inputWidth
:
500
,
inputValue
:
e
.
storeInfo
.
personCost
,
holder
:
""
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"personCost"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"推荐商品"
}},[
r
(
"el-input"
,{
attrs
:{
type
:
"textarea"
,
rows
:
2
},
model
:{
value
:
e
.
storeInfo
.
recommendGoods
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"recommendGoods"
,
t
)},
expression
:
"storeInfo.recommendGoods"
}}),
e
.
_v
(
" "
),
r
(
"p"
,{
staticClass
:
"counter t-rt c-909399 font-12"
},[
e
.
_v
(
e
.
_s
((
e
.
storeInfo
.
recommendGoods
||
""
).
length
)
+
"/100"
)])],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"品牌介绍"
}},[
r
(
"el-input"
,{
attrs
:{
type
:
"textarea"
,
rows
:
2
},
model
:{
value
:
e
.
storeInfo
.
brandDes
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"brandDes"
,
t
)},
expression
:
"storeInfo.brandDes"
}}),
e
.
_v
(
" "
),
r
(
"p"
,{
staticClass
:
"counter t-rt c-909399 font-12"
},[
e
.
_v
(
e
.
_s
((
e
.
storeInfo
.
recommendGoods
||
""
).
length
)
+
"/200"
)])],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"handle-area"
},[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
clickToSave
}},[
e
.
_v
(
"保 存"
)])],
1
)]),
e
.
_v
(
" "
),
r
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
treeSet
:
e
.
treeSet
,
selectType
:
"group"
,
forbidenList
:[
e
.
storeInfo
.
storeGroupId
]},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)])])],
1
)},
staticRenderFns
:[]};
var
h
=
r
(
"VU/8"
)(
m
,
d
,
!
1
,
function
(
e
){
r
(
"Gohv"
)},
null
,
null
);
t
.
default
=
h
.
exports
},
jyFz
:
function
(
e
,
t
,
r
){
var
o
=
function
(){
return
this
}()
||
Function
(
"return this"
)(),
n
=
o
.
regeneratorRuntime
&&
Object
.
getOwnPropertyNames
(
o
).
indexOf
(
"regeneratorRuntime"
)
>=
0
,
a
=
n
&&
o
.
regeneratorRuntime
;
if
(
o
.
regeneratorRuntime
=
void
0
,
e
.
exports
=
r
(
"SldL"
),
n
)
o
.
regeneratorRuntime
=
a
;
else
try
{
delete
o
.
regeneratorRuntime
}
catch
(
e
){
o
.
regeneratorRuntime
=
void
0
}}});
\ No newline at end of file
dist/static/js/8.d7aaadab295e16aa570e.js
0 → 100644
View file @
dd31bb4b
webpackJsonp
([
8
],{
SldL
:
function
(
e
,
t
){
!
function
(
t
){
"use strict"
;
var
r
,
o
=
Object
.
prototype
,
n
=
o
.
hasOwnProperty
,
a
=
"function"
==
typeof
Symbol
?
Symbol
:{},
i
=
a
.
iterator
||
"@@iterator"
,
s
=
a
.
asyncIterator
||
"@@asyncIterator"
,
l
=
a
.
toStringTag
||
"@@toStringTag"
,
u
=
"object"
==
typeof
e
,
c
=
t
.
regeneratorRuntime
;
if
(
c
)
u
&&
(
e
.
exports
=
c
);
else
{(
c
=
t
.
regeneratorRuntime
=
u
?
e
.
exports
:{}).
wrap
=
b
;
var
f
=
"suspendedStart"
,
p
=
"suspendedYield"
,
m
=
"executing"
,
d
=
"completed"
,
h
=
{},
g
=
{};
g
[
i
]
=
function
(){
return
this
};
var
v
=
Object
.
getPrototypeOf
,
I
=
v
&&
v
(
v
(
E
([])));
I
&&
I
!==
o
&&
n
.
call
(
I
,
i
)
&&
(
g
=
I
);
var
y
=
C
.
prototype
=
_
.
prototype
=
Object
.
create
(
g
);
x
.
prototype
=
y
.
constructor
=
C
,
C
.
constructor
=
x
,
C
[
l
]
=
x
.
displayName
=
"GeneratorFunction"
,
c
.
isGeneratorFunction
=
function
(
e
){
var
t
=
"function"
==
typeof
e
&&
e
.
constructor
;
return
!!
t
&&
(
t
===
x
||
"GeneratorFunction"
===
(
t
.
displayName
||
t
.
name
))},
c
.
mark
=
function
(
e
){
return
Object
.
setPrototypeOf
?
Object
.
setPrototypeOf
(
e
,
C
):(
e
.
__proto__
=
C
,
l
in
e
||
(
e
[
l
]
=
"GeneratorFunction"
)),
e
.
prototype
=
Object
.
create
(
y
),
e
},
c
.
awrap
=
function
(
e
){
return
{
__await
:
e
}},
S
(
L
.
prototype
),
L
.
prototype
[
s
]
=
function
(){
return
this
},
c
.
AsyncIterator
=
L
,
c
.
async
=
function
(
e
,
t
,
r
,
o
){
var
n
=
new
L
(
b
(
e
,
t
,
r
,
o
));
return
c
.
isGeneratorFunction
(
t
)?
n
:
n
.
next
().
then
(
function
(
e
){
return
e
.
done
?
e
.
value
:
n
.
next
()})},
S
(
y
),
y
[
l
]
=
"Generator"
,
y
[
i
]
=
function
(){
return
this
},
y
.
toString
=
function
(){
return
"[object Generator]"
},
c
.
keys
=
function
(
e
){
var
t
=
[];
for
(
var
r
in
e
)
t
.
push
(
r
);
return
t
.
reverse
(),
function
r
(){
for
(;
t
.
length
;){
var
o
=
t
.
pop
();
if
(
o
in
e
)
return
r
.
value
=
o
,
r
.
done
=!
1
,
r
}
return
r
.
done
=!
0
,
r
}},
c
.
values
=
E
,
k
.
prototype
=
{
constructor
:
k
,
reset
:
function
(
e
){
if
(
this
.
prev
=
0
,
this
.
next
=
0
,
this
.
sent
=
this
.
_sent
=
r
,
this
.
done
=!
1
,
this
.
delegate
=
null
,
this
.
method
=
"next"
,
this
.
arg
=
r
,
this
.
tryEntries
.
forEach
(
$
),
!
e
)
for
(
var
t
in
this
)
"t"
===
t
.
charAt
(
0
)
&&
n
.
call
(
this
,
t
)
&&!
isNaN
(
+
t
.
slice
(
1
))
&&
(
this
[
t
]
=
r
)},
stop
:
function
(){
this
.
done
=!
0
;
var
e
=
this
.
tryEntries
[
0
].
completion
;
if
(
"throw"
===
e
.
type
)
throw
e
.
arg
;
return
this
.
rval
},
dispatchException
:
function
(
e
){
if
(
this
.
done
)
throw
e
;
var
t
=
this
;
function
o
(
o
,
n
){
return
s
.
type
=
"throw"
,
s
.
arg
=
e
,
t
.
next
=
o
,
n
&&
(
t
.
method
=
"next"
,
t
.
arg
=
r
),
!!
n
}
for
(
var
a
=
this
.
tryEntries
.
length
-
1
;
a
>=
0
;
--
a
){
var
i
=
this
.
tryEntries
[
a
],
s
=
i
.
completion
;
if
(
"root"
===
i
.
tryLoc
)
return
o
(
"end"
);
if
(
i
.
tryLoc
<=
this
.
prev
){
var
l
=
n
.
call
(
i
,
"catchLoc"
),
u
=
n
.
call
(
i
,
"finallyLoc"
);
if
(
l
&&
u
){
if
(
this
.
prev
<
i
.
catchLoc
)
return
o
(
i
.
catchLoc
,
!
0
);
if
(
this
.
prev
<
i
.
finallyLoc
)
return
o
(
i
.
finallyLoc
)}
else
if
(
l
){
if
(
this
.
prev
<
i
.
catchLoc
)
return
o
(
i
.
catchLoc
,
!
0
)}
else
{
if
(
!
u
)
throw
new
Error
(
"try statement without catch or finally"
);
if
(
this
.
prev
<
i
.
finallyLoc
)
return
o
(
i
.
finallyLoc
)}}}},
abrupt
:
function
(
e
,
t
){
for
(
var
r
=
this
.
tryEntries
.
length
-
1
;
r
>=
0
;
--
r
){
var
o
=
this
.
tryEntries
[
r
];
if
(
o
.
tryLoc
<=
this
.
prev
&&
n
.
call
(
o
,
"finallyLoc"
)
&&
this
.
prev
<
o
.
finallyLoc
){
var
a
=
o
;
break
}}
a
&&
(
"break"
===
e
||
"continue"
===
e
)
&&
a
.
tryLoc
<=
t
&&
t
<=
a
.
finallyLoc
&&
(
a
=
null
);
var
i
=
a
?
a
.
completion
:{};
return
i
.
type
=
e
,
i
.
arg
=
t
,
a
?(
this
.
method
=
"next"
,
this
.
next
=
a
.
finallyLoc
,
h
):
this
.
complete
(
i
)},
complete
:
function
(
e
,
t
){
if
(
"throw"
===
e
.
type
)
throw
e
.
arg
;
return
"break"
===
e
.
type
||
"continue"
===
e
.
type
?
this
.
next
=
e
.
arg
:
"return"
===
e
.
type
?(
this
.
rval
=
this
.
arg
=
e
.
arg
,
this
.
method
=
"return"
,
this
.
next
=
"end"
):
"normal"
===
e
.
type
&&
t
&&
(
this
.
next
=
t
),
h
},
finish
:
function
(
e
){
for
(
var
t
=
this
.
tryEntries
.
length
-
1
;
t
>=
0
;
--
t
){
var
r
=
this
.
tryEntries
[
t
];
if
(
r
.
finallyLoc
===
e
)
return
this
.
complete
(
r
.
completion
,
r
.
afterLoc
),
$
(
r
),
h
}},
catch
:
function
(
e
){
for
(
var
t
=
this
.
tryEntries
.
length
-
1
;
t
>=
0
;
--
t
){
var
r
=
this
.
tryEntries
[
t
];
if
(
r
.
tryLoc
===
e
){
var
o
=
r
.
completion
;
if
(
"throw"
===
o
.
type
){
var
n
=
o
.
arg
;
$
(
r
)}
return
n
}}
throw
new
Error
(
"illegal catch attempt"
)},
delegateYield
:
function
(
e
,
t
,
o
){
return
this
.
delegate
=
{
iterator
:
E
(
e
),
resultName
:
t
,
nextLoc
:
o
},
"next"
===
this
.
method
&&
(
this
.
arg
=
r
),
h
}}}
function
b
(
e
,
t
,
r
,
o
){
var
n
=
t
&&
t
.
prototype
instanceof
_
?
t
:
_
,
a
=
Object
.
create
(
n
.
prototype
),
i
=
new
k
(
o
||
[]);
return
a
.
_invoke
=
function
(
e
,
t
,
r
){
var
o
=
f
;
return
function
(
n
,
a
){
if
(
o
===
m
)
throw
new
Error
(
"Generator is already running"
);
if
(
o
===
d
){
if
(
"throw"
===
n
)
throw
a
;
return
O
()}
for
(
r
.
method
=
n
,
r
.
arg
=
a
;;){
var
i
=
r
.
delegate
;
if
(
i
){
var
s
=
N
(
i
,
r
);
if
(
s
){
if
(
s
===
h
)
continue
;
return
s
}}
if
(
"next"
===
r
.
method
)
r
.
sent
=
r
.
_sent
=
r
.
arg
;
else
if
(
"throw"
===
r
.
method
){
if
(
o
===
f
)
throw
o
=
d
,
r
.
arg
;
r
.
dispatchException
(
r
.
arg
)}
else
"return"
===
r
.
method
&&
r
.
abrupt
(
"return"
,
r
.
arg
);
o
=
m
;
var
l
=
w
(
e
,
t
,
r
);
if
(
"normal"
===
l
.
type
){
if
(
o
=
r
.
done
?
d
:
p
,
l
.
arg
===
h
)
continue
;
return
{
value
:
l
.
arg
,
done
:
r
.
done
}}
"throw"
===
l
.
type
&&
(
o
=
d
,
r
.
method
=
"throw"
,
r
.
arg
=
l
.
arg
)}}}(
e
,
r
,
i
),
a
}
function
w
(
e
,
t
,
r
){
try
{
return
{
type
:
"normal"
,
arg
:
e
.
call
(
t
,
r
)}}
catch
(
e
){
return
{
type
:
"throw"
,
arg
:
e
}}}
function
_
(){}
function
x
(){}
function
C
(){}
function
S
(
e
){[
"next"
,
"throw"
,
"return"
].
forEach
(
function
(
t
){
e
[
t
]
=
function
(
e
){
return
this
.
_invoke
(
t
,
e
)}})}
function
L
(
e
){
var
t
;
this
.
_invoke
=
function
(
r
,
o
){
function
a
(){
return
new
Promise
(
function
(
t
,
a
){
!
function
t
(
r
,
o
,
a
,
i
){
var
s
=
w
(
e
[
r
],
e
,
o
);
if
(
"throw"
!==
s
.
type
){
var
l
=
s
.
arg
,
u
=
l
.
value
;
return
u
&&
"object"
==
typeof
u
&&
n
.
call
(
u
,
"__await"
)?
Promise
.
resolve
(
u
.
__await
).
then
(
function
(
e
){
t
(
"next"
,
e
,
a
,
i
)},
function
(
e
){
t
(
"throw"
,
e
,
a
,
i
)}):
Promise
.
resolve
(
u
).
then
(
function
(
e
){
l
.
value
=
e
,
a
(
l
)},
i
)}
i
(
s
.
arg
)}(
r
,
o
,
t
,
a
)})}
return
t
=
t
?
t
.
then
(
a
,
a
):
a
()}}
function
N
(
e
,
t
){
var
o
=
e
.
iterator
[
t
.
method
];
if
(
o
===
r
){
if
(
t
.
delegate
=
null
,
"throw"
===
t
.
method
){
if
(
e
.
iterator
.
return
&&
(
t
.
method
=
"return"
,
t
.
arg
=
r
,
N
(
e
,
t
),
"throw"
===
t
.
method
))
return
h
;
t
.
method
=
"throw"
,
t
.
arg
=
new
TypeError
(
"The iterator does not provide a 'throw' method"
)}
return
h
}
var
n
=
w
(
o
,
e
.
iterator
,
t
.
arg
);
if
(
"throw"
===
n
.
type
)
return
t
.
method
=
"throw"
,
t
.
arg
=
n
.
arg
,
t
.
delegate
=
null
,
h
;
var
a
=
n
.
arg
;
return
a
?
a
.
done
?(
t
[
e
.
resultName
]
=
a
.
value
,
t
.
next
=
e
.
nextLoc
,
"return"
!==
t
.
method
&&
(
t
.
method
=
"next"
,
t
.
arg
=
r
),
t
.
delegate
=
null
,
h
):
a
:(
t
.
method
=
"throw"
,
t
.
arg
=
new
TypeError
(
"iterator result is not an object"
),
t
.
delegate
=
null
,
h
)}
function
T
(
e
){
var
t
=
{
tryLoc
:
e
[
0
]};
1
in
e
&&
(
t
.
catchLoc
=
e
[
1
]),
2
in
e
&&
(
t
.
finallyLoc
=
e
[
2
],
t
.
afterLoc
=
e
[
3
]),
this
.
tryEntries
.
push
(
t
)}
function
$
(
e
){
var
t
=
e
.
completion
||
{};
t
.
type
=
"normal"
,
delete
t
.
arg
,
e
.
completion
=
t
}
function
k
(
e
){
this
.
tryEntries
=
[{
tryLoc
:
"root"
}],
e
.
forEach
(
T
,
this
),
this
.
reset
(
!
0
)}
function
E
(
e
){
if
(
e
){
var
t
=
e
[
i
];
if
(
t
)
return
t
.
call
(
e
);
if
(
"function"
==
typeof
e
.
next
)
return
e
;
if
(
!
isNaN
(
e
.
length
)){
var
o
=-
1
,
a
=
function
t
(){
for
(;
++
o
<
e
.
length
;)
if
(
n
.
call
(
e
,
o
))
return
t
.
value
=
e
[
o
],
t
.
done
=!
1
,
t
;
return
t
.
value
=
r
,
t
.
done
=!
0
,
t
};
return
a
.
next
=
a
}}
return
{
next
:
O
}}
function
O
(){
return
{
value
:
r
,
done
:
!
0
}}}(
function
(){
return
this
}()
||
Function
(
"return this"
)())},
Xxa5
:
function
(
e
,
t
,
r
){
e
.
exports
=
r
(
"jyFz"
)},
caXu
:
function
(
e
,
t
){},
exGp
:
function
(
e
,
t
,
r
){
"use strict"
;
t
.
__esModule
=!
0
;
var
o
,
n
=
r
(
"//Fk"
),
a
=
(
o
=
n
)
&&
o
.
__esModule
?
o
:{
default
:
o
};
t
.
default
=
function
(
e
){
return
function
(){
var
t
=
e
.
apply
(
this
,
arguments
);
return
new
a
.
default
(
function
(
e
,
r
){
return
function
o
(
n
,
i
){
try
{
var
s
=
t
[
n
](
i
),
l
=
s
.
value
}
catch
(
e
){
return
void
r
(
e
)}
if
(
!
s
.
done
)
return
a
.
default
.
resolve
(
l
).
then
(
function
(
e
){
o
(
"next"
,
e
)},
function
(
e
){
o
(
"throw"
,
e
)});
e
(
l
)}(
"next"
)})}}},
"h/6A"
:
function
(
e
,
t
,
r
){
"use strict"
;
Object
.
defineProperty
(
t
,
"__esModule"
,{
value
:
!
0
});
var
o
=
r
(
"Xxa5"
),
n
=
r
.
n
(
o
),
a
=
r
(
"//Fk"
),
i
=
r
.
n
(
a
),
s
=
r
(
"exGp"
),
l
=
r
.
n
(
s
),
u
=
r
(
"3Xzz"
),
c
=
r
(
"l46T"
),
f
=
r
(
"P9l9"
),
p
=
r
(
"Ie7z"
),
m
=
{
name
:
"store-info"
,
components
:{
navCrumb
:
u
.
a
,
vueSelectStore
:
p
.
a
,
limitInput
:
c
.
a
},
data
:
function
(){
return
{
navpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"企业通讯录"
,
path
:
"/administrativeFrame"
},{
name
:
"门店架构"
,
path
:
"/storeFrame"
},{
name
:
"添加门店"
,
path
:
""
}],
editpath
:[{
name
:
"首页"
,
path
:
"/index"
},{
name
:
"企业通讯录"
,
path
:
"/administrativeFrame"
},{
name
:
"门店架构"
,
path
:
"/storeFrame"
},{
name
:
"编辑门店"
,
path
:
""
}],
treeSet
:{
isSelectPerson
:
!
1
,
dialogVisible
:
!
1
,
isSingle
:
!
0
},
storeInfo
:{
storeName
:
""
,
storeGroupId
:
""
,
imageUrls
:[],
phoneNumber
:
""
,
openTime
:
""
,
closeTime
:
""
,
shopHours
:
""
,
storeType
:
0
,
countryId
:
""
,
provinceId
:
""
,
cityId
:
""
,
areaId
:
""
,
postAddress
:
""
,
longitude
:
""
,
latitude
:
""
,
location
:
""
,
storeArea
:
""
,
mangerName
:
""
,
storeManagerId
:
""
,
managerPhone
:
""
,
managerCode
:
""
,
maangerSex
:
""
,
storeCode
:
""
,
storeId
:
""
},
areaChainName
:
""
,
areaOptions
:{},
imgs
:[],
uploadUrl
:
"/haoban-manage-web/upload-img"
,
rules
:{
storeName
:[{
required
:
!
0
,
message
:
"请输入门店名称"
,
trigger
:
"blur"
}],
storeGroupId
:[{
required
:
!
0
,
message
:
"请输选择所属分组"
,
trigger
:
"blur"
}],
groupChainName
:[{
required
:
!
0
,
message
:
"请选择部门"
,
trigger
:
"change"
}],
imageUrls
:[{
type
:
"array"
,
required
:
!
0
,
message
:
"请选择门店图片"
,
trigger
:
"change"
}],
areaId
:[{
required
:
!
0
,
message
:
"请选择门店地址"
,
trigger
:
"blur"
}],
storeType
:[{
required
:
!
0
,
message
:
"请选择门店类型"
,
trigger
:
"blur"
}],
shopHours
:[{
required
:
!
0
,
message
:
"请选择营业时间"
,
trigger
:
"blur"
}],
location
:[{
required
:
!
0
,
message
:
"请选择经纬度"
,
trigger
:
"blur"
}],
phoneNumber
:[{
required
:
!
0
,
validator
:
function
(
e
,
t
,
r
){
if
(
t
)
return
/^1
[
34578
]\d{9}
$/
.
test
(
t
)
||
/^
(\(\d{3,4}\)
|
\d{3,4}
-|
\s)?\d{7,14}
$/
.
test
(
t
)?
r
():
r
(
new
Error
(
"联系电话格式不正确"
));
return
r
(
new
Error
(
"请输入联系电话"
))},
trigger
:
"blur"
}],
storeCode
:[{
required
:
!
0
,
message
:
"请输入门店代码"
,
trigger
:
"blur"
}],
managerName
:[{
required
:
!
0
,
message
:
"请输入店长姓名"
,
trigger
:
"blur"
}],
managerPhone
:[{
required
:
!
0
,
validator
:
function
(
e
,
t
,
r
){
if
(
t
)
return
/^1
[
34578
]\d{9}
$/
.
test
(
t
)?
r
():
r
(
new
Error
(
"手机号码格式不正确"
));
return
r
(
new
Error
(
"请输入手机号码"
))},
trigger
:
"blur"
}],
specialService
:[{
max
:
20
,
message
:
"长度在 20 个字符以内"
,
trigger
:
"blur"
}],
personCost
:[{
validator
:
function
(
e
,
t
,
r
){
if
(
t
)
return
/^
\d
+
(\.\d
+
)?
$/
.
test
(
1
*
t
)?
r
():
r
(
new
Error
(
"人均消费只能为非负整数或者小数"
));
return
r
()},
trigger
:
"blur"
}]}}},
methods
:{
callSelector
:
function
(){
this
.
treeSet
.
dialogVisible
=!
0
},
handleSelectedList
:
function
(
e
){
this
.
storeInfo
.
storeGroupId
=
e
[
0
].
label
,
this
.
storeInfo
.
storeGroupId
=
e
[
0
].
id
},
changeTime
:
function
(){
this
.
storeInfo
.
openTime
&&
this
.
storeInfo
.
closeTime
?
this
.
storeInfo
.
shopHours
=
this
.
storeInfo
.
openTime
+
","
+
this
.
storeInfo
.
closeTime
:
this
.
storeInfo
.
shopHours
=
""
},
selected
:
function
(
e
){
this
.
storeInfo
.
provinceId
=
e
.
province
,
this
.
storeInfo
.
cityId
=
e
.
city
||
""
,
this
.
storeInfo
.
areaId
=
e
.
areaId
||
""
},
getStoreInfo
:
function
(){
var
e
=
this
,
t
=
{
storeId
:
e
.
$route
.
query
.
storeId
};
Object
(
f
.
a
)(
"/haoban-manage-web/store/findStoreById"
,
t
).
then
(
function
(
t
){
1
==
t
.
data
.
errorCode
?(
e
.
showEmployee
=
"store"
,
e
.
formatStoreInfo
(
t
.
data
.
result
)):
e
.
$message
.
error
({
message
:
t
.
data
.
message
})})},
clickToSave
:
function
(){
var
e
=
this
;
return
l
()(
n
.
a
.
mark
(
function
t
(){
var
r
,
o
,
a
,
s
;
return
n
.
a
.
wrap
(
function
(
t
){
for
(;;)
switch
(
t
.
prev
=
t
.
next
){
case
0
:
return
r
=
e
,
t
.
next
=
3
,
r
.
changeTime
();
case
3
:
o
=
new
i
.
a
(
function
(
e
,
t
){
r
.
$refs
.
storeInfo
.
validate
(
function
(
t
){
t
&&
e
()})}),
a
=
new
i
.
a
(
function
(
e
,
t
){
r
.
$refs
.
storeManager
.
validate
(
function
(
t
){
t
&&
e
()})}),
s
=
new
i
.
a
(
function
(
e
,
t
){
r
.
$refs
.
storeOperate
.
validate
(
function
(
t
){
t
&&
e
()})}),
i
.
a
.
all
([
o
,
a
,
s
]).
then
(
function
(){
r
.
save
()});
case
7
:
case
"end"
:
return
t
.
stop
()}},
t
,
e
)}))()},
formatStoreInfo
:
function
(
e
){
var
t
=
this
;
return
l
()(
n
.
a
.
mark
(
function
r
(){
var
o
,
a
;
return
n
.
a
.
wrap
(
function
(
r
){
for
(;;)
switch
(
r
.
prev
=
r
.
next
){
case
0
:
o
=
t
,
a
=
(
e
.
areaChainName
||
""
).
split
(
"/"
),
o
.
areaOptions
=
{
provinceName
:
a
[
0
],
provinceId
:
e
.
provinceId
,
cityName
:
a
[
1
],
cityId
:
e
.
cityId
,
countryName
:
a
[
2
],
countyId
:
e
.
countryId
},
e
.
imageUrls
=
e
.
imageUrls
?
e
.
imageUrls
:[],
e
.
imageUrls
.
length
&&
(
e
.
imageUrls
=
e
.
imageUrls
.
split
(
","
)),
e
.
location
=
e
.
longitude
+
","
+
e
.
latitude
,
o
.
storeInfo
=
e
,
o
.
changeTime
();
case
8
:
case
"end"
:
return
r
.
stop
()}},
r
,
t
)}))()},
uploadOnSuccess
:
function
(
e
,
t
){
e
.
file
.
url
=
e
.
res
.
result
[
0
].
qcloudImageUrl
,
t
.
push
(
e
.
file
)},
sortImg
:
function
(){},
deleteImage
:
function
(){},
save
:
function
(){
var
e
=
this
,
t
=
e
.
storeInfo
.
location
.
split
(
","
);
e
.
storeInfo
.
longitude
=
t
[
0
],
e
.
storeInfo
.
latitude
=
2
!==
t
.
length
?
""
:
t
[
1
],
e
.
storeInfo
.
managerPhone
=
e
.
storeInfo
.
managerPhone
,
e
.
storeInfo
.
areaChainName
=
e
.
areaChainName
;
var
r
=
e
.
storeInfo
,
o
=
[];
e
.
storeInfo
.
imageUrls
.
forEach
(
function
(
e
){
o
.
push
(
e
.
url
)}),
r
.
imageUrls
=
o
.
join
(
","
);
var
n
=
e
.
isNew
?
"/haoban-manage-web/store/insert"
:
"/haoban-manage-web/store/update"
;
Object
(
f
.
a
)(
n
,
r
).
then
(
function
(
t
){
1
==
t
.
data
.
errorCode
?(
e
.
$message
.
success
({
message
:
t
.
data
.
message
}),
window
.
history
.
go
(
-
1
)):
e
.
$message
.
error
({
message
:
t
.
data
.
message
})}).
catch
(
function
(
t
){
e
.
$message
.
error
({
message
:
t
.
message
})})}},
computed
:{
isNew
:
function
(){
return
!
this
.
$route
.
query
.
storeId
}},
beforeMount
:
function
(){
this
.
isNew
||
this
.
getStoreInfo
()},
mounted
:
function
(){
this
.
$route
.
query
.
storeId
&&
(
this
.
navpath
=
this
.
editpath
)}},
d
=
{
render
:
function
(){
var
e
=
this
,
t
=
e
.
$createElement
,
r
=
e
.
_self
.
_c
||
t
;
return
r
(
"div"
,{
staticClass
:
"common-set-wrap"
},[
r
(
"nav-crumb"
,{
attrs
:{
navpath
:
e
.
navpath
}}),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"right-content"
},[
r
(
"div"
,{
staticClass
:
"right-box"
},[
r
(
"div"
,[
r
(
"div"
,{
staticClass
:
"store-info"
},[
r
(
"div"
,{
staticClass
:
"info-cell"
},[
r
(
"p"
,{
staticClass
:
"title font-w-500"
},[
e
.
_v
(
"门店信息"
)]),
e
.
_v
(
" "
),
r
(
"el-form"
,{
ref
:
"storeInfo"
,
staticClass
:
"store-info-form info-form"
,
attrs
:{
rules
:
e
.
rules
,
model
:
e
.
storeInfo
,
"label-width"
:
"100px"
}},[
r
(
"el-form-item"
,{
attrs
:{
label
:
"门店名称"
,
prop
:
"storeName"
}},[
r
(
"limitInput"
,{
attrs
:{
inputWidth
:
500
,
inputValue
:
e
.
storeInfo
.
storeName
,
holder
:
""
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"storeName"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"所属分组"
,
prop
:
"storeGroupId"
}},[
r
(
"el-input"
,{
on
:{
focus
:
e
.
callSelector
},
model
:{
value
:
e
.
storeInfo
.
storeGroupId
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"storeGroupId"
,
t
)},
expression
:
"storeInfo.storeGroupId"
}},[
r
(
"i"
,{
staticClass
:
"el-input__icon el-icon-arrow-down"
,
attrs
:{
slot
:
"suffix"
},
slot
:
"suffix"
})])],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"门店图片"
,
prop
:
"imageUrls"
}},[
r
(
"div"
,{
staticClass
:
"member-upload-image"
},[
r
(
"vue-office-upload-image"
,{
attrs
:{
projectName
:
"haoban-manage-web"
,
wxFlag
:
"0"
,
actionUrl
:
e
.
uploadUrl
,
imageList
:
e
.
storeInfo
.
imageUrls
,
limitW
:
640
,
limitH
:
340
,
maxImageLength
:
5
},
on
:{
uploadOnSuccess
:
e
.
uploadOnSuccess
,
sortImg
:
e
.
sortImg
,
deleteImage
:
e
.
deleteImage
}})],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"tip font-12 color-909399 m-t-8 line-h-1"
},[
e
.
_v
(
"门店图片(640*340)"
)])]),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"联系电话"
,
prop
:
"phoneNumber"
}},[
r
(
"el-input"
,{
model
:{
value
:
e
.
storeInfo
.
phoneNumber
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"phoneNumber"
,
t
)},
expression
:
"storeInfo.phoneNumber"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"营业时间"
,
prop
:
"shopHours"
}},[
r
(
"el-time-select"
,{
attrs
:{
editable
:
!
1
,
placeholder
:
"起始时间"
,
"picker-options"
:{
start
:
"00:00"
,
step
:
"00:05"
,
end
:
"24:00"
}},
on
:{
change
:
e
.
changeTime
},
model
:{
value
:
e
.
storeInfo
.
openTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"openTime"
,
t
)},
expression
:
"storeInfo.openTime"
}}),
e
.
_v
(
"
\
n ~
\
n "
),
r
(
"el-time-select"
,{
attrs
:{
editable
:
!
1
,
placeholder
:
"结束时间"
,
"picker-options"
:{
start
:
"00:00"
,
step
:
"00:05"
,
end
:
"24:00"
,
minTime
:
e
.
storeInfo
.
openTime
}},
on
:{
change
:
e
.
changeTime
},
model
:{
value
:
e
.
storeInfo
.
closeTime
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"closeTime"
,
t
)},
expression
:
"storeInfo.closeTime"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"门店类型"
,
prop
:
"storeType"
}},[
r
(
"el-radio-group"
,{
model
:{
value
:
e
.
storeInfo
.
storeType
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"storeType"
,
t
)},
expression
:
"storeInfo.storeType"
}},[
r
(
"el-radio"
,{
attrs
:{
label
:
0
}},[
e
.
_v
(
"自营"
)]),
e
.
_v
(
" "
),
r
(
"el-radio"
,{
attrs
:{
label
:
1
}},[
e
.
_v
(
"联营"
)]),
e
.
_v
(
" "
),
r
(
"el-radio"
,{
attrs
:{
label
:
2
}},[
e
.
_v
(
"代理"
)]),
e
.
_v
(
" "
),
r
(
"el-radio"
,{
attrs
:{
label
:
3
}},[
e
.
_v
(
"代销"
)]),
e
.
_v
(
" "
),
r
(
"el-radio"
,{
attrs
:{
label
:
4
}},[
e
.
_v
(
"托管"
)])],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"门店地址"
,
prop
:
"areaId"
}},[
r
(
"vue-office-area"
,{
attrs
:{
areaOptions
:
e
.
areaOptions
,
projectName
:
"haoban-web"
,
postUrl
:
"/haoban-manage-web/dict-district-list"
},
on
:{
selected
:
e
.
selected
}}),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"m-t-15"
},[
r
(
"limitInput"
,{
attrs
:{
inputWidth
:
500
,
inputValue
:
e
.
storeInfo
.
postAddress
,
holder
:
""
,
maxLength
:
50
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"postAddress"
,
t
)}}})],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"GPS坐标"
,
prop
:
"location"
}},[
r
(
"el-input"
,{
staticClass
:
"m-r-10"
,
model
:{
value
:
e
.
storeInfo
.
location
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"location"
,
t
)},
expression
:
"storeInfo.location"
}}),
e
.
_v
(
" "
),
r
(
"a"
,{
staticClass
:
"a-href"
,
attrs
:{
href
:
"http://m.gpsspg.com/maps.htm"
,
target
:
"_blank"
,
rel
:
"nofollow noopener noreferrer"
}},[
e
.
_v
(
"经纬度测试工具"
)])],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
prop
:
"storeCode"
}},[
r
(
"template"
,{
slot
:
"label"
},[
e
.
_v
(
"
\
n 门店代码
\
n "
),
r
(
"i"
,{
staticClass
:
"el-icon-question"
,
staticStyle
:{
color
:
"#C0C4CC"
}})]),
e
.
_v
(
" "
),
r
(
"limitInput"
,{
attrs
:{
inputWidth
:
500
,
inputValue
:
e
.
storeInfo
.
storeCode
,
holder
:
""
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"storeCode"
,
t
)}}})],
2
)],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"info-cell"
},[
r
(
"p"
,{
staticClass
:
"title font-w-500"
},[
e
.
_v
(
"店长信息"
)]),
e
.
_v
(
" "
),
r
(
"el-form"
,{
ref
:
"storeManager"
,
staticClass
:
"store-manager-info-form info-form"
,
attrs
:{
rules
:
e
.
rules
,
model
:
e
.
storeInfo
,
"label-width"
:
"100px"
}},[
r
(
"el-form-item"
,{
attrs
:{
label
:
"店长姓名"
,
prop
:
"managerName"
}},[
r
(
"limitInput"
,{
attrs
:{
inputWidth
:
500
,
inputValue
:
e
.
storeInfo
.
managerName
,
holder
:
""
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"managerName"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"手机号码"
,
prop
:
"managerPhone"
}},[
r
(
"el-input"
,{
attrs
:{
disabled
:
!
e
.
isNew
&&!!
e
.
storeInfo
.
managerPhone
},
model
:{
value
:
e
.
storeInfo
.
managerPhone
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"managerPhone"
,
t
)},
expression
:
"storeInfo.managerPhone"
}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"店长性别"
}},[
r
(
"el-radio-group"
,{
model
:{
value
:
e
.
storeInfo
.
managerSex
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"managerSex"
,
t
)},
expression
:
"storeInfo.managerSex"
}},[
r
(
"el-radio"
,{
attrs
:{
label
:
1
}},[
e
.
_v
(
"男"
)]),
e
.
_v
(
" "
),
r
(
"el-radio"
,{
attrs
:{
label
:
2
}},[
e
.
_v
(
"女"
)])],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"店长代码"
,
prop
:
"managerCode"
}},[
r
(
"limitInput"
,{
attrs
:{
inputWidth
:
500
,
inputValue
:
e
.
storeInfo
.
managerCode
,
holder
:
""
,
maxLength
:
20
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"managerCode"
,
t
)}}})],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"info-cell"
},[
r
(
"p"
,{
staticClass
:
"title font-w-500"
},[
e
.
_v
(
"经营信息"
)]),
e
.
_v
(
" "
),
r
(
"el-form"
,{
ref
:
"storeOperate"
,
staticClass
:
"operate-info-form info-form"
,
attrs
:{
rules
:
e
.
rules
,
model
:
e
.
storeInfo
,
"label-width"
:
"90px"
}},[
r
(
"el-form-item"
,{
attrs
:{
label
:
"特色服务"
,
prop
:
"specialService"
}},[
r
(
"el-input"
,{
attrs
:{
type
:
"textarea"
,
rows
:
2
},
model
:{
value
:
e
.
storeInfo
.
specialService
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"specialService"
,
t
)},
expression
:
"storeInfo.specialService"
}}),
e
.
_v
(
" "
),
r
(
"p"
,{
staticClass
:
"counter t-rt c-909399 font-12"
},[
e
.
_v
(
e
.
_s
((
e
.
storeInfo
.
specialService
||
""
).
length
)
+
"/20"
)])],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"人均消费"
,
prop
:
"personCost"
}},[
r
(
"limitInput"
,{
attrs
:{
inputWidth
:
500
,
inputValue
:
e
.
storeInfo
.
personCost
,
holder
:
""
,
maxLength
:
10
},
on
:{
"update:inputValue"
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"personCost"
,
t
)}}})],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"推荐商品"
}},[
r
(
"el-input"
,{
attrs
:{
type
:
"textarea"
,
rows
:
2
},
model
:{
value
:
e
.
storeInfo
.
recommendGoods
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"recommendGoods"
,
t
)},
expression
:
"storeInfo.recommendGoods"
}}),
e
.
_v
(
" "
),
r
(
"p"
,{
staticClass
:
"counter t-rt c-909399 font-12"
},[
e
.
_v
(
e
.
_s
((
e
.
storeInfo
.
recommendGoods
||
""
).
length
)
+
"/100"
)])],
1
),
e
.
_v
(
" "
),
r
(
"el-form-item"
,{
attrs
:{
label
:
"品牌介绍"
}},[
r
(
"el-input"
,{
attrs
:{
type
:
"textarea"
,
rows
:
2
},
model
:{
value
:
e
.
storeInfo
.
brandDes
,
callback
:
function
(
t
){
e
.
$set
(
e
.
storeInfo
,
"brandDes"
,
t
)},
expression
:
"storeInfo.brandDes"
}}),
e
.
_v
(
" "
),
r
(
"p"
,{
staticClass
:
"counter t-rt c-909399 font-12"
},[
e
.
_v
(
e
.
_s
((
e
.
storeInfo
.
recommendGoods
||
""
).
length
)
+
"/200"
)])],
1
)],
1
)],
1
),
e
.
_v
(
" "
),
r
(
"div"
,{
staticClass
:
"handle-area"
},[
r
(
"el-button"
,{
attrs
:{
type
:
"primary"
},
on
:{
click
:
e
.
clickToSave
}},[
e
.
_v
(
"保 存"
)])],
1
)]),
e
.
_v
(
" "
),
r
(
"vue-select-store"
,{
ref
:
"storeSelector"
,
attrs
:{
treeSet
:
e
.
treeSet
,
selectType
:
"group"
,
forbidenList
:[
e
.
storeInfo
.
storeGroupId
]},
on
:{
handleSelectedList
:
e
.
handleSelectedList
}})],
1
)])])],
1
)},
staticRenderFns
:[]};
var
h
=
r
(
"VU/8"
)(
m
,
d
,
!
1
,
function
(
e
){
r
(
"caXu"
)},
null
,
null
);
t
.
default
=
h
.
exports
},
jyFz
:
function
(
e
,
t
,
r
){
var
o
=
function
(){
return
this
}()
||
Function
(
"return this"
)(),
n
=
o
.
regeneratorRuntime
&&
Object
.
getOwnPropertyNames
(
o
).
indexOf
(
"regeneratorRuntime"
)
>=
0
,
a
=
n
&&
o
.
regeneratorRuntime
;
if
(
o
.
regeneratorRuntime
=
void
0
,
e
.
exports
=
r
(
"SldL"
),
n
)
o
.
regeneratorRuntime
=
a
;
else
try
{
delete
o
.
regeneratorRuntime
}
catch
(
e
){
o
.
regeneratorRuntime
=
void
0
}}});
\ No newline at end of file
dist/static/js/manifest.
d75174ac2104fe92afb6
.js
→
dist/static/js/manifest.
eceb57a8ec7bf75461f5
.js
View file @
dd31bb4b
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
n
,
r
){
for
(
var
t
,
b
,
o
,
i
=
0
,
u
=
[];
i
<
a
.
length
;
i
++
)
b
=
a
[
i
],
f
[
b
]
&&
u
.
push
(
f
[
b
][
0
]),
f
[
b
]
=
0
;
for
(
t
in
n
)
Object
.
prototype
.
hasOwnProperty
.
call
(
n
,
t
)
&&
(
e
[
t
]
=
n
[
t
]);
for
(
c
&&
c
(
a
,
n
,
r
);
u
.
length
;)
u
.
shift
()();
if
(
r
)
for
(
i
=
0
;
i
<
r
.
length
;
i
++
)
o
=
d
(
d
.
s
=
r
[
i
]);
return
o
};
var
a
=
{},
f
=
{
44
:
0
};
function
d
(
c
){
if
(
a
[
c
])
return
a
[
c
].
exports
;
var
f
=
a
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
f
.
exports
,
f
,
f
.
exports
,
d
),
f
.
l
=!
0
,
f
.
exports
}
d
.
e
=
function
(
e
){
var
c
=
f
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
a
=
new
Promise
(
function
(
a
,
d
){
c
=
f
[
e
]
=
[
a
,
d
]});
c
[
2
]
=
a
;
var
n
=
document
.
getElementsByTagName
(
"head"
)[
0
],
r
=
document
.
createElement
(
"script"
);
r
.
type
=
"text/javascript"
,
r
.
charset
=
"utf-8"
,
r
.
async
=!
0
,
r
.
timeout
=
12
e4
,
d
.
nc
&&
r
.
setAttribute
(
"nonce"
,
d
.
nc
),
r
.
src
=
d
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"eb0a4246ba12b2f19e2a"
,
1
:
"0ebe3ead93207dc78a78"
,
2
:
"a3034ac019ab3b076959"
,
3
:
"7f87f1f60c09bb6ad371"
,
4
:
"7dd9b3bb0689b9db1cf3"
,
5
:
"a59d9c23005287905ed6"
,
6
:
"fbd06ea78358b8144d70"
,
7
:
"fb9879c0177f64d093fb"
,
8
:
"c2ab80bd1bdd0543bf40"
,
9
:
"325d932bbdd43400378c"
,
10
:
"4e361f7d71dc54b505c7"
,
11
:
"0bd61ccd1d48b103648d"
,
12
:
"083c2dea91ab829164ab"
,
13
:
"cd7e52c325cdc13a2368"
,
14
:
"c7093604e27c367303cf"
,
15
:
"bd12670087ac2b78bcd8"
,
16
:
"1524360dd522553f9835"
,
17
:
"2fcb22c1678bfb340c98"
,
18
:
"07d5abcfefbcf450eccc"
,
19
:
"dabaaf4b65f9f75c9a0d"
,
20
:
"f5dd0c36e2944f5fa78c"
,
21
:
"7faaa888e2db1aa1e5a3"
,
22
:
"e2b096ce6ec3d2f5b0d7"
,
23
:
"36f14084226b8d6bba02"
,
24
:
"da00208b59bc1152ea8c"
,
25
:
"e18d84688b21155beafe"
,
26
:
"bd139135ffeed7c3be5d"
,
27
:
"e85ffa7929197dc4609a"
,
28
:
"c75ca2dc62974c43903c"
,
29
:
"25c23e727c71fda1821b"
,
30
:
"5546948c939232668fc6"
,
31
:
"16358ad3a9085c551664"
,
32
:
"20338d6b658d38bf70dc"
,
33
:
"375e96e88f2f82b30e3c"
,
34
:
"57d4132e0ff6a5a8ac00"
,
35
:
"aed8a28b82487ff5f295"
,
36
:
"158063a49dabc462fe14"
,
37
:
"f30f4e653b1f9e708aaa"
,
38
:
"ac5ef7410309c861198f"
,
39
:
"3e612f993ddd107c14dd"
,
40
:
"f965564e0c6bf413d47f"
,
43
:
"13848f214bb993c20004"
}[
e
]
+
".js"
;
var
t
=
setTimeout
(
b
,
12
e4
);
function
b
(){
r
.
onerror
=
r
.
onload
=
null
,
clearTimeout
(
t
);
var
c
=
f
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
r
.
onerror
=
r
.
onload
=
b
,
n
.
appendChild
(
r
),
a
},
d
.
m
=
e
,
d
.
c
=
a
,
d
.
d
=
function
(
e
,
c
,
a
){
d
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
d
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
c
,
"a"
,
c
),
c
},
d
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
d
.
p
=
"./"
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
!
function
(
e
){
var
c
=
window
.
webpackJsonp
;
window
.
webpackJsonp
=
function
(
a
,
n
,
r
){
for
(
var
t
,
b
,
o
,
i
=
0
,
u
=
[];
i
<
a
.
length
;
i
++
)
b
=
a
[
i
],
f
[
b
]
&&
u
.
push
(
f
[
b
][
0
]),
f
[
b
]
=
0
;
for
(
t
in
n
)
Object
.
prototype
.
hasOwnProperty
.
call
(
n
,
t
)
&&
(
e
[
t
]
=
n
[
t
]);
for
(
c
&&
c
(
a
,
n
,
r
);
u
.
length
;)
u
.
shift
()();
if
(
r
)
for
(
i
=
0
;
i
<
r
.
length
;
i
++
)
o
=
d
(
d
.
s
=
r
[
i
]);
return
o
};
var
a
=
{},
f
=
{
44
:
0
};
function
d
(
c
){
if
(
a
[
c
])
return
a
[
c
].
exports
;
var
f
=
a
[
c
]
=
{
i
:
c
,
l
:
!
1
,
exports
:{}};
return
e
[
c
].
call
(
f
.
exports
,
f
,
f
.
exports
,
d
),
f
.
l
=!
0
,
f
.
exports
}
d
.
e
=
function
(
e
){
var
c
=
f
[
e
];
if
(
0
===
c
)
return
new
Promise
(
function
(
e
){
e
()});
if
(
c
)
return
c
[
2
];
var
a
=
new
Promise
(
function
(
a
,
d
){
c
=
f
[
e
]
=
[
a
,
d
]});
c
[
2
]
=
a
;
var
n
=
document
.
getElementsByTagName
(
"head"
)[
0
],
r
=
document
.
createElement
(
"script"
);
r
.
type
=
"text/javascript"
,
r
.
charset
=
"utf-8"
,
r
.
async
=!
0
,
r
.
timeout
=
12
e4
,
d
.
nc
&&
r
.
setAttribute
(
"nonce"
,
d
.
nc
),
r
.
src
=
d
.
p
+
"static/js/"
+
e
+
"."
+
{
0
:
"eb0a4246ba12b2f19e2a"
,
1
:
"0ebe3ead93207dc78a78"
,
2
:
"a3034ac019ab3b076959"
,
3
:
"7f87f1f60c09bb6ad371"
,
4
:
"7dd9b3bb0689b9db1cf3"
,
5
:
"a59d9c23005287905ed6"
,
6
:
"fbd06ea78358b8144d70"
,
7
:
"fb9879c0177f64d093fb"
,
8
:
"d7aaadab295e16aa570e"
,
9
:
"325d932bbdd43400378c"
,
10
:
"4e361f7d71dc54b505c7"
,
11
:
"0bd61ccd1d48b103648d"
,
12
:
"083c2dea91ab829164ab"
,
13
:
"cd7e52c325cdc13a2368"
,
14
:
"c7093604e27c367303cf"
,
15
:
"bd12670087ac2b78bcd8"
,
16
:
"1524360dd522553f9835"
,
17
:
"2fcb22c1678bfb340c98"
,
18
:
"07d5abcfefbcf450eccc"
,
19
:
"dabaaf4b65f9f75c9a0d"
,
20
:
"f5dd0c36e2944f5fa78c"
,
21
:
"7faaa888e2db1aa1e5a3"
,
22
:
"e2b096ce6ec3d2f5b0d7"
,
23
:
"36f14084226b8d6bba02"
,
24
:
"da00208b59bc1152ea8c"
,
25
:
"e18d84688b21155beafe"
,
26
:
"bd139135ffeed7c3be5d"
,
27
:
"e85ffa7929197dc4609a"
,
28
:
"c75ca2dc62974c43903c"
,
29
:
"25c23e727c71fda1821b"
,
30
:
"5546948c939232668fc6"
,
31
:
"16358ad3a9085c551664"
,
32
:
"20338d6b658d38bf70dc"
,
33
:
"375e96e88f2f82b30e3c"
,
34
:
"57d4132e0ff6a5a8ac00"
,
35
:
"aed8a28b82487ff5f295"
,
36
:
"158063a49dabc462fe14"
,
37
:
"f30f4e653b1f9e708aaa"
,
38
:
"ac5ef7410309c861198f"
,
39
:
"3e612f993ddd107c14dd"
,
40
:
"f965564e0c6bf413d47f"
,
43
:
"13848f214bb993c20004"
}[
e
]
+
".js"
;
var
t
=
setTimeout
(
b
,
12
e4
);
function
b
(){
r
.
onerror
=
r
.
onload
=
null
,
clearTimeout
(
t
);
var
c
=
f
[
e
];
0
!==
c
&&
(
c
&&
c
[
1
](
new
Error
(
"Loading chunk "
+
e
+
" failed."
)),
f
[
e
]
=
void
0
)}
return
r
.
onerror
=
r
.
onload
=
b
,
n
.
appendChild
(
r
),
a
},
d
.
m
=
e
,
d
.
c
=
a
,
d
.
d
=
function
(
e
,
c
,
a
){
d
.
o
(
e
,
c
)
||
Object
.
defineProperty
(
e
,
c
,{
configurable
:
!
1
,
enumerable
:
!
0
,
get
:
a
})},
d
.
n
=
function
(
e
){
var
c
=
e
&&
e
.
__esModule
?
function
(){
return
e
.
default
}:
function
(){
return
e
};
return
d
.
d
(
c
,
"a"
,
c
),
c
},
d
.
o
=
function
(
e
,
c
){
return
Object
.
prototype
.
hasOwnProperty
.
call
(
e
,
c
)},
d
.
p
=
"./"
,
d
.
oe
=
function
(
e
){
throw
console
.
error
(
e
),
e
}}([]);
\ No newline at end of file
\ No newline at end of file
package.json
View file @
dd31bb4b
{
{
"name"
:
"
gicfront
"
,
"name"
:
"
gicfront
"
,
"version"
:
"1.0.
5
"
,
"version"
:
"1.0.
6
"
,
"description"
:
"A Vue.js project"
,
"description"
:
"A Vue.js project"
,
"author"
:
"haoban"
,
"author"
:
"haoban"
,
"private"
:
true
,
"private"
:
true
,
...
...
src/views/contacts/storeInfo.vue
View file @
dd31bb4b
...
@@ -409,11 +409,11 @@ export default {
...
@@ -409,11 +409,11 @@ export default {
that
.
storeInfo
.
managerPhone
=
that
.
storeInfo
.
managerPhone
;
that
.
storeInfo
.
managerPhone
=
that
.
storeInfo
.
managerPhone
;
that
.
storeInfo
.
areaChainName
=
that
.
areaChainName
;
that
.
storeInfo
.
areaChainName
=
that
.
areaChainName
;
let
params
=
that
.
storeInfo
;
let
params
=
that
.
storeInfo
;
/*
let imageUrls = [];
let
imageUrls
=
[];
that.
img
s.forEach(img => {
that
.
storeInfo
.
imageUrl
s
.
forEach
(
img
=>
{
imageUrls
.
push
(
img
.
url
);
imageUrls
.
push
(
img
.
url
);
});
*/
});
params
.
imageUrls
=
that
.
storeInfo
.
imageUrls
.
join
(
','
);
params
.
imageUrls
=
imageUrls
.
join
(
','
);
let
url
=
that
.
isNew
?
'/haoban-manage-web/store/insert'
:
'/haoban-manage-web/store/update'
;
let
url
=
that
.
isNew
?
'/haoban-manage-web/store/insert'
:
'/haoban-manage-web/store/update'
;
getRequest
(
url
,
params
)
getRequest
(
url
,
params
)
.
then
(
res
=>
{
.
then
(
res
=>
{
...
...
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