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
9699efa8
Commit
9699efa8
authored
Apr 19, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
e671a579
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
69 additions
and
6 deletions
+69
-6
addblindDateuser.vue
src/components/UserMan/addblindDateuser.vue
+32
-0
blindDateUsersListEdit.vue
src/components/UserMan/blindDateUsersListEdit.vue
+37
-6
No files found.
src/components/UserMan/addblindDateuser.vue
View file @
9699efa8
...
...
@@ -92,6 +92,23 @@
<
template
slot=
"append"
>
万
</
template
>
</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!=''"
alt=
""
>
<img
src=
"../../assets/img/default.png"
style=
"width:80px;height:80px"
alt=
""
v-if=
"addMsg.IDCard==''"
>
</div>
</el-form-item>
<el-form-item
label=
"身份证反面"
size=
"small"
>
<el-button
@
click=
"openChangeDig(4)"
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.IDCardBack"
v-if=
"addMsg.IDCardBack!=''"
alt=
""
>
<img
src=
"../../assets/img/default.png"
style=
"width:80px;height:80px"
alt=
""
v-if=
"addMsg.IDCardBack==''"
>
</div>
</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
>
...
...
@@ -109,6 +126,9 @@
<el-form-item
label=
"关于自己"
>
<el-input
v-model=
"addMsg.About"
style=
"width:478px"
size=
"small"
placeholder=
"请输入关于自己"
type=
"textarea"
></el-input>
</el-form-item>
<el-form-item
label=
"活动范围"
>
<el-input
v-model=
"addMsg.ActivityRegion"
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"
></el-input>
</el-form-item>
...
...
@@ -210,6 +230,10 @@
FamilyInfo
:
''
,
//家庭背景
IDCardNo
:
''
,
ActivityRegion
:
''
,
//活动区域
IDCard
:
''
,
IDCardBack
:
''
,
Hobby
:
''
,
LikeFood
:
''
,
LikeBook
:
''
,
...
...
@@ -402,6 +426,14 @@
this
.
addMsg
.
AlbumList
.
push
(
that
.
getIconLink
(
item
.
url
));
})
}
if
(
this
.
imgType
==
3
){
let
url
=
this
.
getIconLink
(
msg
.
url
)
this
.
addMsg
.
IDCard
=
url
}
if
(
this
.
imgType
==
4
){
let
url
=
this
.
getIconLink
(
msg
.
url
)
this
.
addMsg
.
IDCardBack
=
url
}
this
.
changeState
=
false
;
},
...
...
src/components/UserMan/blindDateUsersListEdit.vue
View file @
9699efa8
...
...
@@ -105,6 +105,22 @@
<
template
slot=
"append"
>
万
</
template
>
</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!=''"
alt=
""
>
<img
src=
"../../assets/img/default.png"
style=
"width:80px;height:80px"
alt=
""
v-if=
"addMsg.IDCard==''"
>
</div>
</el-form-item>
<el-form-item
label=
"身份证反面"
size=
"small"
>
<el-button
@
click=
"openChangeDig(4)"
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.IDCardBack"
v-if=
"addMsg.IDCardBack!=''"
alt=
""
>
<img
src=
"../../assets/img/default.png"
style=
"width:80px;height:80px"
alt=
""
v-if=
"addMsg.IDCardBack==''"
>
</div>
</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
>
...
...
@@ -122,6 +138,9 @@
<el-form-item
label=
"关于自己"
>
<el-input
v-model=
"addMsg.About"
style=
"width:478px"
size=
"small"
placeholder=
"请输入关于自己"
type=
"textarea"
></el-input>
</el-form-item>
<el-form-item
label=
"活动范围"
>
<el-input
v-model=
"addMsg.ActivityRegion"
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"
></el-input>
</el-form-item>
...
...
@@ -178,7 +197,7 @@
</div>
<!-- 选择文件 -->
<el-dialog
title=
"选择文件"
:visible
.
sync=
"changeState"
width=
"1240px"
>
<ChooseImg
@
SelectId=
"SelectId"
:IsMultiple=
"
tru
e"
></ChooseImg>
<ChooseImg
@
SelectId=
"SelectId"
:IsMultiple=
"
imgType==2?true:fals
e"
></ChooseImg>
</el-dialog>
</div>
</template>
...
...
@@ -347,17 +366,29 @@
querySearch
(
queryString
,
cb
)
{
},
openChangeDig
()
{
openChangeDig
(
num
)
{
this
.
changeState
=
true
;
this
.
imgType
=
num
;
},
SelectId
(
msg
){
if
(
this
.
imgType
==
2
){
let
that
=
this
;
msg
.
forEach
(
item
=>
{
this
.
addMsg
.
AlbumList
.
push
(
that
.
getIconLink
(
item
.
url
));
})
}
if
(
this
.
imgType
==
3
){
let
url
=
this
.
getIconLink
(
msg
.
url
)
this
.
addMsg
.
IDCard
=
url
}
if
(
this
.
imgType
==
4
){
let
url
=
this
.
getIconLink
(
msg
.
url
)
this
.
addMsg
.
IDCardBack
=
url
}
let
that
=
this
;
msg
.
forEach
(
item
=>
{
this
.
addMsg
.
AlbumList
.
push
(
that
.
getIconLink
(
item
.
url
));
})
this
.
changeState
=
false
;
},
goUrl
()
{
...
...
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