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
e31bc8d7
Commit
e31bc8d7
authored
May 22, 2020
by
黄媛媛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
06c0c844
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
72 additions
and
13 deletions
+72
-13
MembershipGrade.vue
src/components/UserMan/MembershipGrade.vue
+22
-4
disWithdrawal.vue
src/components/UserMan/disWithdrawal.vue
+4
-0
distributors.vue
src/components/UserMan/distributors.vue
+8
-3
setMember.vue
src/components/UserMan/setMember.vue
+36
-3
usersList.vue
src/components/UserMan/usersList.vue
+2
-2
UE.vue
src/components/global/UE.vue
+0
-1
No files found.
src/components/UserMan/MembershipGrade.vue
View file @
e31bc8d7
...
...
@@ -26,11 +26,11 @@
label=
"ID"
>
</el-table-column>
<el-table-column
prop=
"
Nam
e"
prop=
"
Grad
e"
label=
"会员等级"
>
</el-table-column>
<el-table-column
prop=
"
n
ame"
prop=
"
N
ame"
label=
"会员名称"
>
</el-table-column>
<el-table-column
...
...
@@ -55,8 +55,13 @@
prop=
"name"
label=
"启用状态"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.Enabled==1"
>
是
</span>
<span
v-if=
"scope.row.Enabled==2"
>
否
</span>
<el-switch
@
change=
"ChangeEnabled(scope.row)"
v-model=
"scope.row.Enabled"
active-color=
"#409EFF"
:active-value=
"1"
:inactive-value=
"2"
>
</el-switch>
</
template
>
</el-table-column>
<el-table-column
...
...
@@ -110,6 +115,19 @@
this
.
getList
();
},
methods
:
{
ChangeEnabled
(
msg
){
msg
.
MallBaseId
=
this
.
getLocalStorage
().
MallBaseId
;
this
.
apipost
(
'/api/user/SetMemberGradeInfo'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
getList
();
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
null
);
},
Edit
(
row
){
this
.
$router
.
push
({
name
:
'setMember'
,
...
...
src/components/UserMan/disWithdrawal.vue
View file @
e31bc8d7
...
...
@@ -152,6 +152,7 @@
pageIndex
:
1
,
pageSize
:
15
,
AuditStatus
:
0
,
UserId
:
0
,
},
total
:
0
,
platList
:[],
...
...
@@ -199,6 +200,9 @@
};
},
created
()
{
if
(
this
.
$route
.
query
.
UserId
){
this
.
msg
.
UserId
=
this
.
$route
.
query
.
UserId
;
}
this
.
getList
();
this
.
getplat
();
this
.
getDown
();
...
...
src/components/UserMan/distributors.vue
View file @
e31bc8d7
...
...
@@ -56,7 +56,7 @@
@
select=
"SingelCheck"
style=
"width: 100%;margin:0 0 20px 0"
>
<el-table-column
type=
"selection"
>
</el-table-column>
<el-table-column
prop=
"Id"
label=
"用户ID"
width=
"80"
>
<el-table-column
prop=
"
User
Id"
label=
"用户ID"
width=
"80"
>
</el-table-column>
<el-table-column
prop=
"address"
label=
"基本信息"
>
<template
slot-scope=
"scope"
>
...
...
@@ -120,6 +120,11 @@
<img
v-if=
"scope.row.AuditStatus==2"
@
click=
"CommonJump('distributionOrder')"
style=
"width:32px;height:32px"
src=
"../../assets/img/userman/order.png"
alt=
""
>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"提现详情"
placement=
"top-start"
>
<img
v-if=
"scope.row.AuditStatus==2"
@
click=
"CommonJump('disWithdrawal',
{UserId:scope.row.UserId})" style="width:32px;height:32px"
src="../../assets/img/userman/detail1.png" alt="">
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"同意"
placement=
"top-start"
>
<img
v-if=
"scope.row.AuditStatus==1"
@
click=
"openReason(1,scope.row)"
style=
"width:32px;height:32px"
src=
"../../assets/img/userman/pass.png"
alt=
""
>
...
...
@@ -141,10 +146,10 @@
<img
@
click=
"Delete(3,scope.row)"
style=
"width:32px;height:32px"
src=
"../../assets/img/userman/del.png"
alt=
""
>
</el-tooltip>
<img
@
click=
"OpenczjfDig(scope.row,1)"
style=
"width:32px;height:32px;"
<
!--
<
img
@
click=
"OpenczjfDig(scope.row,1)"
style=
"width:32px;height:32px;"
src=
"../../assets/img/userman/integral.png"
alt=
""
>
<img
@
click=
"OpenczjfDig(scope.row,2)"
style=
"width:32px;height:32px"
src=
"../../assets/img/userman/balance.png"
alt=
""
>
src=
"../../assets/img/userman/balance.png"
alt=
""
>
-->
</
template
>
</template>
...
...
src/components/UserMan/setMember.vue
View file @
e31bc8d7
...
...
@@ -7,7 +7,11 @@
<el-form
:model=
"addMsg"
:rules=
"rules"
ref=
"addMsg"
label-width=
"150px"
>
<el-form-item
label=
"会员等级"
prop=
"Grade"
>
<el-select
style=
"width:293px;"
size=
"small"
v-model=
"addMsg.Grade"
placeholder=
"请选择"
>
<el-option
v-for=
"(item,index) in 100"
:key=
"index"
:label=
"`等级$
{index+1}`" :value="index+1">
<el-option
v-for=
"(item,index) in numList"
:key=
"index"
:label=
"`等级$
{index+1}`"
:value="item.Id"
:disabled="item.dis"
>
</el-option>
</el-select>
</el-form-item>
...
...
@@ -194,17 +198,28 @@
imgType
:
''
,
imgIndex
:
-
1
,
GradeId
:
0
,
gradeList
:[],
numList
:[],
};
},
created
()
{
this
.
numList
=
[]
for
(
let
i
=
1
;
i
<
101
;
i
++
){
let
obj
=
{
Id
:
i
,
dis
:
false
,
}
this
.
numList
.
push
(
obj
)
}
},
mounted
()
{
this
.
$refs
.
ue
.
InitData
();
if
(
this
.
$route
.
query
.
GradeId
)
{
this
.
GradeId
=
this
.
$route
.
query
.
GradeId
;
this
.
getData
()
}
}
this
.
getgradeList
();
},
methods
:
{
input
(){},
...
...
@@ -287,6 +302,24 @@
})
},
getgradeList
(){
this
.
apipost
(
"/api/user/GetMemberGrade"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
gradeList
=
res
.
data
.
data
;
this
.
numList
.
forEach
(
item
=>
{
this
.
gradeList
.
forEach
(
val
=>
{
if
(
item
.
Id
==
val
){
item
.
dis
=
true
;
}
})
})
console
.
log
(
"this.numList"
,
this
.
numList
)
}
})
},
},
};
...
...
src/components/UserMan/usersList.vue
View file @
e31bc8d7
...
...
@@ -125,7 +125,7 @@
<div
style=
"margin: 15px 0;"
></div>
<div
style=
"padding: 10px 25px 20px;"
>
<el-checkbox-group
v-model=
"checkedCities"
@
change=
"handleCheckedCitiesChange"
>
<el-checkbox
style=
"margin-bottom:10px"
v-for=
"city in cities"
:label=
"city.Id"
:key=
"city.Name"
>
<el-checkbox
style=
"margin-bottom:10px
;width:135px
"
v-for=
"city in cities"
:label=
"city.Id"
:key=
"city.Name"
>
{{city.Name}}
</el-checkbox>
</el-checkbox-group>
</div>
...
...
@@ -186,7 +186,7 @@
checkedCities
:
[],
cities
:
[],
cityOptions
:
[],
isIndeterminate
:
tru
e
,
isIndeterminate
:
fals
e
,
addMsg
:
{},
dialogVisible
:
false
,
value
:
''
,
...
...
src/components/global/UE.vue
View file @
e31bc8d7
...
...
@@ -50,7 +50,6 @@
},
methods
:
{
SetVal
(
val
){
console
.
log
(
"sfsdf"
,
val
);
this
.
editor
.
setContent
(
val
);
},
InitData
()
{
...
...
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