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
3d222723
Commit
3d222723
authored
Apr 20, 2022
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
61ff89f0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
52 additions
and
3 deletions
+52
-3
AchievementsUserDetailList.vue
src/pages/financial/market/AchievementsUserDetailList.vue
+52
-3
No files found.
src/pages/financial/market/AchievementsUserDetailList.vue
View file @
3d222723
...
...
@@ -46,7 +46,7 @@
<q-btn
color=
"primary"
size=
"11px"
label=
"返回"
@
click=
"goreturn"
style=
"margin-left:10px"
/>
</div>
<div
class=
"col row wrap q-mr-lg q-col-gutter-md"
>
<div
class=
"col-3"
>
<
!--
<
div
class=
"col-3"
>
<q-select
filled
stack-label
...
...
@@ -69,7 +69,7 @@
</q-item>
</
template
>
</q-select>
</div>
</div>
-->
<div
class=
"col-3"
>
<q-select
filled
...
...
@@ -102,6 +102,19 @@
map-options
></q-select>
</div>
<div
class=
"col-3"
>
<q-select
@
input=
"getList"
filled
stack-label
option-value=
"Id"
option-label=
"EmployeeName"
use-input
input-debounce=
"0"
v-model=
"msg.UserId"
:options=
"PersionList"
label=
"销售"
:dense=
"false"
emit-value
map-options
@
filter=
"filterFn2"
>
<
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"
>
<q-input
filled
v-model=
"msg.OrderId"
@
keyup
.
enter
.
native=
"getList()"
label=
"订单号"
/>
</div>
...
...
@@ -238,6 +251,9 @@ import {
getSellAchievementsUserDetailList
,
getSellAchievementsChangeLog
}
from
'../../../api/finance/index'
import
{
queryEmployee
}
from
'../../../api/users/user'
import
{
getClassDropDownList
,
}
from
"../../../api/school/index"
;
...
...
@@ -271,6 +287,8 @@ export default {
ClassList
:
[],
allClassList
:
[],
ChangeLog
:
''
,
PersionList
:
[],
//员工列表
AllemployeeList
:
[],
//所有员工
}
},
created
()
{
},
...
...
@@ -286,6 +304,7 @@ export default {
}
this
.
getList
()
this
.
setClass
()
this
.
getEmployee
()
},
methods
:
{
...
...
@@ -369,7 +388,37 @@ export default {
}
})
},
//获取员工列表
getEmployee
()
{
var
qMsg
=
{
EmployeeName
:
""
}
queryEmployee
(
qMsg
).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
let
obj
=
{
EmployeeName
:
'不限'
,
Id
:
0
}
res
.
Data
.
unshift
(
obj
)
var
jsonData
=
res
.
Data
;
if
(
jsonData
&&
jsonData
.
length
>
0
)
{
this
.
AllemployeeList
=
JSON
.
parse
(
JSON
.
stringify
(
jsonData
));
this
.
PersionList
=
JSON
.
parse
(
JSON
.
stringify
(
jsonData
));;
}
}
})
},
//筛选员工
filterFn2
(
val
,
update
)
{
update
(()
=>
{
if
(
val
===
''
)
{
this
.
PersionList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
AllemployeeList
))
}
else
{
const
needle
=
val
.
toLowerCase
()
this
.
PersionList
=
this
.
AllemployeeList
.
filter
(
v
=>
v
.
EmployeeName
.
toLowerCase
().
indexOf
(
needle
)
>
-
1
)
}
})
},
goUrl
(
path
,
id
)
{
this
.
$router
.
push
({
path
:
'/financial/'
+
path
,
...
...
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