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
4d9b654b
Commit
4d9b654b
authored
Oct 27, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
9cee891e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
38 deletions
+25
-38
memberGroup.vue
src/components/UserMan/memberGroup.vue
+25
-38
No files found.
src/components/UserMan/memberGroup.vue
View file @
4d9b654b
...
@@ -21,12 +21,11 @@
...
@@ -21,12 +21,11 @@
<el-table
:data=
"tableData"
v-loading=
"loading"
border
style=
"width: 100%; margin: 20px 0"
>
<el-table
:data=
"tableData"
v-loading=
"loading"
border
style=
"width: 100%; margin: 20px 0"
>
<!--:selectable="checkSelectable"-->
<!--:selectable="checkSelectable"-->
<el-table-column
type=
"selection"
width=
"55"
></el-table-column>
<el-table-column
type=
"selection"
width=
"55"
></el-table-column>
<el-table-column
prop=
"GroupId"
label=
"ID"
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"GroupId"
label=
"ID"
width=
"150"
>
</el-table-column>
<el-table-column
prop=
"GroupName"
label=
"分组名称"
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"GroupName"
label=
"分组名称"
width=
"200"
>
</el-table-column>
<el-table-column
prop=
"LookGroupIds"
label=
"可查看分组"
width=
"100"
>
</el-table-column>
<el-table-column
prop=
"LookGroupIds"
label=
"可查看分组"
width=
"300"
>
</el-table-column>
<el-table-column
prop=
"CreateDate"
width=
"150"
label=
"加入时间"
></el-table-column>
<el-table-column
prop=
"CreateDate"
width=
"200"
label=
"加入时间"
></el-table-column>
<el-table-column
prop=
"address"
label=
"操作"
fixed=
"right"
>
<el-table-column
prop=
"address"
width=
"140"
label=
"操作"
fixed=
"right"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"编辑"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"编辑"
placement=
"top"
>
<img
@
click=
"EditGroup(scope.row)"
style=
"width: 32px; height: 32px"
<img
@
click=
"EditGroup(scope.row)"
style=
"width: 32px; height: 32px"
...
@@ -34,7 +33,7 @@
...
@@ -34,7 +33,7 @@
</el-tooltip>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"删除"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"删除"
placement=
"top"
>
<img
@
click=
"
showQRcode
(scope.row)"
style=
"width: 32px; height: 32px"
<img
@
click=
"
DeleteGroup
(scope.row)"
style=
"width: 32px; height: 32px"
src=
"../../assets/img/userman/QRcode.png"
alt=
""
/>
src=
"../../assets/img/userman/QRcode.png"
alt=
""
/>
</el-tooltip>
</el-tooltip>
</
template
>
</
template
>
...
@@ -44,43 +43,26 @@
...
@@ -44,43 +43,26 @@
:page-size=
"msg.pageSize"
:current-page
.
sync=
"msg.pageIndex"
layout=
"total,prev, pager, next"
:total=
"total"
>
:page-size=
"msg.pageSize"
:current-page
.
sync=
"msg.pageIndex"
layout=
"total,prev, pager, next"
:total=
"total"
>
</el-pagination>
</el-pagination>
</div>
</div>
<!--
修改星星数
-->
<!--
新增修改用户分组
-->
<
!-- <el-dialog title="修改星星数" :visible.sync="Egoods
" width="600px" :close-on-click-modal="false">
<
el-dialog
title=
"修改星星数"
:visible
.
sync=
"IsShowGroup
"
width=
"600px"
:close-on-click-modal=
"false"
>
<div>
<div>
<el-form :model="modifyobj" :rules="rules" ref="modifyobj" label-width="150px">
<el-form
:model=
"addMsg"
ref=
"addMsg"
label-width=
"150px"
>
<el-form-item label="修改模式">
<el-form-item
label=
"分组名称"
>
<el-radio v-model="modifyobj.IsAdd" :label="1">增加</el-radio>
<el-input
v-model=
"addMsg.GroupName"
placeholder=
"请输入分组名称"
></el-input>
<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>
<el-form-item label="修改星星数">
<el-form-item
label=
"可查看分组"
>
<el-input v-model="modifyobj.PonitNum" style="width: 260px" size="small" :min="0" type="number"
<el-select
v-model=
"addMsg.GroupIdList"
>
placeholder="请输入星星数"></el-input>
<el-option
v-for=
"item in groupArray"
:key=
"item.GroupId"
:label=
"item.GroupName"
:value=
"item.GroupId"
>
</el-option>
</el-select>
</el-form-item>
</el-form-item>
</el-form>
</el-form>
</div>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button size="small" @click="Egoods = false">关 闭</el-button>
<el-button
size=
"small"
@
click=
"IsShowGroup = false"
>
关 闭
</el-button>
<el-button size="small" type="primary" @click="setUpdatePointNum()">修 改</el-button>
<el-button
size=
"small"
type=
"primary"
@
click=
"SaveGroup()"
>
修 改
</el-button>
</span>
</el-dialog> -->
<!-- 充值积分 -->
<!-- <el-dialog title="二维码" :visible.sync="qrshow" width="600px">
<div style="display: flex; align-items: center; justify-content: center">
<el-image style="width: 200px; height: 200px" :src="qrcodeImg"></el-image>
</div>
<span slot="footer" class="dialog-footer">
<el-button size="small" @click="qrshow = false">关 闭</el-button>
</span>
</span>
</el-dialog>
</el-dialog>
<el-dialog title="查看详情" :visible.sync="detailShow" width="800px">
<detail :data="detailData" />
<span slot="footer" class="dialog-footer">
<el-button size="small" @click="detailShow = false">关 闭</el-button>
</span>
</el-dialog> -->
</div>
</div>
</template>
</template>
<
script
>
<
script
>
...
@@ -105,8 +87,11 @@
...
@@ -105,8 +87,11 @@
GroupId
:
0
,
GroupId
:
0
,
GroupName
:
""
,
//分组名称
GroupName
:
""
,
//分组名称
LookGroupIds
:
""
,
LookGroupIds
:
""
,
GroupIdList
:
[],
IsSpecial
:
0
,
IsSpecial
:
0
,
},
},
IsShowGroup
:
false
,
//是否显示用户分组弹窗
groupArray
:
[],
//用户分组列表
};
};
},
},
created
()
{
created
()
{
...
@@ -115,7 +100,7 @@
...
@@ -115,7 +100,7 @@
methods
:
{
methods
:
{
//新增修改用户分组
//新增修改用户分组
EditGroup
(
obj
)
{
EditGroup
(
obj
)
{
this
.
IsShowGroup
=
true
;
},
},
//保存用户分组信息
//保存用户分组信息
SaveGroup
()
{
SaveGroup
()
{
...
@@ -161,9 +146,11 @@
...
@@ -161,9 +146,11 @@
//获取分组下来列表
//获取分组下来列表
getgroupList
()
{
getgroupList
()
{
this
.
apipost
(
"/api/User/GetMemberGroupList"
,
{
this
.
apipost
(
"/api/User/GetMemberGroupList"
,
{
GroupId
:
item
.
GroupId
},
res
=>
{
},
res
=>
{
console
.
log
(
res
);
console
.
log
(
res
);
this
.
groupArray
=
res
.
data
.
data
;
});
});
}
}
...
...
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