Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx-business
/
develop-platform
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 81db4cbc
authored
Nov 13, 2020
by
cwq0219
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
页面
1 parent
2a52333f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
src/views/systemConfig/personalInfo.vue
src/views/systemConfig/personalInfo.vue
View file @
81db4cb
...
...
@@ -13,7 +13,7 @@
<img
v-for=
"(subItem, subIndex) in formData[item.name]"
:key=
"subIndex"
:src=
"subItem"
:src=
"subItem
.mediaUrl
"
/>
</
template
>
<
template
v-else-if=
"Array.isArray(formData[item.name])"
>
...
...
@@ -64,7 +64,7 @@ export default {
name
:
'userType'
,
label
:
'商户分类'
},
{
name
:
'addr
ess
'
,
name
:
'addr'
,
label
:
'商户地址'
},
{
name
:
'phone'
,
...
...
@@ -77,9 +77,9 @@ export default {
label
:
'门店照片'
,
type
:
'photo'
},
{
name
:
'carBrandList'
,
label
:
'主营品牌'
,
attrName
:
'brandName'
name
:
'carBrandList
NoRepeat
'
,
label
:
'主营品牌'
//
attrName: 'brandName'
},
{
name
:
'mainBusiness'
,
label
:
'营业范围'
...
...
@@ -94,6 +94,8 @@ export default {
mounted
()
{
getUserInfo
({}).
then
(
res
=>
{
this
.
formData
=
res
.
detail
this
.
formData
.
addr
=
(
this
.
formData
.
provinceName
||
''
)
+
(
this
.
formData
.
cityName
||
''
)
+
(
this
.
formData
.
areaName
||
''
)
+
(
this
.
formData
.
address
||
''
)
this
.
formData
.
carBrandListNoRepeat
=
[...
new
Set
(
this
.
formData
.
carBrandList
.
map
(
item
=>
item
.
brandName
))]
})
},
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment