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
2f3c689d
Commit
2f3c689d
authored
Dec 24, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
d5a7ff04
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
49 additions
and
10 deletions
+49
-10
consult-form.vue
src/components/finance/consult-form.vue
+8
-3
courseConsultant.vue
src/pages/financial/market/courseConsultant.vue
+41
-7
No files found.
src/components/finance/consult-form.vue
View file @
2f3c689d
...
...
@@ -146,7 +146,7 @@
</div>
<div
class=
"row wrap"
>
<div
class=
"col-6"
style=
"display:flex;align-items:center;"
>
<q-select
filled
v-model=
"SaleIdsArray"
style=
"width:290px;"
multiple
@
filter=
"filterEmployee"
use-input
<q-select
filled
v-model=
"SaleIdsArray"
style=
"width:290px;"
clearable
multiple
@
filter=
"filterEmployee"
use-input
class=
"q-pb-lg"
:options=
"myEmployeeList"
label=
"适用人员"
option-label=
"EmployeeName"
option-value=
"Id"
emit-value
map-options
/>
<div
class=
"q-gutter-sm q-pb-lg"
>
...
...
@@ -172,7 +172,7 @@
</div>
<div
class=
"col-4"
>
<q-input
filled
stack-label
maxlength=
"20"
:dense=
"false"
v-model=
"item.EndNum"
ref=
"EndNum"
class=
"col-6 q-pb-lg q-pr-lg"
label=
"
开始
人数"
@
keyup
.
native=
"checkInteger(item,'EndNum')"
/>
class=
"col-6 q-pb-lg q-pr-lg"
label=
"
结束
人数"
@
keyup
.
native=
"checkInteger(item,'EndNum')"
/>
</div>
<div
class=
"col-4"
>
<q-input
filled
stack-label
maxlength=
"20"
:dense=
"false"
v-model=
"item.Money"
ref=
"Money"
...
...
@@ -246,10 +246,10 @@
}
},
created
()
{
this
.
getEmployeeList
();
this
.
getCourseList
();
},
mounted
()
{
this
.
getEmployeeList
();
this
.
initObj
()
},
methods
:
{
...
...
@@ -300,6 +300,11 @@
queryEmployee
(
qMsg
).
then
(
res
=>
{
this
.
employeeList
=
res
.
Data
;
this
.
myEmployeeList
=
res
.
Data
;
if
(
this
.
SaleIdsArray
.
length
==
this
.
employeeList
.
length
){
this
.
isCheckAll
=
true
;
}
else
{
this
.
isCheckAll
=
false
;
}
})
},
//筛选员工
...
...
src/pages/financial/market/courseConsultant.vue
View file @
2f3c689d
...
...
@@ -39,6 +39,18 @@
padding-bottom
:
5px
;
margin-bottom
:
5px
;
}
.stulistNum
{
display
:
inline-block
;
width
:
25px
;
height
:
25px
;
text-align
:
center
;
line-height
:
23px
;
border
:
1px
solid
#2961FE
;
border-radius
:
50%
;
cursor
:
pointer
;
color
:
#2961FE
;
}
</
style
>
<
template
>
<div
class=
"page-body marketRules"
>
...
...
@@ -50,8 +62,9 @@
</div>
</div>
<div
class=
"page-content"
>
<q-table
:pagination=
"msg"
:loading=
"loading"
no-data-label=
"暂无相关数据"
flat
class=
"sticky-column-table sticky-right-column-table"
separator=
"none"
:data=
"dataList"
:columns=
"columns"
row-key=
"name"
>
<q-table
:pagination=
"msg"
:loading=
"loading"
no-data-label=
"暂无相关数据"
flat
class=
"sticky-column-table sticky-right-column-table"
separator=
"none"
:data=
"dataList"
:columns=
"columns"
row-key=
"name"
>
<template
v-slot:top
>
<div
class=
"col-2 q-table__title"
>
人头奖金配置
</div>
<q-space
/>
...
...
@@ -61,9 +74,27 @@
</
template
>
<
template
v-slot:body-cell-SaleList=
"props"
>
<q-td>
<div
class=
"border-bottom"
v-for=
"(item,index) in props.row.SaleList"
:key=
"index"
>
{{
item
.
SaleManName
}}
<template
v-if=
"props.row.SaleList"
>
<template
v-if=
"props.row.SaleList.length==1"
>
{{
props
.
row
.
SaleList
[
0
].
SaleManName
}}
</
template
>
<
template
v-if=
"props.row.SaleList.length>1"
>
{{
props
.
row
.
SaleList
[
0
].
SaleManName
}}
:
<span
class=
"stulistNum"
>
{{
props
.
row
.
SaleList
.
length
}}
<q-popup-proxy>
<q-banner>
<div
style=
"width:400px;max-height:600px;overflow-y:auto;"
>
<el-tag
size=
"mini"
style=
"margin:0 10px 10px 0"
v-for=
"(item,index) in props.row.SaleList"
:key=
"index"
>
{{
item
.
SaleManName
}}
</el-tag>
</div>
</q-banner>
</q-popup-proxy>
</span>
</
template
>
<
template
v-if=
"props.row.SaleList.length==0"
>
无
</
template
>
</template>
</q-td>
</template>
<
template
v-slot:body-cell-UseCourseList=
"props"
>
...
...
@@ -83,7 +114,8 @@
<
template
v-slot:body-cell-DetailList=
"props"
>
<q-td>
<div
class=
"border-bottom"
v-for=
"(item,index) in props.row.DetailList"
:key=
"index"
>
月报名人数:
<span
style=
"margin-left:10px;color:blue"
>
{{
item
.
StartNum
}}
-
{{
item
.
EndNum
}}
</span>
人,奖励
<span
style=
"margin-left:10px;color:red"
>
{{
item
.
Money
}}
</span>
元
月报名人数:
<span
style=
"margin-left:10px;color:blue"
>
{{
item
.
StartNum
}}
-
{{
item
.
EndNum
}}
</span>
人,奖励
<span
style=
"margin-left:10px;color:red"
>
{{
item
.
Money
}}
</span>
元
</div>
</q-td>
</
template
>
...
...
@@ -271,7 +303,9 @@
}
},
}
</
script
>
<
style
lang=
"sass"
>
@import
url('~assets/css/table.sass')
</
style
>
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