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 79d4df9d
authored
Nov 16, 2020
by
cwq0219
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
个人信息
1 parent
e7c6d4aa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
53 additions
and
38 deletions
src/views/systemConfig/personalInfo.vue
src/views/systemConfig/personalInfo.vue
View file @
79d4df9
...
@@ -3,38 +3,44 @@
...
@@ -3,38 +3,44 @@
<d2-container
class=
"personalInfo"
>
<d2-container
class=
"personalInfo"
>
<p
class=
"title"
>
个人信息
</p>
<p
class=
"title"
>
个人信息
</p>
<el-form>
<el-form>
<el-form-item
<template
v-for=
"(item, index) in (formData.userType === 1 ? userformList : formList)"
>
v-for=
"(item, index) in (formData.userType === 1 ? userformList : formList)"
<el-form-item
:key=
"index"
:key=
"index"
:label=
"item.label"
:label=
"item.label"
label-width=
"100px"
label-width=
"100px"
>
v-show=
"!item.hasOwnProperty('isDisabled') || formData[item.isDisabled]"
<template
v-if=
"item.type === 'photo'"
>
>
<img
<template
v-if=
"item.type === 'photo'"
>
class=
"info-img"
<img
v-for=
"(subItem, subIndex) in formData[item.name]"
class=
"info-img"
:key=
"subIndex"
v-for=
"(subItem, subIndex) in formData[item.name]"
:src=
"subItem.mediaUrl"
:key=
"subIndex"
/>
:src=
"subItem.mediaUrl"
</
template
>
/>
<
template
v-else-if=
"Array.isArray(formData[item.name])"
>
</
template
>
<el-tag
<
template
v-else-if=
"Array.isArray(formData[item.name])"
>
class=
"tag"
<el-tag
type=
"warning"
class=
"tag"
v-for=
"(subItem, subIndex) in formData[item.name]"
type=
"warning"
:key=
"subIndex"
v-for=
"(subItem, subIndex) in formData[item.name]"
>
{{
item
.
attrName
?
subItem
.
brandName
:
subItem
}}
</el-tag>
:key=
"subIndex"
</
template
>
>
{{
item
.
attrName
?
subItem
.
brandName
:
subItem
}}
</el-tag>
<span
v-else-if=
"item.parentName"
>
{{formData[item.parentName][item.name]}}
</span>
</
template
>
<span
v-else
>
{{formData[item.name]}}
</span>
<span
v-else-if=
"item.formatter"
>
{{item.formatter(formData)}}
</span>
</el-form-item>
<span
v-else-if=
"item.parentName"
>
{{formData[item.parentName][item.name]}}
</span>
<el-form-item
v-if=
"formData.userType !== 1"
>
<span
v-else
>
{{formData[item.name]}}
</span>
修改个人信息请到嘀加平台修改,点击快速修改
<a
</el-form-item>
class=
"info-link"
<el-form-item
href=
"http://dj.glsx.com.cn/web-dj-site/#/system/personallnfo"
v-if=
"formData.userType !== 1"
target=
"_blank"
:key=
"index"
>
http://dj.glsx.com.cn/web-dj-site/#/system/personallnfo
</a>
>
</el-form-item>
修改个人信息请到嘀加平台修改,点击快速修改
<a
class=
"info-link"
href=
"http://dj.glsx.com.cn/web-dj-site/#/system/personallnfo"
target=
"_blank"
>
http://dj.glsx.com.cn/web-dj-site/#/system/personallnfo
</a>
</el-form-item>
</template>
</el-form>
</el-form>
</d2-container>
</d2-container>
</template>
</template>
...
@@ -103,27 +109,36 @@ export default {
...
@@ -103,27 +109,36 @@ export default {
name
:
'merchantName'
,
name
:
'merchantName'
,
label
:
'所属商户'
label
:
'所属商户'
},
{
},
{
name
:
'shortName'
,
parentName
:
'role'
,
name
:
'name'
,
label
:
'角色权限'
label
:
'角色权限'
},
{
},
{
name
:
'userTypeName'
,
name
:
'isOpenCard'
,
label
:
'名片'
label
:
'名片'
,
formatter
:
(
cellValue
)
=>
{
return
cellValue
.
isOpenCard
?
'开通'
:
'未开通'
}
},
{
},
{
name
:
'duty'
,
name
:
'duty'
,
isDisabled
:
'isOpenCard'
,
label
:
'职务'
label
:
'职务'
},
{
},
{
name
:
'photoHead'
,
name
:
'photoHead'
,
label
:
'头像'
,
label
:
'头像'
,
isDisabled
:
'isOpenCard'
,
type
:
'photo'
type
:
'photo'
},
{
},
{
name
:
'phone'
,
name
:
'phone'
,
label
:
'电话'
label
:
'电话'
,
isDisabled
:
'isOpenCard'
},
{
},
{
name
:
'wechatNum'
,
name
:
'wechatNum'
,
label
:
'微信'
label
:
'微信'
,
isDisabled
:
'isOpenCard'
},
{
},
{
name
:
'userLabelListArr'
,
name
:
'userLabelListArr'
,
label
:
'标签'
label
:
'标签'
,
isDisabled
:
'isOpenCard'
}]
}]
}
}
},
},
...
...
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