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
bb1e8e02
Commit
bb1e8e02
authored
Apr 27, 2021
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
84797cf9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
3 deletions
+27
-3
blindDateUsersList.vue
src/components/UserMan/blindDateUsersList.vue
+27
-3
No files found.
src/components/UserMan/blindDateUsersList.vue
View file @
bb1e8e02
...
...
@@ -418,9 +418,16 @@
<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>
<el-switch
v-model=
"scope.row.IsFaTie"
@
change=
"ChangeEnabled(scope.row)"
active-color=
"#409EFF"
:active-value=
"1"
:inactive-value=
"0"
>
</el-switch>
<!--
<div
v-if=
"scope.row.IsFaTie==0"
>
关闭
</div>
<div
v-if=
"scope.row.IsFaTie==1"
>
开启
</div>
-->
</
template
>
</el-table-column>
...
...
@@ -797,6 +804,23 @@ export default {
);
},
ChangeEnabled
(
row
){
console
.
log
(
row
)
this
.
apipost
(
"/api/Miai/UpdateFaTie"
,
{
UserIds
:
row
.
Id
,
IsFaTie
:
row
.
IsFaTie
},
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
res
.
data
.
message
)
this
.
getList
();
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
getList
();
}
}
);
},
openChangeDig
()
{
this
.
changeState
=
true
;
setTimeout
(()
=>
{
...
...
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