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
5428d89f
Commit
5428d89f
authored
Aug 12, 2020
by
黄媛媛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改微店审核页面
parent
a14c29c1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
116 additions
and
24 deletions
+116
-24
wdExamine.vue
src/components/UserMan/tinyMerchant/wdExamine.vue
+116
-24
No files found.
src/components/UserMan/tinyMerchant/wdExamine.vue
View file @
5428d89f
...
...
@@ -2,25 +2,28 @@
<
template
>
<div
class=
"usersList PeaceDistribution"
>
<div
class=
"head-title"
>
和平分销商等级
<el-button
@
click=
"CommonJump('PeaceDistributionSet')"
style=
"float:right;margin-top: -5px;"
size=
"small"
type=
"primary"
>
添加分销商等级
微店审核
<el-button
style=
"float:right;margin-top: -5px;"
size=
"small"
type=
"primary"
>
批量导出
</el-button>
</div>
<div
class=
"content"
>
<div>
<el-select
class=
"w120"
@
change=
"msg.pageIndex=1,getList()"
style=
"margin-right: 10px;"
filterable
v-model=
"msg.CategoryId"
size=
"small"
placeholder=
"请选择"
>
<el-option
label=
"全部分类"
:value=
"0"
></el-option>
<el-option
v-for=
"item in cateList"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
>
</el-option>
</el-select>
<div
class=
"searchInput"
style=
"width:230px"
>
<el-input
style=
"display:inline-block;width:205px;height:30px"
placeholder=
"请输入名称查询"
placeholder=
"请输入用户id"
@
keyup
.
enter
.
native=
"msg.pageIndex=1,getList()"
@
clear=
"msg.pageIndex=1,getList()"
v-model=
"msg.UserId"
size=
"small"
clearable
>
</el-input>
<span
@
click=
"msg.pageIndex=1,getList()"
class=
"el-icon-search"
style=
"color:#979dad;font-size:14px;position:relative;top:1px"
></span>
</div>
<div
class=
"searchInput"
style=
"width:230px"
>
<el-input
style=
"display:inline-block;width:205px;height:30px"
placeholder=
"请输入微店名称"
@
keyup
.
enter
.
native=
"msg.pageIndex=1,getList()"
@
clear=
"msg.pageIndex=1,getList()"
v-model=
"msg.Name"
...
...
@@ -29,6 +32,17 @@
</el-input>
<span
@
click=
"msg.pageIndex=1,getList()"
class=
"el-icon-search"
style=
"color:#979dad;font-size:14px;position:relative;top:1px"
></span>
</div>
<div
class=
"searchInput"
style=
"width:230px"
>
<el-input
style=
"display:inline-block;width:205px;height:30px"
placeholder=
"请输入用户名称"
@
keyup
.
enter
.
native=
"msg.pageIndex=1,getList()"
@
clear=
"msg.pageIndex=1,getList()"
v-model=
"msg.NickName"
size=
"small"
clearable
>
</el-input>
<span
@
click=
"msg.pageIndex=1,getList()"
class=
"el-icon-search"
style=
"color:#979dad;font-size:14px;position:relative;top:1px"
></span>
</div>
</div>
<div
style=
"margin-top:20px"
>
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick"
>
...
...
@@ -44,14 +58,14 @@
style=
"width: 100%;margin:20px 0"
>
<el-table-column
prop=
"Id"
width=
"80"
label=
"ID"
></el-table-column>
<el-table-column
prop=
"Name"
width=
"150"
label=
"微店名称"
></el-table-column>
<el-table-column
prop=
"Logo"
width=
"
150"
label=
"用户logo
"
>
<el-table-column
prop=
"Logo"
width=
"
200"
label=
"用户信息
"
>
<template
slot-scope=
"scope"
>
<img
class=
"app-order-icon"
style=
"width: 50px;height: 50px;"
:src=
"scope.row.Logo"
alt=
""
>
<div
class=
"app-image"
:style=
"
{backgroundImage:'url(' + scope.row.Logo + ')',backgroundSize:'cover'}">
</div>
<div
flex=
"dir:left cross:center"
>
{{
scope
.
row
.
UserName
}}
</div>
</
template
>
</el-table-column>
<el-table-column
prop=
"UserName"
label=
"用户名称"
>
</el-table-column>
<el-table-column
prop=
"Commission"
label=
"可提现佣金"
>
<el-table-column
prop=
"Moblie"
label=
"总佣金"
>
<
template
slot-scope=
"scope"
>
...
...
@@ -72,11 +86,11 @@
<
template
slot-scope=
"scope"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"同意"
placement=
"top"
v-if=
"scope.row.AuditStatus==1"
>
<img
@
click=
"pending(
item
,1)"
v-if=
"scope.row.AuditStatus==1"
class=
"app-order-icon"
<img
@
click=
"pending(
scope.row
,1)"
v-if=
"scope.row.AuditStatus==1"
class=
"app-order-icon"
src=
"../../../assets/img/userman/pass.png"
alt=
""
>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"拒绝"
placement=
"top"
v-if=
"scope.row.AuditStatus==1"
>
<img
@
click=
"pending(
item
,2)"
v-if=
"scope.row.AuditStatus==1"
class=
"app-order-icon"
<img
@
click=
"pending(
scope.row
,2)"
v-if=
"scope.row.AuditStatus==1"
class=
"app-order-icon"
src=
"../../../assets/img/userman/nopass.png"
alt=
""
>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"添加备注"
placement=
"top-start"
v-if=
"scope.row.AuditStatus==2"
>
...
...
@@ -85,7 +99,7 @@
<el-tooltip
class=
"item"
effect=
"dark"
content=
"删除"
placement=
"top-start"
v-if=
"scope.row.AuditStatus==2"
>
<img
@
click=
"Delete(3,scope.row)"
style=
"width:32px;height:32px"
src=
"../../../assets/img/userman/del.png"
alt=
""
v-if=
"scope.row.AuditStatus==2"
>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"修改
可提现
佣金"
placement=
"top-start"
v-if=
"scope.row.AuditStatus==2"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"修改
微店
佣金"
placement=
"top-start"
v-if=
"scope.row.AuditStatus==2"
>
<img
@
click=
"openYongjin(scope.row)"
style=
"width:32px;height:32px"
src=
"../../../assets/img/userman/edit.png"
alt=
""
v-if=
"scope.row.AuditStatus==2"
>
</el-tooltip>
</
template
>
...
...
@@ -99,6 +113,24 @@
:current-page
.
sync=
"msg.pageIndex"
:total=
"total"
>
</el-pagination>
<!-- 修改可提现佣金 -->
<el-dialog
title=
"提示"
:visible
.
sync=
"yjDialog"
width=
"400px"
>
<el-form
style=
"margin-top:10px"
>
<el-form-item
label-width=
"100px"
label=
"用户"
>
{{yjNickName}}
</el-form-item>
<el-form-item
label-width=
"100px"
label=
"累计佣金"
>
{{TotalCommission}}
</el-form-item>
<el-form-item
label-width=
"100px"
label=
"可提现佣金"
>
<el-input
v-model=
"yjMsg.Commission"
@
keyup
.
native=
"checkInteger(yjMsg,'Commission')"
style=
"width:210px;"
></el-input>
</el-form-item>
</el-form>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
size=
"small"
@
click=
"yjDialog = false"
>
取 消
</el-button>
<el-button
size=
"small"
type=
"primary"
@
click=
"setCommission"
>
确 定
</el-button>
</span>
</el-dialog>
</div>
</div>
</template>
...
...
@@ -107,21 +139,28 @@
data
()
{
return
{
loading
:
false
,
yjDialog
:
false
,
value
:
''
,
options
:[],
tableData
:[],
msg
:{
pageIndex
:
1
,
pageSize
:
15
,
UserId
:
0
,
UserId
:
''
,
AuditStatus
:
0
,
Name
:
''
,
NickName
:
''
,
},
total
:
0
,
cateList
:[],
AuditStatusList
:
[],
activeName
:
'first'
,
activeName
:
'first'
,
yjMsg
:{
SmallShopsId
:
0
,
Commission
:
0
},
yjNickName
:
''
,
TotalCommission
:
''
};
},
created
()
{
...
...
@@ -159,6 +198,59 @@
this
.
msg
.
pageIndex
=
val
;
this
.
getList
();
},
//修改
openYongjin
(
row
){
this
.
TotalCommission
=
row
.
TotalCommission
?
row
.
TotalCommission
:
0.00
;
this
.
yjNickName
=
row
.
UserName
;
this
.
yjMsg
.
SmallShopsId
=
row
.
Id
;
this
.
yjMsg
.
Commission
=
row
.
Commission
?
row
.
Commission
:
0.00
;
this
.
yjDialog
=
true
;
},
//修改佣金
setCommission
(){
this
.
apipost
(
"/api/SmallShops/SetSmallShopsCommission"
,
this
.
yjMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
this
.
Success
(
res
.
data
.
message
);
this
.
getList
();
this
.
yjDialog
=
false
;
}
})
},
//同意和拒绝
pending
(
row
,
type
){
let
msg
=
{
SmallShopsId
:
row
.
Id
,
Type
:
type
,
Remark
:
''
,
}
let
text
if
(
type
==
1
){
text
=
'同意审核!'
}
else
if
(
type
==
2
){
text
=
'拒绝审核!'
}
let
that
=
this
;
that
.
$confirm
(
text
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
this
.
apipost
(
'/api/SmallShops/SetSmallShopsAudit'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
getList
();
this
.
Success
(
res
.
data
.
message
)
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
null
);
}).
catch
(()
=>
{
});
},
},
mounted
()
{
...
...
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