Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
Project
Project
Details
Activity
Releases
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
黄媛媛
ElectricitySheep
Commits
3c183adb
Commit
3c183adb
authored
Mar 30, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
227c5ade
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
45 additions
and
29 deletions
+45
-29
seeDetail.vue
src/components/UserMan/components/seeDetail.vue
+44
-29
usersList.vue
src/components/UserMan/usersList.vue
+1
-0
No files found.
src/components/UserMan/components/seeDetail.vue
View file @
3c183adb
<
template
>
<div>
<el-form
label-width=
"1
0
0px"
>
<el-form
label-width=
"1
5
0px"
>
<div
v-for=
"(item, index) in detailList"
:key=
"index"
>
<el-form-item
:label=
"item.prop"
v-if=
"item.type == 1"
>
{{
data
[
item
.
field
]
}}
</el-form-item>
<el-form-item
:label=
"item.prop"
v-if=
"item.type == 1"
>
{{
data
[
item
.
field
]
}}
</el-form-item>
<el-form-item
:label=
"item.prop"
v-if=
"item.type == 4"
>
{{
data
[
item
.
field
]
}}
kg
</el-form-item>
<el-form-item
:label=
"item.prop"
v-if=
"item.type == 5"
>
{{
data
[
item
.
field
]
}}
cm
</el-form-item>
<el-form-item
:label=
"item.prop"
v-if=
"item.type == 6"
>
{{
data
.
PName
}}
-
{{
data
.
CName
}}
-
{{
data
.
DName
}}
</el-form-item>
<el-form-item
:label=
"item.prop"
v-if=
"item.type == 7"
>
{{
data
[
item
.
field
]
}}
w
</el-form-item>
<el-form-item
:label=
"item.prop"
v-if=
"item.type == 2"
>
<el-image
style=
"width: 200px; height: auto"
:src=
"data[item.field]"
:fit=
"fit"
></el-image>
</el-form-item>
<el-form-item
:label=
"item.prop"
v-if=
"item.type == 3"
class=
"imgList"
>
...
...
@@ -17,8 +30,9 @@
<el-image
style=
"width: 200px; height: auto"
:src=
"subItem"
:fit=
"fit"
></el-image>
<!-- :fit="fit"-->
</div>
</el-form-item>
</div>
...
...
@@ -37,29 +51,30 @@ export default {
//type:1.字符串,2.图片,3.数组
{
prop
:
"姓名:"
,
field
:
"RealName"
,
type
:
1
},
{
prop
:
"姓别:"
,
field
:
"SexStr"
,
type
:
1
},
{
prop
:
"
年龄:"
,
field
:
"Age"
,
type
:
1
},
{
prop
:
"
学历:"
,
field
:
"EducationType"
,
type
:
1
},
{
prop
:
"
体重:"
,
field
:
"Weight"
,
type
:
4
},
{
prop
:
"
身高:"
,
field
:
"Height"
,
type
:
5
},
{
prop
:
"出生日期:"
,
field
:
"Birthday"
,
type
:
1
},
{
prop
:
"生肖:"
,
field
:
"ShenXiao"
,
type
:
1
},
{
prop
:
"星座:"
,
field
:
"ConoldBaseInfostellation"
,
type
:
1
},
{
prop
:
"体重:"
,
field
:
"Weight"
,
type
:
1
},
{
prop
:
"身高:"
,
field
:
"Height"
,
type
:
1
},
{
prop
:
"籍贯:"
,
field
:
"NativePlace"
,
type
:
1
},
{
prop
:
"户口所在地:"
,
field
:
"HuKou"
,
type
:
1
},
{
prop
:
"身份证号:"
,
field
:
"IDCardNo"
,
type
:
1
},
{
prop
:
"身份证正面照:"
,
field
:
"IDCard"
,
type
:
2
},
{
prop
:
"身份证反面照:"
,
field
:
"IDCardBack"
,
type
:
2
},
{
prop
:
"毕业院校:"
,
field
:
"SchoolInfo"
,
type
:
1
},
{
prop
:
"专业:"
,
field
:
"MajorInfo"
,
type
:
1
},
{
prop
:
"职业:"
,
field
:
"Job"
,
type
:
1
},
{
prop
:
"年薪:"
,
field
:
"YearMoney"
,
type
:
1
},
{
prop
:
"房产信息:"
,
field
:
"HouseInfo"
,
type
:
1
},
{
prop
:
"车辆信息:"
,
field
:
"CarInfo"
,
type
:
1
},
{
prop
:
"母亲信息:"
,
field
:
"MotherInfo"
,
type
:
1
},
{
prop
:
"父亲信息:"
,
field
:
"FatherInfo"
,
type
:
1
},
{
prop
:
"其他家庭成员:"
,
field
:
"OtherPople"
,
type
:
1
},
{
prop
:
"爱情宣言:"
,
field
:
"IdealLove"
,
type
:
1
},
{
prop
:
"其它信息介绍:"
,
field
:
"About"
,
type
:
1
},
{
prop
:
"学历:"
,
field
:
"EducationTypeStr"
,
type
:
1
},
{
prop
:
"工资单位:"
,
field
:
"WorkUnit"
,
type
:
1
},
{
prop
:
"家庭背景:"
,
field
:
"FamilyInfo"
,
type
:
1
},
{
prop
:
"业余爱好:"
,
field
:
"Hobby"
,
type
:
1
},
{
prop
:
"喜欢的食物:"
,
field
:
"LikeFood"
,
type
:
1
},
{
prop
:
"籍贯:"
,
field
:
"NativePlace"
,
type
:
6
},
{
prop
:
"资产:"
,
field
:
"HouseInfo"
,
type
:
1
},
{
prop
:
"学校:"
,
field
:
"SchoolInfo"
,
type
:
1
},
{
prop
:
"年收入:"
,
field
:
"YearMoney"
,
type
:
7
},
{
prop
:
"工作:"
,
field
:
"Job"
,
type
:
1
},
{
prop
:
"喜欢的书:"
,
field
:
"LikeBook"
,
type
:
1
},
{
prop
:
"喜欢的电影和电视剧:"
,
field
:
"LikeTV"
,
type
:
1
},
{
prop
:
"喜欢的情歌:"
,
field
:
"LikeSong"
,
type
:
1
},
{
prop
:
"欣赏哪对名人的爱情,原因是什么"
,
field
:
"IdealLove"
,
type
:
1
},
{
prop
:
"情话:"
,
field
:
"LoveTalk"
,
type
:
1
},
{
prop
:
"关于他:"
,
field
:
"About"
,
type
:
1
},
{
prop
:
"单身原因"
,
field
:
"SingleReason"
,
type
:
1
},
{
prop
:
"希望您是"
,
field
:
"HopeYou"
,
type
:
1
},
{
prop
:
"约会时间"
,
field
:
"Appointment"
,
type
:
1
},
{
prop
:
"约会地点"
,
field
:
"AppointmentAddress"
,
type
:
1
},
{
prop
:
"照片墙:"
,
field
:
"AlbumList"
,
type
:
3
},
],
};
...
...
@@ -73,4 +88,4 @@ export default {
display
:
flex
;
flex-wrap
:
wrap
;
}
</
style
>
\ No newline at end of file
</
style
>
src/components/UserMan/usersList.vue
View file @
3c183adb
...
...
@@ -705,6 +705,7 @@ export default {
console
.
log
(
res
);
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
detailData
=
res
.
data
.
data
;
this
.
detailData
.
RealName
=
row
.
Name
this
.
detailShow
=
true
}
else
{
this
.
$message
({
...
...
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