Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
memberTag-web
Overview
Overview
Details
Activity
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
memberTag
memberTag-web
Commits
b3d9685c
Commit
b3d9685c
authored
Jul 04, 2022
by
huaying
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
客户分组添加loading效果
parent
e73d20f7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletions
+12
-1
group-list.vue
src/view/memberGroup/group-list.vue
+12
-1
No files found.
src/view/memberGroup/group-list.vue
View file @
b3d9685c
...
...
@@ -15,6 +15,13 @@
<i
slot=
"reference"
class=
"iconfont icon-gengduo icon"
></i>
</el-popover>
</li>
<li
>
<div
class=
"el-loading-spinner"
style=
"width: 98%;"
v-if=
"memberGroupLoading"
>
<svg
viewBox=
"25 25 50 50"
class=
"circular"
>
<circle
cx=
"50"
cy=
"50"
r=
"20"
fill=
"none"
class=
"path"
></circle>
</svg>
</div>
</li>
</ul>
<div
v-if=
"$getButtonLimit($buttonCode.memberTagAddCateGory) && activeType == 1"
class=
"add-category"
>
<el-button
@
click=
"editDialog.visible = true"
:limit-code=
"$buttonCode.memberTagAddCateGory"
type=
"primary"
class=
"ghost-btn add-group"
>
新增分类
</el-button>
...
...
@@ -58,7 +65,9 @@ export default {
loading
:
false
,
classifyName
:
''
,
list
:
{}
}
},
memberGroupLoading
:
false
};
},
...
...
@@ -189,6 +198,7 @@ export default {
* 会员分组分类
*/
getMemberGroupList
()
{
this
.
memberGroupLoading
=
true
;
const
{
pageNum
,
pageSize
,
classifyName
}
=
this
.
listsParams
;
if
(
pageNum
==
1
)
{
this
.
lists
=
[];
...
...
@@ -200,6 +210,7 @@ export default {
pageSize
,
classifyName
}).
then
(
res
=>
{
this
.
memberGroupLoading
=
false
;
if
(
res
.
errorCode
==
0
)
{
const
{
result
,
totalPage
}
=
res
.
result
||
{};
if
(
Array
.
isArray
(
result
))
{
...
...
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