Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
f3f80fc1
Commit
f3f80fc1
authored
Jun 15, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加页面
parent
873f9a7a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
135 additions
and
0 deletions
+135
-0
ElectricalProfits.vue
...mponents/FinancialModule/ReportForm/ElectricalProfits.vue
+127
-0
config.js
src/router/config.js
+8
-0
No files found.
src/components/FinancialModule/ReportForm/ElectricalProfits.vue
0 → 100644
View file @
f3f80fc1
<
template
>
<div
class=
"Sheepcommission"
>
<div
class=
"query-box"
>
<ul>
<li>
<span>
<em>
名称
</em>
<el-input
type=
"text"
v-model=
"msg.Name"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
</span>
</li>
<li>
<span>
<em>
手机
</em>
<el-input
type=
"text"
v-model=
"msg.Moblie"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
</span>
</li>
<li>
<input
type=
"button"
class=
"hollowFixedBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"getList()"
/>
</li>
</ul>
</div>
<table
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
"loading"
>
<tr>
<th>
用户ID
</th>
<th>
名称
</th>
<th>
手机
</th>
<th>
分销等级
</th>
<th>
累计佣金
</th>
<th>
可提现佣金
</th>
<th>
待结算佣金
</th>
<th>
已提现佣金
</th>
</tr>
<tr
v-for=
"(item,i) in dataList"
:key=
"i"
>
<td>
{{
item
.
UserId
}}
</td>
<td>
{{
item
.
Name
}}
</td>
<td>
{{
item
.
Moblie
}}
</td>
<td>
{{
item
.
GradeName
}}
</td>
<td>
{{
item
.
TotalCommission
}}
</td>
<td>
{{
item
.
CommissionWithdrawal
}}
</td>
<td>
<span
@
click=
"goUrl(item)"
class=
"underline point"
>
{{
item
.
WaitCommission
}}
</span>
</td>
<td>
<span
@
click=
"goUrl(item)"
class=
"underline point"
>
{{
item
.
Commission
}}
</span>
</td>
</tr>
<tr
v-if=
"dataList.length==0"
>
<td
colspan=
"15"
align=
"center"
>
暂无数据
</td>
</tr>
</table>
<el-pagination
background
@
current-change=
"handleCurrentChange"
layout=
"total,prev, pager, next, jumper"
:page-size=
"msg.pageSize"
:total=
'total'
>
</el-pagination>
</div>
</
template
>
<
script
>
import
moment
from
"moment"
;
export
default
{
name
:
"Feedback"
,
data
()
{
return
{
total
:
0
,
msg
:
{
pageIndex
:
1
,
pageSize
:
10
,
Name
:
''
,
Moblie
:
''
,
IsSelectCommpany
:
1
},
dataList
:
[],
loading
:
false
};
},
created
()
{
this
.
getList
();
},
mounted
()
{},
methods
:
{
goUrl
(
item
)
{
this
.
$router
.
push
({
name
:
"commissionSubsidiary"
,
query
:
{
UserId
:
item
.
UserId
,
blank
:
'y'
}
})
},
handleCurrentChange
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
getList
();
},
getList
()
{
this
.
loading
=
true
;
this
.
apipost
(
'Financial_get_GetMallUserCommissionPageList'
,
this
.
msg
,
res
=>
{
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
){
this
.
total
=
res
.
data
.
data
.
count
;
this
.
dataList
=
res
.
data
.
data
.
pageData
;
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
}
},
err
=>
{})
// this.apiJavaPostSmall("/api/ERPOrderCommission/GetDistributionCommissionPageList", this.msg, res => {
// if (res.data.resultCode === 1) {
// this.total = res.data.data.count;
// this.dataList = res.data.data.pageData;
// } else {
// this.Error(res.data.message);
// }
// }, null);
},
}
};
</
script
>
<
style
>
.Sheepcommission
.underline
{
text-decoration
:
underline
;
}
.Sheepcommission
.point
{
cursor
:
pointer
;
}
</
style
>
src/router/config.js
View file @
f3f80fc1
...
@@ -3592,6 +3592,14 @@ export default {
...
@@ -3592,6 +3592,14 @@ export default {
title
:
'营收文件管理'
title
:
'营收文件管理'
},
},
},
},
{
//财务 电商利润
path
:
'/ElectricalProfits'
,
name
:
'ElectricalProfits'
,
component
:
resolve
=>
require
([
'@/components/FinancialModule/ReportForm/ElectricalProfits'
],
resolve
),
meta
:
{
title
:
'电商利润'
},
},
{
//财务 线路收客
{
//财务 线路收客
path
:
'/LineReceiver'
,
path
:
'/LineReceiver'
,
name
:
'LineReceiver'
,
name
:
'LineReceiver'
,
...
...
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