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
70b51888
Commit
70b51888
authored
Apr 26, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
46edf94e
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
563 additions
and
361 deletions
+563
-361
addblindDateuser.vue
src/components/UserMan/addblindDateuser.vue
+7
-3
blindDateUsersList.vue
src/components/UserMan/blindDateUsersList.vue
+548
-354
blindDateUsersListEdit.vue
src/components/UserMan/blindDateUsersListEdit.vue
+6
-2
seeDetail.vue
src/components/UserMan/components/seeDetail.vue
+2
-2
No files found.
src/components/UserMan/addblindDateuser.vue
View file @
70b51888
...
@@ -161,7 +161,7 @@
...
@@ -161,7 +161,7 @@
<el-form-item
label=
"希望的TA是..."
>
<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-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-form-item label="约会时间" >
<el-date-picker
<el-date-picker
v-model="addMsg.Appointment"
v-model="addMsg.Appointment"
type="datetime"
type="datetime"
...
@@ -171,10 +171,14 @@
...
@@ -171,10 +171,14 @@
</el-form-item>
</el-form-item>
<el-form-item label="约会地点" >
<el-form-item label="约会地点" >
<el-input v-model="addMsg.AppointmentAddress" style="width:478px" size="small" placeholder="请输入约会地点" ></el-input>
<el-input v-model="addMsg.AppointmentAddress" style="width:478px" size="small" placeholder="请输入约会地点" ></el-input>
</el-form-item>
</el-form-item>
-->
<el-form-item
label=
"活动范围"
>
<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-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>
<el-form-item
label=
"发帖权利"
>
<el-radio
v-model=
"addMsg.IsFaTie"
:label=
"1"
>
开启
</el-radio>
<el-radio
v-model=
"addMsg.IsFaTie"
:label=
"0"
>
关闭
</el-radio>
</el-form-item>
...
@@ -213,7 +217,7 @@
...
@@ -213,7 +217,7 @@
UserPageType
:
0
,
UserPageType
:
0
,
CounponPassword
:
0
,
CounponPassword
:
0
,
KeyWord
:
''
,
KeyWord
:
''
,
IsFaTie
:
0
,
Sex
:
'1'
,
Sex
:
'1'
,
Weight
:
0
,
Weight
:
0
,
Height
:
0
,
Height
:
0
,
...
...
src/components/UserMan/blindDateUsersList.vue
View file @
70b51888
...
@@ -17,13 +17,27 @@
...
@@ -17,13 +17,27 @@
type=
"primary"
type=
"primary"
>
新增
>
新增
</el-button>
</el-button>
<el-button
@
click=
"quanxian(0)"
style=
"float: right; margin-top: -5px; margin-right: 10px"
size=
"small"
type=
"primary"
>
发布权限关闭
</el-button>
<el-button
@
click=
"quanxian(1)"
style=
"float: right; margin-top: -5px; margin-right: 10px"
size=
"small"
type=
"primary"
>
发布权限开启
</el-button>
</div>
</div>
<div
class=
"content"
>
<div
class=
"content"
>
<div
style=
"display: flex;
align-items: center;
flex-wrap: wrap"
>
<div
style=
"display: flex;
align-items: center;
flex-wrap: wrap"
>
<el-select
<el-select
class=
"w100"
class=
"w100"
@
change=
"(msg.pageIndex = 1), getList()"
@
change=
"(msg.pageIndex = 1), getList()"
style=
"margin-right: 10px;margin-bottom: 10px"
style=
"margin-right: 10px;
margin-bottom: 10px"
v-model=
"msg.MemberGrade"
v-model=
"msg.MemberGrade"
size=
"small"
size=
"small"
placeholder=
"请选择"
placeholder=
"请选择"
...
@@ -40,7 +54,7 @@
...
@@ -40,7 +54,7 @@
<el-select
<el-select
class=
"w100"
class=
"w100"
@
change=
"(msg.pageIndex = 1), getList()"
@
change=
"(msg.pageIndex = 1), getList()"
style=
"margin-right: 10px;margin-bottom: 10px"
style=
"margin-right: 10px;
margin-bottom: 10px"
v-model=
"msg.Source"
v-model=
"msg.Source"
size=
"small"
size=
"small"
placeholder=
"请选择"
placeholder=
"请选择"
...
@@ -123,7 +137,7 @@
...
@@ -123,7 +137,7 @@
<el-date-picker
<el-date-picker
v-model=
"dateList"
v-model=
"dateList"
@
change=
"(msg.pageIndex = 1), getList()"
@
change=
"(msg.pageIndex = 1), getList()"
style=
"margin-bottom: 10px;margin-right: 20px"
style=
"margin-bottom: 10px;
margin-right: 20px"
size=
"small"
size=
"small"
type=
"datetimerange"
type=
"datetimerange"
range-separator=
"至"
range-separator=
"至"
...
@@ -132,7 +146,14 @@
...
@@ -132,7 +146,14 @@
end-placeholder=
"结束日期"
end-placeholder=
"结束日期"
>
>
</el-date-picker>
</el-date-picker>
<div
style=
"display: flex;align-items: center;margin-bottom: 10px;margin-right: 20px"
>
<div
style=
"
display: flex;
align-items: center;
margin-bottom: 10px;
margin-right: 20px;
"
>
<span
style=
"margin-right: 5px"
>
学历
</span>
<span
style=
"margin-right: 5px"
>
学历
</span>
<el-select
<el-select
class=
"w100"
class=
"w100"
...
@@ -152,7 +173,14 @@
...
@@ -152,7 +173,14 @@
</el-option>
</el-option>
</el-select>
</el-select>
</div>
</div>
<div
style=
"display: flex;align-items: center;margin-bottom: 10px;margin-right: 20px"
>
<div
style=
"
display: flex;
align-items: center;
margin-bottom: 10px;
margin-right: 20px;
"
>
<span
style=
"margin-right: 5px"
>
婚姻
</span>
<span
style=
"margin-right: 5px"
>
婚姻
</span>
<el-select
<el-select
class=
"w100"
class=
"w100"
...
@@ -172,7 +200,14 @@
...
@@ -172,7 +200,14 @@
</el-option>
</el-option>
</el-select>
</el-select>
</div>
</div>
<div
style=
"display: flex;align-items: center;margin-bottom: 10px;margin-right: 20px"
>
<div
style=
"
display: flex;
align-items: center;
margin-bottom: 10px;
margin-right: 20px;
"
>
<span
style=
"margin-right: 5px"
>
房产
</span>
<span
style=
"margin-right: 5px"
>
房产
</span>
<el-select
<el-select
class=
"w100"
class=
"w100"
...
@@ -192,7 +227,14 @@
...
@@ -192,7 +227,14 @@
</el-option>
</el-option>
</el-select>
</el-select>
</div>
</div>
<div
style=
"display: flex;align-items: center;margin-bottom: 10px;margin-right: 20px"
>
<div
style=
"
display: flex;
align-items: center;
margin-bottom: 10px;
margin-right: 20px;
"
>
<span
style=
"margin-right: 5px"
>
车产
</span>
<span
style=
"margin-right: 5px"
>
车产
</span>
<el-select
<el-select
class=
"w100"
class=
"w100"
...
@@ -213,44 +255,52 @@
...
@@ -213,44 +255,52 @@
</el-select>
</el-select>
</div>
</div>
</div>
</div>
<div
style=
"margin-top: 10px;display: flex;flex-wrap: wrap"
>
<div
style=
"margin-top: 10px; display: flex; flex-wrap: wrap"
>
<div
style=
"display: flex;align-items: center"
>
年龄
{{
ages
[
0
]
}}
-
{{
ages
[
1
]
}}
岁
<div
style=
"display: flex; align-items: center"
>
<div
class=
"block"
style=
"width: 200px;margin-left: 15px"
>
年龄
{{
ages
[
0
]
}}
-
{{
ages
[
1
]
}}
岁
<div
class=
"block"
style=
"width: 200px; margin-left: 15px"
>
<el-slider
<el-slider
v-model=
"ages"
v-model=
"ages"
range
range
@
change=
"(msg.pageIndex = 1), getList()"
@
change=
"(msg.pageIndex = 1), getList()"
:max=
"100"
>
:max=
"100"
>
</el-slider>
</el-slider>
</div>
</div>
</div>
</div>
<div
style=
"display: flex;align-items: center;margin-left: 25px"
>
身高
{{
Heights
[
0
]
}}
-
{{
Heights
[
1
]
}}
cm
<div
style=
"display: flex; align-items: center; margin-left: 25px"
>
<div
class=
"block"
style=
"width: 200px;margin-left: 15px"
>
身高
{{
Heights
[
0
]
}}
-
{{
Heights
[
1
]
}}
cm
<div
class=
"block"
style=
"width: 200px; margin-left: 15px"
>
<el-slider
<el-slider
v-model=
"Heights"
v-model=
"Heights"
range
range
@
change=
"(msg.pageIndex = 1), getList()"
@
change=
"(msg.pageIndex = 1), getList()"
:max=
"230"
>
:max=
"230"
>
</el-slider>
</el-slider>
</div>
</div>
</div>
</div>
<div
style=
"display: flex;align-items: center;margin-left: 25px"
>
体重
{{
Weights
[
0
]
}}
-
{{
Weights
[
1
]
}}
kg
<div
style=
"display: flex; align-items: center; margin-left: 25px"
>
<div
class=
"block"
style=
"width: 200px;margin-left: 15px"
>
体重
{{
Weights
[
0
]
}}
-
{{
Weights
[
1
]
}}
kg
<div
class=
"block"
style=
"width: 200px; margin-left: 15px"
>
<el-slider
<el-slider
v-model=
"Weights"
v-model=
"Weights"
range
range
@
change=
"(msg.pageIndex = 1), getList()"
@
change=
"(msg.pageIndex = 1), getList()"
:max=
"200"
>
:max=
"200"
>
</el-slider>
</el-slider>
</div>
</div>
</div>
</div>
<div
style=
"display: flex;align-items: center;margin-left: 25px"
>
年收入
{{
YearMoeys
[
0
]
}}
-
{{
YearMoeys
[
1
]
}}
万
<div
style=
"display: flex; align-items: center; margin-left: 25px"
>
<div
class=
"block"
style=
"width: 300px;margin-left: 15px"
>
年收入
{{
YearMoeys
[
0
]
}}
-
{{
YearMoeys
[
1
]
}}
万
<div
class=
"block"
style=
"width: 300px; margin-left: 15px"
>
<el-slider
<el-slider
v-model=
"YearMoeys"
v-model=
"YearMoeys"
range
range
@
change=
"(msg.pageIndex = 1), getList()"
@
change=
"(msg.pageIndex = 1), getList()"
:max=
"500"
>
:max=
"500"
>
</el-slider>
</el-slider>
</div>
</div>
</div>
</div>
...
@@ -260,7 +310,9 @@
...
@@ -260,7 +310,9 @@
v-loading=
"loading"
v-loading=
"loading"
border
border
style=
"width: 100%; margin: 20px 0"
style=
"width: 100%; margin: 20px 0"
@
selection-change=
"handleSelectionChange"
>
>
<el-table-column
type=
"selection"
width=
"55"
:selectable=
"checkSelectable"
></el-table-column>
<el-table-column
prop=
"Id"
label=
"ID"
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"Id"
label=
"ID"
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"address"
width=
"280"
label=
"头像"
>
<el-table-column
prop=
"address"
width=
"280"
label=
"头像"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
...
@@ -325,22 +377,58 @@
...
@@ -325,22 +377,58 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"Age"
label=
"年龄"
></el-table-column>
<el-table-column
<el-table-column
prop=
"Height"
label=
"身高"
>
prop=
"SuperiorName"
label=
"上级"
width=
"150"
></el-table-column>
<el-table-column
prop=
"Age"
label=
"基础资料"
width=
"120"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
Height
}}
cm
</span>
<div>
年龄:
{{
scope
.
row
.
Age
}}
岁
</div>
</
template
>
<div>
身高:
{{
scope
.
row
.
Height
}}
cm
</div>
</el-table-column>
<div>
体重:
{{
scope
.
row
.
Weight
}}
kg
</div>
<el-table-column
prop=
"Weight"
label=
"体重"
>
<
template
slot-scope=
"scope"
>
<span>
{{
scope
.
row
.
Weight
}}
kg
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"EducationTypeStr"
label=
"学历"
></el-table-column>
<el-table-column
prop=
"EducationTypeStr"
label=
"学历"
></el-table-column>
<el-table-column
prop=
"MarriageStr"
label=
"婚姻"
></el-table-column>
<el-table-column
prop=
"MarriageStr"
label=
"婚姻"
></el-table-column>
<el-table-column
prop=
"HouseInfoStr"
label=
"房产"
></el-table-column>
<el-table-column
prop=
"HouseInfoStr"
label=
"房产"
></el-table-column>
<el-table-column
prop=
"CarInfoStr"
label=
"车产"
></el-table-column>
<el-table-column
prop=
"CarInfoStr"
label=
"车产"
></el-table-column>
<el-table-column
prop=
"CreateDate"
width=
"150"
label=
"加入时间"
></el-table-column>
<el-table-column
prop=
"Number"
label=
"星星点数"
style=
"font-size: 11px"
>
<
template
slot-scope=
"scope"
>
<div>
<span
style=
"font-size: 11px"
>
{{
scope
.
row
.
PointNum
}}
</span>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"修改星星点数"
placement=
"top"
>
<img
@
click=
"editGoods(scope.row, scope.$index)"
src=
"../../assets/img/userman/edit1.png"
alt=
""
/>
</el-tooltip>
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
"CarInfoStr"
label=
"发布权限"
>
<
template
slot-scope=
"scope"
>
<div
v-if=
"scope.row.IsFaTie==0"
>
关闭
</div>
<div
v-if=
"scope.row.IsFaTie==1"
>
开启
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
"CreateDate"
width=
"150"
label=
"加入时间"
></el-table-column>
<el-table-column
prop=
"address"
width=
"200"
label=
"操作"
>
<el-table-column
prop=
"address"
width=
"200"
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
...
@@ -446,8 +534,46 @@
...
@@ -446,8 +534,46 @@
</div>
</div>
</el-dialog>
</el-dialog>
<!-- 充值积分 -->
<!-- 修改星星数 -->
<el-dialog
title=
"修改星星数"
:visible
.
sync=
"Egoods"
width=
"600px"
:close-on-click-modal=
"false"
>
<div>
<el-form
:model=
"modifyobj"
:rules=
"rules"
ref=
"modifyobj"
label-width=
"150px"
>
<el-form-item
label=
"修改模式"
>
<el-radio
v-model=
"modifyobj.IsAdd"
:label=
"1"
>
增加
</el-radio>
<el-radio
v-model=
"modifyobj.IsAdd"
:label=
"2"
>
减少
</el-radio>
</el-form-item>
<el-form-item
label=
"原始星星数"
>
<span>
{{ PNum }}
</span>
</el-form-item>
<el-form-item
label=
"修改星星数"
>
<el-input
v-model=
"modifyobj.PonitNum"
style=
"width: 260px"
size=
"small"
:min=
"0"
type=
"number"
placeholder=
"请输入星星数"
></el-input>
</el-form-item>
</el-form>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
size=
"small"
@
click=
"Egoods = false"
>
关 闭
</el-button>
<el-button
size=
"small"
type=
"primary"
@
click=
"setUpdatePointNum()"
>
修 改
</el-button
>
</span>
</el-dialog>
<!-- 充值积分 -->
<!-- 充值积分 -->
<el-dialog
title=
"二维码"
:visible
.
sync=
"qrshow"
width=
"600px"
>
<el-dialog
title=
"二维码"
:visible
.
sync=
"qrshow"
width=
"600px"
>
<div
style=
"display: flex; align-items: center; justify-content: center"
>
<div
style=
"display: flex; align-items: center; justify-content: center"
>
...
@@ -470,9 +596,9 @@
...
@@ -470,9 +596,9 @@
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
ChooseImg
from
"@/components/global/ChooseImg.vue"
;
import
ChooseImg
from
"@/components/global/ChooseImg.vue"
;
import
detail
from
"./components/seeDetail"
;
import
detail
from
"./components/seeDetail"
;
export
default
{
export
default
{
components
:
{
components
:
{
ChooseImg
,
ChooseImg
,
detail
,
detail
,
...
@@ -481,6 +607,7 @@
...
@@ -481,6 +607,7 @@
return
{
return
{
czType
:
1
,
czType
:
1
,
changeState
:
false
,
changeState
:
false
,
Egoods
:
false
,
loading
:
false
,
loading
:
false
,
checkAll
:
false
,
checkAll
:
false
,
checkedCities
:
[],
checkedCities
:
[],
...
@@ -501,23 +628,23 @@
...
@@ -501,23 +628,23 @@
Moblie
:
""
,
Moblie
:
""
,
StartTime
:
""
,
StartTime
:
""
,
EndTime
:
""
,
EndTime
:
""
,
Age
:
0
,
Age
:
0
,
EndAge
:
0
,
EndAge
:
0
,
Height
:
0
,
Height
:
0
,
EndHeight
:
0
,
EndHeight
:
0
,
Weight
:
0
,
Weight
:
0
,
EndWeight
:
0
,
EndWeight
:
0
,
YearMoney
:
0
,
YearMoney
:
0
,
EndYearMoney
:
0
,
EndYearMoney
:
0
,
CarInfo
:
0
,
CarInfo
:
0
,
HouseInfo
:
0
,
HouseInfo
:
0
,
EducationType
:
0
,
EducationType
:
0
,
Marriage
:
0
,
Marriage
:
0
,
},
},
ages
:[
0
,
0
],
//年龄
ages
:
[
0
,
0
],
//年龄
Heights
:[
0
,
0
],
//身高
Heights
:
[
0
,
0
],
//身高
Weights
:[
0
,
0
],
//体重
Weights
:
[
0
,
0
],
//体重
YearMoeys
:[
0
,
0
],
//年收入
YearMoeys
:
[
0
,
0
],
//年收入
total
:
0
,
total
:
0
,
platList
:
[],
platList
:
[],
memberGradeList
:
[],
memberGradeList
:
[],
...
@@ -550,11 +677,21 @@
...
@@ -550,11 +677,21 @@
qrshow
:
false
,
qrshow
:
false
,
//查看详情
//查看详情
detailData
:
{},
detailData
:
{},
detailShow
:
false
,
detailShow
:
false
,
EducationList
:[],
//学历
EducationList
:
[],
//学历
MarriageList
:[],
//婚姻
MarriageList
:
[],
//婚姻
HouseList
:[],
//房子情况
HouseList
:
[],
//房子情况
CarInfoList
:[],
//车子情况
CarInfoList
:
[],
//车子情况
modifyobj
:
{
UserId
:
0
,
IsAdd
:
1
,
PonitNum
:
0
,
},
PNum
:
0
,
quanxianMsg
:{
UserIds
:
''
,
IsFaTie
:
0
,
}
};
};
},
},
created
()
{
created
()
{
...
@@ -564,14 +701,38 @@
...
@@ -564,14 +701,38 @@
this
.
GetMemberGradeList
();
this
.
GetMemberGradeList
();
this
.
addMsg
.
MallBaseId
=
this
.
getLocalStorage
().
MallBaseId
;
this
.
addMsg
.
MallBaseId
=
this
.
getLocalStorage
().
MallBaseId
;
this
.
GetEducationTypeEnumList
()
//学历
this
.
GetEducationTypeEnumList
();
//学历
this
.
GetMarriageEnumList
()
//婚姻
this
.
GetMarriageEnumList
();
//婚姻
this
.
GetHouseInfoEnumList
()
//房子情况
this
.
GetHouseInfoEnumList
();
//房子情况
this
.
GetCarInfoEnumList
()
//车子情况
this
.
GetCarInfoEnumList
();
//车子情况
},
},
methods
:
{
methods
:
{
editGoods
(
obj
,
index
)
{
this
.
Egoods
=
true
;
this
.
modifyobj
.
UserId
=
obj
.
Id
;
this
.
modifyobj
.
IsAdd
=
1
;
this
.
modifyobj
.
PonitNum
=
0
;
this
.
PNum
=
obj
.
PointNum
;
},
setUpdatePointNum
()
{
if
(
this
.
modifyobj
.
PonitNum
==
0
||
this
.
modifyobj
.
PonitNum
==
""
)
{
this
.
Error
(
"修改星星数量必须大于0"
);
return
;
}
if
(
this
.
modifyobj
.
IsAdd
==
2
&&
this
.
modifyobj
.
PonitNum
>
this
.
PNum
)
{
this
.
Error
(
"减少数量不能大于原始数量"
);
return
;
}
this
.
apipost
(
"/api/miai/UpdatePointNum"
,
this
.
modifyobj
,
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
res
.
data
.
message
)
this
.
getList
();
this
.
Egoods
=
false
;
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
});
},
EditgoUrl
(
row
)
{
EditgoUrl
(
row
)
{
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
"blindDateUsersListEdit"
,
name
:
"blindDateUsersListEdit"
,
...
@@ -590,7 +751,6 @@
...
@@ -590,7 +751,6 @@
});
});
},
},
showQRcode
(
row
)
{
showQRcode
(
row
)
{
this
.
apipost
(
this
.
apipost
(
"/api/user/GetWeiXinQRCodeForHT"
,
"/api/user/GetWeiXinQRCodeForHT"
,
...
@@ -607,6 +767,36 @@
...
@@ -607,6 +767,36 @@
}
}
);
);
},
},
checkSelectable
(
row
){
//判断是否可以选择
return
row
.
BaseInfoId
>
0
},
handleSelectionChange
(
val
){
let
data
=
[];
this
.
quanxianMsg
.
UserIds
=
''
,
val
.
map
(
x
=>
{
data
.
push
(
x
.
Id
)
})
this
.
quanxianMsg
.
UserIds
=
data
.
join
(
','
)
},
quanxian
(
type
){
if
(
this
.
quanxianMsg
.
UserIds
==
''
){
this
.
Error
(
'选择要设置的用户'
)
return
}
this
.
apipost
(
"/api/Miai/UpdateFaTie"
,
{
UserIds
:
this
.
quanxianMsg
.
UserIds
,
IsFaTie
:
type
},
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
res
.
data
.
message
)
this
.
getList
();
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
}
);
},
openChangeDig
()
{
openChangeDig
()
{
this
.
changeState
=
true
;
this
.
changeState
=
true
;
setTimeout
(()
=>
{
setTimeout
(()
=>
{
...
@@ -694,22 +884,26 @@
...
@@ -694,22 +884,26 @@
this
.
platList
=
res
.
data
.
data
;
this
.
platList
=
res
.
data
.
data
;
});
});
},
},
GetEducationTypeEnumList
(){
//学历
GetEducationTypeEnumList
()
{
//学历
this
.
apipost
(
"/api/Miai/GetEducationTypeEnumList"
,
{},
(
res
)
=>
{
this
.
apipost
(
"/api/Miai/GetEducationTypeEnumList"
,
{},
(
res
)
=>
{
this
.
EducationList
=
res
.
data
.
data
;
this
.
EducationList
=
res
.
data
.
data
;
});
});
},
},
GetMarriageEnumList
(){
//婚姻
GetMarriageEnumList
()
{
//婚姻
this
.
apipost
(
"/api/Miai/GetMarriageEnumList"
,
{},
(
res
)
=>
{
this
.
apipost
(
"/api/Miai/GetMarriageEnumList"
,
{},
(
res
)
=>
{
this
.
MarriageList
=
res
.
data
.
data
;
this
.
MarriageList
=
res
.
data
.
data
;
});
});
},
},
GetHouseInfoEnumList
(){
//房子情况
GetHouseInfoEnumList
()
{
//房子情况
this
.
apipost
(
"/api/Miai/GetHouseInfoEnumList"
,
{},
(
res
)
=>
{
this
.
apipost
(
"/api/Miai/GetHouseInfoEnumList"
,
{},
(
res
)
=>
{
this
.
HouseList
=
res
.
data
.
data
;
this
.
HouseList
=
res
.
data
.
data
;
});
});
},
},
GetCarInfoEnumList
(){
//车子情况
GetCarInfoEnumList
()
{
//车子情况
this
.
apipost
(
"/api/Miai/GetCarInfoEnumList"
,
{},
(
res
)
=>
{
this
.
apipost
(
"/api/Miai/GetCarInfoEnumList"
,
{},
(
res
)
=>
{
this
.
CarInfoList
=
res
.
data
.
data
;
this
.
CarInfoList
=
res
.
data
.
data
;
});
});
...
@@ -737,8 +931,8 @@
...
@@ -737,8 +931,8 @@
console
.
log
(
res
);
console
.
log
(
res
);
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
detailData
=
res
.
data
.
data
;
this
.
detailData
=
res
.
data
.
data
;
this
.
detailData
.
RealName
=
row
.
Name
this
.
detailData
.
RealName
=
row
.
Name
;
this
.
detailShow
=
true
this
.
detailShow
=
true
;
}
else
{
}
else
{
this
.
$message
({
this
.
$message
({
message
:
res
.
data
.
message
,
message
:
res
.
data
.
message
,
...
@@ -749,42 +943,42 @@
...
@@ -749,42 +943,42 @@
},
},
},
},
mounted
()
{},
mounted
()
{},
};
};
</
script
>
</
script
>
<
style
>
<
style
>
.blindDateUsersList
.remark_name
{
.blindDateUsersList
.remark_name
{
color
:
#888888
;
color
:
#888888
;
font-size
:
12px
;
font-size
:
12px
;
margin-left
:
10px
;
margin-left
:
10px
;
float
:
right
;
float
:
right
;
}
}
.blindDateUsersList
.app-image
{
.blindDateUsersList
.app-image
{
background-position
:
center
center
;
background-position
:
center
center
;
width
:
50px
;
width
:
50px
;
height
:
50px
;
height
:
50px
;
border-radius
:
0%
;
border-radius
:
0%
;
float
:
left
;
float
:
left
;
margin-right
:
8px
;
margin-right
:
8px
;
}
}
.blindDateUsersList
.blue
{
.blindDateUsersList
.blue
{
color
:
#409eff
;
color
:
#409eff
;
}
}
.blindDateUsersList
.content
.searchInput
{
.blindDateUsersList
.content
.searchInput
{
border
:
1px
solid
#dcdfe6
;
border
:
1px
solid
#dcdfe6
;
border-radius
:
4px
;
border-radius
:
4px
;
}
}
.blindDateUsersList
.content
.searchInput
.el-input__inner
{
.blindDateUsersList
.content
.searchInput
.el-input__inner
{
border
:
none
;
border
:
none
;
outline
:
none
;
outline
:
none
;
height
:
30px
;
height
:
30px
;
line-height
:
30px
;
line-height
:
30px
;
}
}
.blindDateUsersList
.content
.searchInput
{
.blindDateUsersList
.content
.searchInput
{
line-height
:
normal
;
line-height
:
normal
;
display
:
inline-table
;
display
:
inline-table
;
width
:
100%
;
width
:
100%
;
...
@@ -793,12 +987,12 @@
...
@@ -793,12 +987,12 @@
width
:
250px
;
width
:
250px
;
margin-right
:
20px
;
margin-right
:
20px
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
}
}
.blindDateUsersList
.content
{
.blindDateUsersList
.content
{
background
:
#fff
;
background
:
#fff
;
margin-top
:
10px
;
margin-top
:
10px
;
padding
:
20px
;
padding
:
20px
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
}
}
</
style
>
</
style
>
src/components/UserMan/blindDateUsersListEdit.vue
View file @
70b51888
...
@@ -173,7 +173,7 @@
...
@@ -173,7 +173,7 @@
<el-form-item
label=
"希望的TA是..."
>
<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-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-form-item label="约会时间" >
<el-date-picker
<el-date-picker
v-model="addMsg.Appointment"
v-model="addMsg.Appointment"
type="datetime"
type="datetime"
...
@@ -183,9 +183,13 @@
...
@@ -183,9 +183,13 @@
</el-form-item>
</el-form-item>
<el-form-item label="约会地点" >
<el-form-item label="约会地点" >
<el-input v-model="addMsg.AppointmentAddress" style="width:478px" size="small" placeholder="请输入约会地点" ></el-input>
<el-input v-model="addMsg.AppointmentAddress" style="width:478px" size="small" placeholder="请输入约会地点" ></el-input>
</el-form-item>
</el-form-item>
-->
<el-form-item
label=
"活动范围"
>
<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-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>
</el-form-item>
</el-form-item>
<el-form-item
label=
"备注"
>
<el-form-item
label=
"备注"
>
<el-input
v-model=
"addMsg.Remark"
style=
"width:478px"
size=
"small"
></el-input>
<el-input
v-model=
"addMsg.Remark"
style=
"width:478px"
size=
"small"
></el-input>
...
...
src/components/UserMan/components/seeDetail.vue
View file @
70b51888
...
@@ -82,8 +82,8 @@ export default {
...
@@ -82,8 +82,8 @@ export default {
{
prop
:
"情话:"
,
field
:
"LoveTalk"
,
type
:
1
},
{
prop
:
"情话:"
,
field
:
"LoveTalk"
,
type
:
1
},
{
prop
:
"单身原因:"
,
field
:
"SingleReason"
,
type
:
1
},
{
prop
:
"单身原因:"
,
field
:
"SingleReason"
,
type
:
1
},
{
prop
:
"希望的TA是:"
,
field
:
"HopeYou"
,
type
:
1
},
{
prop
:
"希望的TA是:"
,
field
:
"HopeYou"
,
type
:
1
},
{
prop
:
"约会时间:"
,
field
:
"Appointment"
,
type
:
1
},
//
{ prop: "约会时间:", field: "Appointment", type: 1 },
{
prop
:
"约会地址:"
,
field
:
"AppointmentAddress"
,
type
:
1
},
//
{ prop: "约会地址:", field: "AppointmentAddress", type: 1 },
{
prop
:
"身份证正面:"
,
field
:
"IDCard"
,
type
:
2
},
{
prop
:
"身份证正面:"
,
field
:
"IDCard"
,
type
:
2
},
{
prop
:
"身份证反面:"
,
field
:
"IDCardBack"
,
type
:
2
},
{
prop
:
"身份证反面:"
,
field
:
"IDCardBack"
,
type
:
2
},
...
...
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