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
6338f311
Commit
6338f311
authored
May 13, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
相亲字段修改
parent
5e0e8775
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
101 additions
and
47 deletions
+101
-47
addblindDateuser.vue
src/components/UserMan/addblindDateuser.vue
+41
-23
blindDateUsersListEdit.vue
src/components/UserMan/blindDateUsersListEdit.vue
+44
-9
seeDetail.vue
src/components/UserMan/components/seeDetail.vue
+16
-15
No files found.
src/components/UserMan/addblindDateuser.vue
View file @
6338f311
...
...
@@ -4,7 +4,7 @@
<span
@
click=
"goUrl"
class=
"blue point"
>
用户管理
</span>
/ 用户编辑
</div>
<div
class=
"content"
>
<el-form
:model=
"addMsg"
:rules=
"rules"
ref=
"addMsg"
label-width=
"1
5
0px"
>
<el-form
:model=
"addMsg"
:rules=
"rules"
ref=
"addMsg"
label-width=
"1
8
0px"
>
<el-form-item
label=
"用户头像"
class=
"is-required"
size=
"small"
prop=
"Photo"
>
<el-button
@
click=
"openChangeDig(1)"
size=
"small"
>
选择文件
</el-button>
...
...
@@ -95,12 +95,18 @@
<
template
slot=
"append"
>
万
</
template
>
</el-input>
</el-form-item>
<el-form-item
label=
"
个人定位
"
>
<el-form-item
label=
"
现居地
"
>
<el-cascader
v-model=
"position2"
@
change=
"gejigguan2"
:placeholder=
"addressName2"
:options=
"provinceList"
@
active-item-change=
"handleItemChange"
:props=
"props"
style=
"width: 478px"
></el-cascader>
</el-form-item>
<el-form-item
label=
"真实姓名"
>
<el-input
v-model=
"addMsg.RealName"
style=
"width:478px"
size=
"small"
:min=
"0"
type=
"text"
placeholder=
"请输入真实姓名"
></el-input>
</el-form-item>
<el-form-item
label=
"身份证号"
>
<el-input
v-model=
"addMsg.IDCardNo"
style=
"width:478px"
size=
"small"
:min=
"0"
type=
"number"
placeholder=
"请输入身份证号"
></el-input>
</el-form-item>
<el-form-item
label=
"身份证正面"
size=
"small"
>
<!-- <el-form-item label="身份证正面" size="small" >
<el-button @click="openChangeDig(3)" size="small">选择文件</el-button>
<div class="app-gallery-item" style="position: relative;width: 100px;margin-top: 10px;">
<img style="width:80px;height:80px" :src="addMsg.IDCard" v-if="addMsg.IDCard!=''"
...
...
@@ -115,7 +121,7 @@
alt="">
<img src="../../assets/img/default.png" style="width:80px;height:80px" alt="" v-if="addMsg.IDCardBack==''">
</div>
</el-form-item>
</el-form-item>
-->
<!-- <el-form-item label="资产" >-->
<!-- <el-input v-model="addMsg.OtherInfo" style="width:478px" size="small" :min="0" type="number" placeholder="请输入总资产">-->
...
...
@@ -134,7 +140,10 @@
<el-form-item
label=
"籍贯"
>
<el-cascader
v-model=
"position"
@
change=
"gejigguan"
:placeholder=
"addressName"
:options=
"provinceList"
@
active-item-change=
"handleItemChange"
:props=
"props"
style=
"width: 478px"
></el-cascader>
</el-form-item>
<el-form-item
label=
"关于自己"
>
<el-form-item
label=
"自我描述"
>
<el-input
v-model=
"addMsg.About"
maxlength=
"500"
show-word-limit
style=
"width:478px"
size=
"small"
placeholder=
"请输入关于自己"
type=
"textarea"
></el-input>
</el-form-item>
...
...
@@ -144,31 +153,41 @@
<el-form-item
label=
"业余爱好"
>
<el-input
v-model=
"addMsg.Hobby"
style=
"width:478px"
size=
"small"
placeholder=
"请输入业余爱好"
type=
"textarea"
maxlength=
"500"
show-word-limit
></el-input>
</el-form-item>
<el-form-item
label=
"喜欢的食物"
>
<el-input
v-model=
"addMsg.LikeFood"
style=
"width:478px"
size=
"small"
placeholder=
"请输入喜欢的食物"
type=
"textarea"
maxlength=
"500"
show-word-limit
></el-input>
<el-form-item
label=
"曾经旅游过的地方"
>
<el-input
v-model=
"addMsg.ActivityRegion"
style=
"width:478px"
size=
"small"
placeholder=
"请输入曾经旅游过的地方"
type=
"textarea"
maxlength=
"500"
show-word-limit
></el-input>
</el-form-item>
<el-form-item
label=
"理想的另一半是什么样的"
>
<el-input
v-model=
"addMsg.HopeYou"
style=
"width:478px"
size=
"small"
placeholder=
"希望心中的TA是一个什么样的人"
type=
"textarea"
maxlength=
"500"
show-word-limit
></el-input>
</el-form-item>
<el-form-item
label=
"喜欢的书
"
>
<el-input
v-model=
"addMsg.
LikeBook"
style=
"width:478px"
size=
"small"
placeholder=
"请输入喜欢的书
"
type=
"textarea"
maxlength=
"500"
show-word-limit
></el-input>
<el-form-item
label=
"期待的未来生活是怎样的
"
>
<el-input
v-model=
"addMsg.
OtherInfo"
style=
"width:478px"
size=
"small"
placeholder=
"希望心中的TA是一个什么样的人
"
type=
"textarea"
maxlength=
"500"
show-word-limit
></el-input>
</el-form-item>
<el-form-item
label=
"喜欢的电影和电视剧"
>
<el-input
v-model=
"addMsg.LikeTV"
style=
"width:478px"
size=
"small"
placeholder=
"请输入喜欢的电影和电视剧"
type=
"textarea"
maxlength=
"500"
show-word-limit
></el-input>
<el-form-item
label=
"最喜欢的一本书及原因"
>
<el-input
v-model=
"addMsg.LikeBook"
style=
"width:478px"
size=
"small"
placeholder=
"请输入最喜欢的一本书及原因"
type=
"textarea"
maxlength=
"500"
show-word-limit
></el-input>
</el-form-item>
<el-form-item
label=
"最喜欢的电影及原因"
>
<el-input
v-model=
"addMsg.LikeTV"
style=
"width:478px"
size=
"small"
placeholder=
"请输入最喜欢的电影及原因"
type=
"textarea"
maxlength=
"500"
show-word-limit
></el-input>
</el-form-item>
<el-form-item
label=
"欣赏爱情"
>
<el-input
v-model=
"addMsg.IdealLove"
style=
"width:478px"
size=
"small"
placeholder=
"请输入欣赏哪对名人的爱情,原因是什么"
type=
"textarea"
maxlength=
"500"
show-word-limit
></el-input>
</el-form-item>
<el-form-item
label=
"喜欢的情歌"
>
<!-- <el-form-item label="喜欢的食物" >
<el-input v-model="addMsg.LikeFood" style="width:478px" size="small" placeholder="请输入喜欢的食物" type="textarea" maxlength="500" show-word-limit></el-input>
</el-form-item> -->
<!-- <el-form-item label="喜欢的情歌" >
<el-input v-model="addMsg.LikeSong" style="width:478px" size="small" placeholder="请输入喜欢的情歌" type="textarea" maxlength="500" show-word-limit></el-input>
</el-form-item>
<el-form-item label="听过最美的情话" >
<el-input v-model="addMsg.LoveTalk" style="width:478px" size="small" placeholder="请输入听过最美的情话" type="textarea" maxlength="500" show-word-limit></el-input>
</el-form-item>
<el-form-item
label=
"欣赏爱情"
>
<el-input
v-model=
"addMsg.IdealLove"
style=
"width:478px"
size=
"small"
placeholder=
"请输入欣赏哪对名人的爱情,原因是什么"
type=
"textarea"
maxlength=
"500"
show-word-limit
></el-input>
</el-form-item>
<el-form-item label="单身原因" >
<el-input v-model="addMsg.SingleReason" style="width:478px" size="small" placeholder="请输入单身原因" type="textarea" maxlength="500" show-word-limit></el-input>
</el-form-item>
<el-form-item
label=
"希望的TA是..."
>
<el-input
v-model=
"addMsg.HopeYou"
style=
"width:478px"
size=
"small"
placeholder=
"希望心中的TA是一个什么样的人"
type=
"textarea"
maxlength=
"500"
show-word-limit
></el-input>
</el-form-item>
</el-form-item> -->
<!-- <el-form-item label="约会时间" >
<el-date-picker
v-model="addMsg.Appointment"
...
...
@@ -180,9 +199,7 @@
<el-form-item label="约会地点" >
<el-input v-model="addMsg.AppointmentAddress" style="width:478px" size="small" placeholder="请输入约会地点" ></el-input>
</el-form-item> -->
<el-form-item
label=
"活动范围"
>
<el-input
v-model=
"addMsg.ActivityRegion"
style=
"width:478px"
size=
"small"
placeholder=
"请输入活动范围"
type=
"textarea"
maxlength=
"500"
show-word-limit
></el-input>
</el-form-item>
<el-form-item
label=
"发帖权利"
>
<el-radio
v-model=
"addMsg.IsFaTie"
:label=
"1"
>
开启
</el-radio>
<el-radio
v-model=
"addMsg.IsFaTie"
:label=
"0"
>
关闭
</el-radio>
...
...
@@ -249,6 +266,7 @@
FamilyInfo
:
''
,
//家庭背景
RealName
:
''
,
IDCardNo
:
''
,
ActivityRegion
:
''
,
//活动区域
IDCard
:
''
,
...
...
src/components/UserMan/blindDateUsersListEdit.vue
View file @
6338f311
...
...
@@ -4,7 +4,7 @@
<span
@
click=
"goUrl"
class=
"blue point"
>
用户管理
</span>
/ 用户编辑
</div>
<div
class=
"content"
>
<el-form
:model=
"addMsg"
:rules=
"rules"
ref=
"addMsg"
label-width=
"1
5
0px"
>
<el-form
:model=
"addMsg"
:rules=
"rules"
ref=
"addMsg"
label-width=
"1
8
0px"
>
<el-form-item
label=
"用户"
>
<el-button
@
click=
"openChangeDig(1)"
size=
"small"
>
选择文件
</el-button>
<div
class=
"app-image"
:style=
"
{backgroundImage:'url(' + addMsg.Photo + ')',backgroundSize:'cover'}" v-if="addMsg.Photo!=''">
</div>
...
...
@@ -111,10 +111,16 @@
<
template
slot=
"append"
>
万
</
template
>
</el-input>
</el-form-item>
<el-form-item
label=
"
个人定位
"
>
<el-form-item
label=
"
现据地
"
>
<el-cascader
v-model=
"position2"
@
change=
"gejigguan2"
:placeholder=
"addressName2"
:options=
"provinceList"
@
active-item-change=
"handleItemChange"
:props=
"props"
style=
"width: 478px"
></el-cascader>
</el-form-item>
<el-form-item
label=
"身份证正面"
size=
"small"
>
<el-form-item
label=
"真实姓名"
>
<el-input
v-model=
"addMsg.RealName"
style=
"width:478px"
size=
"small"
:min=
"0"
type=
"text"
placeholder=
"请输入真实姓名"
></el-input>
</el-form-item>
<el-form-item
label=
"身份证号"
>
<el-input
v-model=
"addMsg.IDCardNo"
style=
"width:478px"
size=
"small"
:min=
"0"
type=
"number"
placeholder=
"请输入身份证号"
></el-input>
</el-form-item>
<!-- <el-form-item label="身份证正面" size="small" >
<el-button @click="openChangeDig(3)" size="small">选择文件</el-button>
<div class="app-gallery-item" style="position: relative;width: 100px;margin-top: 10px;">
<img style="width:80px;height:80px" :src="addMsg.IDCard" v-if="addMsg.IDCard!=''"
...
...
@@ -129,7 +135,7 @@
alt="">
<img src="../../assets/img/default.png" style="width:80px;height:80px" alt="" v-if="addMsg.IDCardBack==''">
</div>
</el-form-item>
</el-form-item>
-->
<!-- <el-form-item label="资产" >-->
<!-- <el-input v-model="addMsg.OtherInfo" style="width:478px" size="small" :min="0" type="number" placeholder="请输入总资产">-->
<!-- <template slot="append">万</template>-->
...
...
@@ -147,7 +153,38 @@
<el-form-item
label=
"籍贯"
>
<el-cascader
v-model=
"position"
@
change=
"gejigguan"
:placeholder=
"addressName"
:options=
"provinceList"
@
active-item-change=
"handleItemChange"
:props=
"props"
style=
"width: 478px"
></el-cascader>
</el-form-item>
<el-form-item
label=
"关于自己"
>
<el-form-item
label=
"自我描述"
>
<el-input
v-model=
"addMsg.About"
maxlength=
"500"
show-word-limit
style=
"width:478px"
size=
"small"
placeholder=
"请输入关于自己"
type=
"textarea"
></el-input>
</el-form-item>
<el-form-item
label=
"家庭背景"
>
<el-input
v-model=
"addMsg.FamilyInfo"
style=
"width:478px"
size=
"small"
placeholder=
"请输入家庭背景"
type=
"textarea"
maxlength=
"500"
show-word-limit
></el-input>
</el-form-item>
<el-form-item
label=
"业余爱好"
>
<el-input
v-model=
"addMsg.Hobby"
style=
"width:478px"
size=
"small"
placeholder=
"请输入业余爱好"
type=
"textarea"
maxlength=
"500"
show-word-limit
></el-input>
</el-form-item>
<el-form-item
label=
"曾经旅游过的地方"
>
<el-input
v-model=
"addMsg.ActivityRegion"
style=
"width:478px"
size=
"small"
placeholder=
"请输入曾经旅游过的地方"
type=
"textarea"
maxlength=
"500"
show-word-limit
></el-input>
</el-form-item>
<el-form-item
label=
"理想的另一半是什么样的"
>
<el-input
v-model=
"addMsg.HopeYou"
style=
"width:478px"
size=
"small"
placeholder=
"希望心中的TA是一个什么样的人"
type=
"textarea"
maxlength=
"500"
show-word-limit
></el-input>
</el-form-item>
<el-form-item
label=
"期待的未来生活是怎样的"
>
<el-input
v-model=
"addMsg.OtherInfo"
style=
"width:478px"
size=
"small"
placeholder=
"希望心中的TA是一个什么样的人"
type=
"textarea"
maxlength=
"500"
show-word-limit
></el-input>
</el-form-item>
<el-form-item
label=
"最喜欢的一本书及原因"
>
<el-input
v-model=
"addMsg.LikeBook"
style=
"width:478px"
size=
"small"
placeholder=
"请输入最喜欢的一本书及原因"
type=
"textarea"
maxlength=
"500"
show-word-limit
></el-input>
</el-form-item>
<el-form-item
label=
"最喜欢的电影及原因"
>
<el-input
v-model=
"addMsg.LikeTV"
style=
"width:478px"
size=
"small"
placeholder=
"请输入最喜欢的电影及原因"
type=
"textarea"
maxlength=
"500"
show-word-limit
></el-input>
</el-form-item>
<el-form-item
label=
"欣赏爱情"
>
<el-input
v-model=
"addMsg.IdealLove"
style=
"width:478px"
size=
"small"
placeholder=
"请输入欣赏哪对名人的爱情,原因是什么"
type=
"textarea"
maxlength=
"500"
show-word-limit
></el-input>
</el-form-item>
<!-- <el-form-item label="关于自己" >
<el-input v-model="addMsg.About" style="width:478px" size="small" placeholder="请输入关于自己" type="textarea" maxlength="500" show-word-limit></el-input>
</el-form-item>
...
...
@@ -181,7 +218,7 @@
</el-form-item>
<el-form-item label="希望的TA是..." >
<el-input v-model="addMsg.HopeYou" style="width:478px" size="small" placeholder="希望心中的TA是一个什么样的人" type="textarea" maxlength="500" show-word-limit></el-input>
</el-form-item>
</el-form-item>
-->
<!-- <el-form-item label="约会时间" >
<el-date-picker
v-model="addMsg.Appointment"
...
...
@@ -193,9 +230,7 @@
<el-form-item label="约会地点" >
<el-input v-model="addMsg.AppointmentAddress" style="width:478px" size="small" placeholder="请输入约会地点" ></el-input>
</el-form-item> -->
<el-form-item
label=
"活动范围"
>
<el-input
v-model=
"addMsg.ActivityRegion"
style=
"width:478px"
size=
"small"
placeholder=
"请输入活动范围"
type=
"textarea"
maxlength=
"500"
show-word-limit
></el-input>
</el-form-item>
<el-form-item
label=
"发帖权利"
v-if=
"addMsg.BaseInfoId>0"
>
<el-radio
v-model=
"addMsg.IsFaTie"
:label=
"1"
>
开启
</el-radio>
<el-radio
v-model=
"addMsg.IsFaTie"
:label=
"0"
>
关闭
</el-radio>
...
...
src/components/UserMan/components/seeDetail.vue
View file @
6338f311
<
template
>
<div
class=
"seeDetail"
>
<el-form
label-width=
"1
5
0px"
>
<el-form
label-width=
"1
8
0px"
>
<div
v-for=
"(item, index) in detailList"
:key=
"index"
>
<el-form-item
:label=
"item.prop"
v-if=
"item.type == 1"
>
{{
data
[
item
.
field
]
!=
''
?
data
[
item
.
field
]:
'无'
}}
...
...
@@ -73,25 +73,26 @@ export default {
{
prop
:
"工作单位:"
,
field
:
"WorkUnit"
,
type
:
1
},
{
prop
:
"职位:"
,
field
:
"Job"
,
type
:
1
},
{
prop
:
"籍贯:"
,
field
:
"NativePlace"
,
type
:
6
},
{
prop
:
"自我介绍:"
,
field
:
"About"
,
type
:
1
},
{
prop
:
"真实姓名"
,
field
:
"RealName"
,
type
:
1
},
{
prop
:
"身份证号:"
,
field
:
"IDCardNo"
,
type
:
1
},
{
prop
:
"自我描述:"
,
field
:
"About"
,
type
:
1
},
{
prop
:
"家庭背景:"
,
field
:
"FamilyInfo"
,
type
:
1
},
{
prop
:
"业余爱好:"
,
field
:
"Hobby"
,
type
:
1
},
{
prop
:
"兴趣爱好:"
,
field
:
"Hobby"
,
type
:
1
},
{
prop
:
"曾经旅游过的地方:"
,
field
:
"ActivityRegion"
,
type
:
1
},
{
prop
:
"理想的另一半是什么样的:"
,
field
:
"HopeYou"
,
type
:
1
},
{
prop
:
"期待的未来生活是怎样的:"
,
field
:
"OtherInfo"
,
type
:
1
},
{
prop
:
"最喜欢的一本书及原因:"
,
field
:
"LikeBook"
,
type
:
1
},
{
prop
:
"最喜欢的电影及原因:"
,
field
:
"LikeTV"
,
type
:
1
},
{
prop
:
"喜欢的食物:"
,
field
:
"LikeFood"
,
type
:
1
},
{
prop
:
"欣赏的名人爱情及原因:"
,
field
:
"IdealLove"
,
type
:
1
},
// { prop: "资产:", field: "HouseInfo", type: 1 },
{
prop
:
"活动区域:"
,
field
:
"ActivityRegion"
,
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
:
"SingleReason"
,
type
:
1
},
{
prop
:
"希望的TA是:"
,
field
:
"HopeYou"
,
type
:
1
},
// { prop: "喜欢的情歌:", field: "LikeSong", type: 1 },
// { prop: "情话:", field: "LoveTalk", type: 1 },
// { prop: "单身原因:", field: "SingleReason", type: 1 },
// { prop: "约会时间:", field: "Appointment", type: 1 },
// { prop: "约会地址:", field: "AppointmentAddress", type: 1 },
{
prop
:
"身份证正面:"
,
field
:
"IDCard"
,
type
:
2
},
{
prop
:
"身份证反面:"
,
field
:
"IDCardBack"
,
type
:
2
},
{
prop
:
"照片墙:"
,
field
:
"AlbumList"
,
type
:
3
},
],
};
...
...
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