Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
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
罗超
confucius
Commits
724a52be
Commit
724a52be
authored
Apr 12, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
用户返佣修改
parent
5c255758
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
61 additions
and
30 deletions
+61
-30
ReturnUserList.vue
src/pages/financial/returnPassbook/ReturnUserList.vue
+61
-30
No files found.
src/pages/financial/returnPassbook/ReturnUserList.vue
View file @
724a52be
...
...
@@ -47,8 +47,20 @@
</div>
<div
class=
"col row wrap q-mr-lg q-col-gutter-md"
>
<div
class=
"col-3"
v-if=
"isShowFrom"
>
<q-select
filled
stack-label
:disable=
"!isShowFrom"
input-debounce=
"0"
option-value=
"Id"
@
input=
"getlaiyuan"
option-label=
"Name"
v-model=
"msg.OrderSourceType"
:options=
"customFromList"
label=
"来源"
dense
emit-value
map-options
>
<q-select
filled
stack-label
:disable=
"!isShowFrom"
input-debounce=
"0"
option-value=
"Id"
@
input=
"getlaiyuan"
option-label=
"Name"
v-model=
"msg.OrderSourceType"
:options=
"customFromList"
label=
"来源"
:dense=
"false"
emit-value
map-options
>
</q-select>
</div>
<div
class=
"col-3"
v-if=
"msg.OrderSourceType == 1 || msg.OrderSourceType == 3"
>
<q-select
filled
stack-label
clearable
v-model=
"msg.UserDept"
:dense=
"false"
:options=
"DepartmentList"
use-input
@
input=
"getList(),getEmployeeList()"
label=
"部门"
@
filter=
"filterEmployee"
option-label=
"DeptName"
option-value=
"DeptId"
emit-value
map-options
>
<template
v-slot:no-option
>
<q-item>
<q-item-section
class=
"text-grey"
>
未找到相关数据
</q-item-section>
</q-item>
</
template
>
</q-select>
</div>
<div
class=
"col-3"
v-if=
"msg.OrderSourceType == 1 || msg.OrderSourceType == 3"
>
...
...
@@ -84,6 +96,10 @@
</
template
>
</q-select>
</div>
<div
class=
"col-3"
style=
"float:right;"
>
<q-btn
color=
"accent"
class=
"q-mr-md"
size=
"sm"
icon=
"download"
style=
"margin-top:15px;"
@
click=
"DownLoadCommissionUserList"
label=
"下载"
/>
</div>
</div>
</div>
</div>
...
...
@@ -91,6 +107,7 @@
<el-table
ref=
"filterTable"
:data=
"tableData"
v-loading=
"loading"
:header-cell-style=
"
{ backgroundColor: '#f5f6f7', color: '#a8a8b3' }" border style="width: 100%">
<el-table-column
prop=
"SchoolName"
label=
"校区"
></el-table-column>
<el-table-column
prop=
"UserDeptName"
label=
"部门"
></el-table-column>
<el-table-column
prop=
"UserName"
label=
"人员"
:filters=
"UserNamelist"
:filter-method=
"filterHandler"
>
</el-table-column>
<el-table-column
prop=
"OrderSourceType"
label=
"类型"
>
...
...
@@ -125,17 +142,23 @@
getCommissionUserList
,
}
from
'../../../api/finance/index'
import
{
getSchoolDropdown
,
getStudentDorpDownList
}
from
"../../../api/school/index"
;
import
{
getDeptList
}
from
'../../../api/system/dept'
import
{
queryEmployee
}
from
'../../../api/users/user'
import
{
CreateTypeList
,
GetCustomerList
}
from
'../../../api/sale/sale'
import
{
EduDownLoad
}
from
"../../../api/common/common"
;
export
default
{
meta
:
{
title
:
"销售提成详情"
...
...
@@ -153,12 +176,11 @@
OrderSourceType
:
'-1'
,
OrderSourceId
:
0
,
Q_SelectNormal
:
'2'
,
UserDept
:
0
UserDept
:
""
,
},
pageCount
:
0
,
persistent
:
false
,
tableData
:
[],
CompanyList
:
[],
StatusList
:
[{
Id
:
'-2'
,
Name
:
'不限'
...
...
@@ -180,17 +202,24 @@
UserNamelist
:
[],
employeeList
:
[],
myEmployeeList
:
[],
TransListData
:
[],
//转介人数据
MyTransListData
:
[],
customList
:
[],
//同行列表
allCustomList
:
[],
//所有同行列表
InvitationList
:
[],
//学员下拉数据
AllInvitationList
:
[],
isShowFrom
:
true
isShowFrom
:
true
,
DepartmentList
:
[],
//部门列表
}
},
created
()
{},
created
()
{
this
.
getCustomFrom
();
this
.
queryDeptList
();
this
.
getEmployeeList
()
this
.
getStudentDorpDown
()
this
.
GetCustomerList
()
this
.
getStudentList
();
//学员下拉
},
mounted
()
{
if
(
this
.
$route
.
query
&&
this
.
$route
.
query
.
id
)
{
this
.
msg
.
BatchId
=
this
.
$route
.
query
.
id
...
...
@@ -198,18 +227,11 @@
if
(
this
.
$route
.
query
.
ReFinanceId2
)
{
this
.
msg
.
UserDept
=
this
.
$route
.
query
.
ReFinanceId2
;
}
if
(
this
.
$route
.
query
&&
this
.
$route
.
query
.
ReFinanceId2
==
0
)
{
this
.
msg
.
OrderSourceType
=
4
;
this
.
isShowFrom
=
false
;
if
(
this
.
$route
.
query
&&
this
.
$route
.
query
.
ReFinanceId2
==
0
)
{
this
.
msg
.
OrderSourceType
=
4
;
this
.
isShowFrom
=
false
;
}
this
.
getList
()
this
.
getBranchList
()
this
.
getCustomFrom
()
this
.
getEmployeeList
()
this
.
getStudentDorpDown
()
this
.
GetCustomerList
()
this
.
getStudentList
();
//学员下拉
},
methods
:
{
getList
()
{
...
...
@@ -234,6 +256,18 @@
}
})
},
//现在
DownLoadCommissionUserList
()
{
this
.
loading
=
true
;
var
msg
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
msg
));
EduDownLoad
(
"/CustomerCommission/DownLoadCommissionUserList"
,
msg
,
"用户返佣.xls"
,
res
=>
{
this
.
loading
=
false
;
}
);
},
getlaiyuan
()
{
if
(
this
.
msg
.
OrderSourceType
==
-
1
)
{
this
.
msg
.
OrderSourceId
=
0
...
...
@@ -242,17 +276,13 @@
}
this
.
getList
()
},
getBranchList
()
{
//获取校区
getSchoolDropdown
({}).
then
(
res
=>
{
let
obj
=
{
SName
:
'不限'
,
SId
:
'-1'
queryDeptList
()
{
var
qMsg
=
{};
getDeptList
(
qMsg
).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
this
.
DepartmentList
=
res
.
Data
;
}
this
.
CompanyList
=
res
.
Data
;
this
.
CompanyList
.
unshift
(
obj
);
}).
catch
(()
=>
{
})
});
},
//获取客户来源
getCustomFrom
()
{
...
...
@@ -301,7 +331,8 @@
//获取员工列表
getEmployeeList
()
{
queryEmployee
({
IsLeave
:
1
IsLeave
:
1
,
Dept_Id
:
this
.
msg
.
UserDept
}).
then
(
res
=>
{
this
.
employeeList
=
res
.
Data
;
this
.
myEmployeeList
=
res
.
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