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
ee3cd3f3
Commit
ee3cd3f3
authored
Sep 03, 2024
by
吴春
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/confucius
parents
f808410d
2dea742e
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
210 additions
and
120 deletions
+210
-120
marketCommissionfrom.vue
src/components/finance/marketCommissionfrom.vue
+81
-0
reserve-form.vue
src/components/schedul/reserve-form.vue
+24
-14
reservestudentlist.vue
src/components/schedul/reservestudentlist.vue
+4
-7
student-shiting.vue
src/components/school/student/student-shiting.vue
+16
-56
AchievementsForOrderList.vue
src/pages/financial/market/AchievementsForOrderList.vue
+5
-3
AchievementsUserDetailList.vue
src/pages/financial/market/AchievementsUserDetailList.vue
+25
-19
commissionRule.vue
src/pages/financial/market/commissionRule.vue
+21
-3
employeeCommission.vue
src/pages/financial/market/employeeCommission.vue
+21
-10
marketStatistics.vue
src/pages/financial/market/marketStatistics.vue
+9
-8
orderCompleteStatistics.vue
src/pages/financial/orderCompleteStatistics.vue
+4
-0
No files found.
src/components/finance/marketCommissionfrom.vue
View file @
ee3cd3f3
...
@@ -310,6 +310,58 @@
...
@@ -310,6 +310,58 @@
style=
"margin-left: 10px;"
style=
"margin-left: 10px;"
/>
/>
</div>
</div>
</div>
<div
style=
"margin-bottom: 80px;"
>
<div>
部门共同奖金分配
</div>
<div
v-for=
"(x,y) in addMsg.DeptAwardList"
:key=
"y"
style=
"display: flex;align-items: center;margin-bottom: 10px;"
>
<q-select
filled
stack-label
option-value=
"Id"
option-label=
"EmployeeName"
v-model=
"x.EmpId"
use-input
:options=
"myEmployeeList"
label=
"奖励分配人员"
:dense=
"false"
emit-value
map-options
@
filter=
"filterEmployee"
style=
"width: 240px;margin-right: 5px;"
@
input=
'getDeptPersonnel(x,y)'
/>
<q-input
clearable
filled
v-model=
"x.Rate"
style=
"width: 190px;"
type=
"number"
@
input=
"$forceUpdate()"
label=
"奖励分配比例(%)"
/>
<q-btn
round
size=
"xs"
color=
"deep-orange"
icon=
"delete"
v-if=
"addMsg.DeptAwardList.length > 1"
@
click=
"addMsg.DeptAwardList.splice(y, 1)"
style=
"margin-left: 10px;"
/>
<q-btn
round
size=
"xs"
color=
"primary"
icon=
"add"
v-if=
"addMsg.DeptAwardList.length == y + 1"
@
click=
"addMsg.DeptAwardList.push({ EmpId: '',EmName:'', Rate: '' })"
style=
"margin-left: 10px;"
/>
</div>
</div>
</div>
<div
style=
"width: 100%;height: 50px;position: absolute;left: 0;bottom: 0;background: #FFF;display: flex;align-items: center;padding: 0 20px;justify-content: flex-end;"
>
<div
style=
"width: 100%;height: 50px;position: absolute;left: 0;bottom: 0;background: #FFF;display: flex;align-items: center;padding: 0 20px;justify-content: flex-end;"
>
<q-btn
<q-btn
...
@@ -401,6 +453,9 @@ export default {
...
@@ -401,6 +453,9 @@ export default {
ZGAwardList
:
[
ZGAwardList
:
[
{
StartValue
:
''
,
EndValue
:
''
,
Rate
:
''
}
{
StartValue
:
''
,
EndValue
:
''
,
Rate
:
''
}
],
],
DeptAwardList
:[
{
EmpId
:
null
,
EmName
:
null
,
Rate
:
null
}
]
}
}
}
else
{
//修改
}
else
{
//修改
this
.
addMsg
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
selectData
))
this
.
addMsg
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
selectData
))
...
@@ -414,6 +469,7 @@ export default {
...
@@ -414,6 +469,7 @@ export default {
this
.
addMsg
.
PeopleMoney
=
this
.
addMsg
.
PeopleMoney
?
this
.
addMsg
.
PeopleMoney
:
0
this
.
addMsg
.
PeopleMoney
=
this
.
addMsg
.
PeopleMoney
?
this
.
addMsg
.
PeopleMoney
:
0
this
.
addMsg
.
ExtraMoney
=
this
.
addMsg
.
ExtraMoney
?
this
.
addMsg
.
ExtraMoney
:
0
this
.
addMsg
.
ExtraMoney
=
this
.
addMsg
.
ExtraMoney
?
this
.
addMsg
.
ExtraMoney
:
0
this
.
addMsg
.
EnableZGAward
=
this
.
addMsg
.
EnableZGAward
?
String
(
this
.
addMsg
.
EnableZGAward
):
'0'
this
.
addMsg
.
EnableZGAward
=
this
.
addMsg
.
EnableZGAward
?
String
(
this
.
addMsg
.
EnableZGAward
):
'0'
this
.
addMsg
.
DeptAwardList
=
this
.
addMsg
.
DeptAwardList
?
this
.
addMsg
.
DeptAwardList
:[{
EmpId
:
null
,
EmName
:
null
,
Rate
:
null
}]
if
(
this
.
addMsg
.
EmpList
.
length
==
this
.
employeeList
.
length
){
if
(
this
.
addMsg
.
EmpList
.
length
==
this
.
employeeList
.
length
){
this
.
personnel
=
true
this
.
personnel
=
true
}
else
{
}
else
{
...
@@ -581,6 +637,27 @@ export default {
...
@@ -581,6 +637,27 @@ export default {
}
else
{
}
else
{
msg
.
ZGAwardList
=
[]
msg
.
ZGAwardList
=
[]
}
}
if
(
msg
.
DeptAwardList
.
length
>
0
){
for
(
let
i
=
0
;
i
<
msg
.
DeptAwardList
.
length
;
i
++
){
let
x
=
msg
.
DeptAwardList
[
i
]
if
(
!
x
.
EmpId
){
this
.
$q
.
notify
({
type
:
'negative'
,
message
:
`请选择奖励分配人员`
,
position
:
'top'
})
return
}
if
(
!
x
.
Rate
){
this
.
$q
.
notify
({
type
:
'negative'
,
message
:
`请输入奖励分配比例`
,
position
:
'top'
})
return
}
}
}
this
.
$emit
(
'success'
,
msg
)
this
.
$emit
(
'success'
,
msg
)
}
}
},
},
...
@@ -634,6 +711,10 @@ export default {
...
@@ -634,6 +711,10 @@ export default {
}
}
},
},
getDeptPersonnel
(
item
,
i
){
let
obj
=
this
.
myEmployeeList
.
filter
(
x
=>
{
return
x
.
Id
==
item
.
EmpId
})
if
(
obj
&&
obj
.
length
>
0
)
this
.
addMsg
.
DeptAwardList
[
i
].
EmName
=
obj
[
0
].
EmployeeName
},
getpersonnel
(
type
){
getpersonnel
(
type
){
if
(
type
==
1
){
//人员全选
if
(
type
==
1
){
//人员全选
if
(
this
.
addMsg
.
EmpList
.
length
==
this
.
employeeList
.
length
){
if
(
this
.
addMsg
.
EmpList
.
length
==
this
.
employeeList
.
length
){
...
...
src/components/schedul/reserve-form.vue
View file @
ee3cd3f3
...
@@ -44,8 +44,8 @@
...
@@ -44,8 +44,8 @@
</q-field>
</q-field>
</div>
</div>
<q-select
filled
stack-label
option-value=
"TId"
option-label=
"TeacherName"
v-model=
"objOption.TeacherId"
<q-select
filled
stack-label
option-value=
"TId"
option-label=
"TeacherName"
v-model=
"objOption.TeacherId"
ref=
"TeacherId"
:options=
"TeacherList"
label=
"选择教师"
:dense=
"false"
class=
"col-6
q-pr-lg
"
ref=
"TeacherId"
:options=
"TeacherList"
label=
"选择教师"
:dense=
"false"
class=
"col-6 "
:class=
"[$q.platform.is.desktop?'q-pb-lg
':'q-pb
-sm']"
emit-value
:class=
"[$q.platform.is.desktop?'q-pb-lg
q-pr-lg':'q-pb-sm q-pr
-sm']"
emit-value
map-options
/>
map-options
/>
<q-select
filled
stack-label
option-value=
"RoomId"
option-label=
"RoomName"
v-model=
"objOption.ClassRoomId"
<q-select
filled
stack-label
option-value=
"RoomId"
option-label=
"RoomName"
v-model=
"objOption.ClassRoomId"
...
@@ -54,12 +54,12 @@
...
@@ -54,12 +54,12 @@
map-options
/>
map-options
/>
<q-select
filled
stack-label
option-value=
"Id"
option-label=
"LessonName"
v-model=
"objOption.TrialLessonId"
<q-select
filled
stack-label
option-value=
"Id"
option-label=
"LessonName"
v-model=
"objOption.TrialLessonId"
:options=
"TrialList"
label=
"试听课程"
:dense=
"false"
class=
"col-6
q-pr-lg
"
:options=
"TrialList"
label=
"试听课程"
:dense=
"false"
class=
"col-6"
:class=
"[$q.platform.is.desktop?'q-pb-lg
':'q-pb
-sm']"
emit-value
map-options
/>
:class=
"[$q.platform.is.desktop?'q-pb-lg
q-pr-lg':'q-pb-sm q-pr
-sm']"
emit-value
map-options
/>
<q-select
filled
stack-label
option-value=
"Name"
option-label=
"Name"
v-model=
"objOption.ClassContent"
<
!-- <
q-select filled stack-label option-value="Name" option-label="Name" v-model="objOption.ClassContent"
ref="ClassContent" :options="ContentList" label="主讲内容" :dense="false" class="col-12 q-pb-lg" emit-value
ref="ClassContent" :options="ContentList" label="主讲内容" :dense="false" class="col-12 q-pb-lg" emit-value
map-options
/>
map-options />
-->
</div>
</div>
</q-card-section>
</q-card-section>
<q-separator
/>
<q-separator
/>
...
@@ -120,15 +120,23 @@
...
@@ -120,15 +120,23 @@
TrialList
:
[]
//试听课程下拉数据
TrialList
:
[]
//试听课程下拉数据
}
}
},
},
mounted
()
{
watch
:
{
let
nowDay
=
new
Date
();
saveObj
:{
var
year
=
nowDay
.
getFullYear
();
//年
handler
(
n
){
var
month
=
nowDay
.
getMonth
()
+
1
;
//月
this
.
initObj
()
var
day
=
nowDay
.
getDate
();
//日
},
if
(
month
<
10
)
{
deep
:
true
month
=
'0'
+
month
}
}
this
.
objOption
.
ClassDate
=
year
+
'-'
+
month
+
'-'
+
day
;
},
mounted
()
{
// let nowDay = new Date();
// var year = nowDay.getFullYear(); //年
// var month = nowDay.getMonth() + 1; //月
// var day = nowDay.getDate(); //日
// if (month
<
10
)
{
// month = '0' + month
// }
// this.objOption.ClassDate = year + '-' + month + '-' + day;
this
.
GetTeacherList
();
this
.
GetTeacherList
();
this
.
getClassRoomList
();
this
.
getClassRoomList
();
this
.
GetTrialDrop
();
this
.
GetTrialDrop
();
...
@@ -144,11 +152,13 @@
...
@@ -144,11 +152,13 @@
},
},
//初始化表单
//初始化表单
initObj
()
{
initObj
()
{
this
.
objOption
.
ClassDate
=
this
.
saveObj
.
ReservationDate
if
(
this
.
saveObj
&&
this
.
saveObj
.
ReserveClassId
>
0
)
{
if
(
this
.
saveObj
&&
this
.
saveObj
.
ReserveClassId
>
0
)
{
GetReserveClass
({
GetReserveClass
({
ReserveClassId
:
this
.
saveObj
.
ReserveClassId
ReserveClassId
:
this
.
saveObj
.
ReserveClassId
}).
then
(
res
=>
{
}).
then
(
res
=>
{
if
(
res
.
Code
==
1
)
{
if
(
res
.
Code
==
1
)
{
this
.
objOption
.
ReserveClassId
=
res
.
Data
.
ReserveClassId
;
this
.
objOption
.
ReserveClassId
=
res
.
Data
.
ReserveClassId
;
this
.
objOption
.
TeacherId
=
res
.
Data
.
TeacherId
;
this
.
objOption
.
TeacherId
=
res
.
Data
.
TeacherId
;
this
.
objOption
.
ClassDate
=
res
.
Data
.
ClassDateStr
;
this
.
objOption
.
ClassDate
=
res
.
Data
.
ClassDateStr
;
...
...
src/components/schedul/reservestudentlist.vue
View file @
ee3cd3f3
...
@@ -68,12 +68,12 @@
...
@@ -68,12 +68,12 @@
</div>
</div>
<div
class=
"row justify-end"
>
<div
class=
"row justify-end"
>
<q-btn
label=
"修改"
color=
"primary"
flat
@
click=
"editVisitor(x)"
/>
<q-btn
label=
"修改"
color=
"primary"
flat
@
click=
"editVisitor(x)"
/>
<q-btn
label=
"删除"
color=
"
teal-10
"
flat
@
click=
"DeleteVisitorReserve(x.Id)"
/>
<q-btn
label=
"删除"
color=
"
red-6
"
flat
@
click=
"DeleteVisitorReserve(x.Id)"
/>
</div>
</div>
</q-card>
</q-card>
</
template
>
</
template
>
<reserveForm
v-if=
"isShowReserve"
:save
-o
bj=
"reserveObj"
@
close=
"closeReserveForm"
@
success=
"refreshPage"
>
<reserveForm
v-if=
"isShowReserve"
:save
O
bj=
"reserveObj"
@
close=
"closeReserveForm"
@
success=
"refreshPage"
>
</reserveForm>
</reserveForm>
</div>
</div>
</template>
</template>
...
@@ -109,6 +109,7 @@
...
@@ -109,6 +109,7 @@
label
:
'学生名称'
,
label
:
'学生名称'
,
align
:
'left'
,
align
:
'left'
,
field
:
'StuName'
,
field
:
'StuName'
,
required
:
true
,
},
},
{
{
name
:
'ReservationDate'
,
name
:
'ReservationDate'
,
...
@@ -207,11 +208,7 @@ return timeStr;
...
@@ -207,11 +208,7 @@ return timeStr;
},
},
//编辑试听
//编辑试听
editVisitor
(
obj
)
{
editVisitor
(
obj
)
{
if
(
obj
)
{
this
.
reserveObj
=
obj
this
.
reserveObj
=
obj
}
else
{
this
.
reserveObj
=
null
}
this
.
isShowReserve
=
true
;
this
.
isShowReserve
=
true
;
},
},
//关闭弹窗
//关闭弹窗
...
...
src/components/school/student/student-shiting.vue
View file @
ee3cd3f3
...
@@ -90,56 +90,9 @@
...
@@ -90,56 +90,9 @@
</div>
</div>
</el-dialog>
</el-dialog>
<el-dialog
title=
"试听开课"
:visible
.
sync=
"VisitorReserveClassMsg.IsShow"
width=
"30%"
>
<el-dialog
title=
"试听开课"
:visible
.
sync=
"VisitorReserveClassMsg.IsShow"
width=
"30%"
@
close=
"closeShitingKaiKe"
>
<div
class=
"row wrap"
>
<audition
:VisitorReserveClassMsg=
"VisitorReserveClassMsg"
<div
style=
"width:100%;margin-bottom:15px;"
>
试听时间:
<span
style=
"color:red;"
>
{{timeFormatSeconds(VisitorReserveClassMsg.ReservationDate)}}
</span></div>
@
close=
"closeShitingKaiKe"
@
success=
"SetVisitorReserveClass()"
></audition>
<div
style=
"width:100%;margin-bottom:15px;"
>
试听需求:
<span
style=
"color:red;"
>
{{VisitorReserveClassMsg.Demand}}
</span></div>
</div>
<div
class=
"row studentDate"
>
<q-field
filled
class=
"col-6 q-pb-lg q-pr-lg"
dense
>
<
template
v-slot:control
>
<el-date-picker
v-model=
"VisitorReserveClassMsg.ClassDate"
ref=
"ClassDate"
:rules=
"[val => !!val || '请选择预约日期']"
style=
"width:225px"
size=
"mini"
type=
"date"
placeholder=
"预约日期"
value-format=
"yyyy-MM-dd"
>
</el-date-picker>
</
template
>
</q-field>
<div
class=
"col-6 q-pr-lg Student_Date "
>
<q-field
filled
class=
"q-pb-lg"
dense
>
<
template
v-slot:control
>
<el-time-select
v-model=
"VisitorReserveClassMsg.ClassTime"
size=
"mini"
ref=
"ClassTime"
style=
"width:50%"
:picker-options=
"
{
start: '09:00',
step: '00:15',
end: '21:00',
maxTime: VisitorReserveClassMsg.EndTime
}" placeholder="预约开始时间">
</el-time-select>
<el-time-select
v-model=
"VisitorReserveClassMsg.EndTime"
size=
"mini"
dense
ref=
"EndTime"
style=
"width:50%"
:picker-options=
"
{
start: '09:00',
step: '00:15',
end: '21:00',
minTime: VisitorReserveClassMsg.ClassTime
}" placeholder="预约结束时间">
</el-time-select>
</
template
>
</q-field>
</div>
</div>
<div
class=
"row wrap"
>
<q-select
filled
stack-label
option-value=
"TId"
option-label=
"TeacherName"
v-model=
"VisitorReserveClassMsg.TeacherId"
ref=
"TeacherId"
:options=
"TeacherList"
label=
"选择教师"
dense
class=
"col-6 q-pb-lg q-pr-lg"
emit-value
map-options
/>
<q-select
filled
stack-label
option-value=
"RoomId"
dense
option-label=
"RoomName"
v-model=
"VisitorReserveClassMsg.ClassRoomId"
ref=
"ClassRoomId"
:options=
"ClassRoomList"
label=
"关联教室"
class=
"col-6 q-pb-lg q-pr-lg"
emit-value
map-options
/>
<q-select
filled
stack-label
option-value=
"Id"
dense
option-label=
"LessonName"
v-model=
"VisitorReserveClassMsg.TrialLessonId"
:options=
"TrialList"
label=
"试听课程"
class=
"col-6 q-pb-lg q-pr-lg"
emit-value
map-options
/>
</div>
<div
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"closeShitingKaiKe()"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"SetVisitorReserveClass()"
>
确 定
</el-button>
</div>
</el-dialog>
</el-dialog>
</div>
</div>
</template>
</template>
...
@@ -159,6 +112,7 @@
...
@@ -159,6 +112,7 @@
}
from
"../../../api/school/index"
;
}
from
"../../../api/school/index"
;
import
reserveclassForm
from
"./reserveclass-form"
;
import
reserveclassForm
from
"./reserveclass-form"
;
import
reserveclasskaikeform
from
"./reserveclasskaikeform"
;
import
reserveclasskaikeform
from
"./reserveclasskaikeform"
;
import
audition
from
"../../../pages/h5page/audition"
;
export
default
{
export
default
{
meta
:
{
meta
:
{
...
@@ -167,7 +121,8 @@
...
@@ -167,7 +121,8 @@
components
:
{
components
:
{
reserveclassForm
,
reserveclassForm
,
reserveclasskaikeform
,
reserveclasskaikeform
,
UeEditor
UeEditor
,
audition
},
},
props
:
{
props
:
{
saveObj
:
{
saveObj
:
{
...
@@ -258,6 +213,10 @@ return timeStr;
...
@@ -258,6 +213,10 @@ return timeStr;
},
},
//保存
//保存
SetVisitorReserveClass
()
{
SetVisitorReserveClass
()
{
this
.
closeShitingKaiKe
();
this
.
getList
();
this
.
$forceUpdate
()
return
if
(
this
.
VisitorReserveClassMsg
.
ClassDate
==
""
)
{
if
(
this
.
VisitorReserveClassMsg
.
ClassDate
==
""
)
{
this
.
$q
.
notify
({
this
.
$q
.
notify
({
type
:
"negative"
,
type
:
"negative"
,
...
@@ -324,6 +283,7 @@ return timeStr;
...
@@ -324,6 +283,7 @@ return timeStr;
this
.
VisitorReserveClassMsg
.
ClassPlanId
=
0
;
this
.
VisitorReserveClassMsg
.
ClassPlanId
=
0
;
this
.
VisitorReserveClassMsg
.
Demand
=
""
;
this
.
VisitorReserveClassMsg
.
Demand
=
""
;
this
.
VisitorReserveClassMsg
.
IsShow
=
false
;
this
.
VisitorReserveClassMsg
.
IsShow
=
false
;
this
.
$forceUpdate
()
},
},
//试听课开课
//试听课开课
ShitingKaiKe
(
item
){
ShitingKaiKe
(
item
){
...
...
src/pages/financial/market/AchievementsForOrderList.vue
View file @
ee3cd3f3
...
@@ -65,10 +65,10 @@
...
@@ -65,10 +65,10 @@
</el-table-column>
</el-table-column>
<el-table-column
prop=
"UserName"
label=
"人员"
:filters=
'UserNamelist'
:filter-method=
"filterHandler"
>
<el-table-column
prop=
"UserName"
label=
"人员"
:filters=
'UserNamelist'
:filter-method=
"filterHandler"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"IsDept"
label=
"业绩方式"
>
<el-table-column
prop=
"Is
Common
Dept"
label=
"业绩方式"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.IsDept==1"
>
部门
</span>
<span
v-if=
"scope.row.Is
Common
Dept==1"
>
部门
</span>
<span
v-if=
"scope.row.Is
Dept==2
"
>
个人
</span>
<span
v-if=
"scope.row.Is
CommonDept==0
"
>
个人
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
width=
'170'
prop=
"ClassName"
label=
"班级信息"
>
<el-table-column
width=
'170'
prop=
"ClassName"
label=
"班级信息"
>
...
@@ -99,6 +99,8 @@
...
@@ -99,6 +99,8 @@
<div
v-if=
"scope.row.OtherMoney"
>
额外奖励:
{{
scope
.
row
.
OtherMoney
}}
</div>
<div
v-if=
"scope.row.OtherMoney"
>
额外奖励:
{{
scope
.
row
.
OtherMoney
}}
</div>
<div
v-if=
"scope.row.BackMoney"
>
额外扣除:
{{
scope
.
row
.
BackMoney
}}
</div>
<div
v-if=
"scope.row.BackMoney"
>
额外扣除:
{{
scope
.
row
.
BackMoney
}}
</div>
<div
v-if=
"scope.row.GiveOutMoney"
>
累计已发:
{{
scope
.
row
.
GiveOutMoney
}}
</div>
<div
v-if=
"scope.row.GiveOutMoney"
>
累计已发:
{{
scope
.
row
.
GiveOutMoney
}}
</div>
<div
v-if=
"scope.row.OrderSaleMoney"
>
订单业绩:
{{
scope
.
row
.
OrderSaleMoney
}}
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
...
...
src/pages/financial/market/AchievementsUserDetailList.vue
View file @
ee3cd3f3
...
@@ -94,7 +94,7 @@
...
@@ -94,7 +94,7 @@
option-value=
"Id"
option-value=
"Id"
@
input=
"getList"
@
input=
"getList"
option-label=
"Name"
option-label=
"Name"
v-model=
"msg.IsDept"
v-model=
"msg.Is
Common
Dept"
:options=
"IsDeptList"
:options=
"IsDeptList"
label=
"业绩方式"
label=
"业绩方式"
:dense=
"false"
:dense=
"false"
...
@@ -139,10 +139,10 @@
...
@@ -139,10 +139,10 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"UserName"
label=
"销售"
></el-table-column>
<el-table-column
prop=
"UserName"
label=
"销售"
></el-table-column>
<el-table-column
prop=
"IsDept"
label=
"业绩方式"
>
<el-table-column
prop=
"Is
Common
Dept"
label=
"业绩方式"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.IsDept == 1"
>
部门
</span>
<span
v-if=
"scope.row.Is
Common
Dept == 1"
>
部门
</span>
<span
v-if=
"scope.row.Is
Dept == 2
"
>
个人
</span>
<span
v-if=
"scope.row.Is
CommonDept == 0
"
>
个人
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
width=
"130"
prop=
"ClassName"
label=
"班级信息"
>
<el-table-column
width=
"130"
prop=
"ClassName"
label=
"班级信息"
>
...
@@ -175,17 +175,8 @@
...
@@ -175,17 +175,8 @@
>
{{
scope
.
row
.
OrderId
!=-
1
?
scope
.
row
.
OrderId
:
'有效到访奖励'
}}
</div>
>
{{
scope
.
row
.
OrderId
!=-
1
?
scope
.
row
.
OrderId
:
'有效到访奖励'
}}
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"IssueNum"
label=
"发放次数"
width=
"94"
>
<
template
slot-scope=
"scope"
>
<div
v-if=
"scope.row.IssueNum"
style=
"cursor: pointer;text-decoration: underline;"
@
click=
"goorderUrl(scope.row)"
>
发放第
{{
scope
.
row
.
IssueNum
}}
次
</div>
</
template
>
</el-table-column>
<el-table-column
width=
"1
3
0"
prop=
"TotalCommissionMoney"
label=
"订单发放信息"
>
<el-table-column
width=
"1
5
0"
prop=
"TotalCommissionMoney"
label=
"订单发放信息"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div
v-if=
"scope.row.TotalCommissionMoney"
style=
"color: rgb(255, 156, 0);cursor: pointer;text-decoration: underline;"
@
click=
"getmingxi(scope.row)"
>
<div
v-if=
"scope.row.TotalCommissionMoney"
style=
"color: rgb(255, 156, 0);cursor: pointer;text-decoration: underline;"
@
click=
"getmingxi(scope.row)"
>
...
@@ -199,15 +190,17 @@
...
@@ -199,15 +190,17 @@
<div
v-if=
"scope.row.OtherMoney"
>
额外奖励:
{{
scope
.
row
.
OtherMoney
}}
</div>
<div
v-if=
"scope.row.OtherMoney"
>
额外奖励:
{{
scope
.
row
.
OtherMoney
}}
</div>
<div
v-if=
"scope.row.BackMoney"
>
额外扣除:
{{
scope
.
row
.
BackMoney
}}
</div>
<div
v-if=
"scope.row.BackMoney"
>
额外扣除:
{{
scope
.
row
.
BackMoney
}}
</div>
<div
v-if=
"scope.row.GiveOutMoney"
>
累计已发:
{{
scope
.
row
.
GiveOutMoney
}}
</div>
<div
v-if=
"scope.row.GiveOutMoney"
>
累计已发:
{{
scope
.
row
.
GiveOutMoney
}}
</div>
<div
v-if=
"scope.row.OrderSaleMoney"
>
订单业绩:
{{
scope
.
row
.
OrderSaleMoney
}}
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"IsFirstCommission"
label=
"首次发放"
>
<
!-- <
el-table-column prop="IsFirstCommission" label="首次发放">
<template slot-scope="scope">
<template slot-scope="scope">
<div
<div
v-if="scope.row.IsFirstCommission"
v-if="scope.row.IsFirstCommission"
>{{ scope.row.IsFirstCommission == 1 ? '是' : '否' }}</div>
>{{ scope.row.IsFirstCommission == 1 ? '是' : '否' }}</div>
</template>
</template>
</el-table-column>
</el-table-column>
-->
<el-table-column
prop=
"TotalHours"
label=
"课时统计"
width=
"120"
>
<el-table-column
prop=
"TotalHours"
label=
"课时统计"
width=
"120"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div
v-if=
"scope.row.TotalHours"
>
总计课时:
{{
scope
.
row
.
TotalHours
}}
</div>
<div
v-if=
"scope.row.TotalHours"
>
总计课时:
{{
scope
.
row
.
TotalHours
}}
</div>
...
@@ -241,6 +234,15 @@
...
@@ -241,6 +234,15 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
width=
"90"
prop=
"PeopleNumMoney"
label=
"人头奖励"
></el-table-column>
<el-table-column
width=
"90"
prop=
"PeopleNumMoney"
label=
"人头奖励"
></el-table-column>
<el-table-column
prop=
"IssueNum"
label=
"发放次数"
width=
"94"
>
<
template
slot-scope=
"scope"
>
<div
v-if=
"scope.row.IssueNum"
style=
"cursor: pointer;text-decoration: underline;"
@
click=
"goorderUrl(scope.row)"
>
发放第
{{
scope
.
row
.
IssueNum
}}
次
</div>
</
template
>
</el-table-column>
<el-table-column
width=
"90"
prop=
"Periods"
label=
"期数"
></el-table-column>
<el-table-column
width=
"90"
prop=
"Periods"
label=
"期数"
></el-table-column>
<el-table-column
prop=
"Remark"
width=
"160"
label=
"备注"
></el-table-column>
<el-table-column
prop=
"Remark"
width=
"160"
label=
"备注"
></el-table-column>
</el-table>
</el-table>
...
@@ -278,11 +280,11 @@ export default {
...
@@ -278,11 +280,11 @@ export default {
ClassId
:
0
,
ClassId
:
0
,
OrderId
:
''
,
OrderId
:
''
,
UserType
:
0
,
//类型 1市场、2顾问、3教师
UserType
:
0
,
//类型 1市场、2顾问、3教师
Is
Dept
:
0
,
//业绩方式 1部门 2个人
Is
CommonDept
:
'0'
,
//业绩方式 1部门 2个人
UserIds
:
''
,
UserIds
:
''
,
},
},
UserTypeList
:
[{
Id
:
0
,
Name
:
'不限'
},
{
Id
:
1
,
Name
:
'市场'
},
{
Id
:
2
,
Name
:
'顾问'
},
{
Id
:
3
,
Name
:
'教师'
},],
UserTypeList
:
[{
Id
:
0
,
Name
:
'不限'
},
{
Id
:
1
,
Name
:
'市场'
},
{
Id
:
2
,
Name
:
'顾问'
},
{
Id
:
3
,
Name
:
'教师'
},],
IsDeptList
:
[{
Id
:
0
,
Name
:
'不限'
},
{
Id
:
1
,
Name
:
'部门'
},
{
Id
:
2
,
Name
:
'个人'
}],
IsDeptList
:
[{
Id
:
'0'
,
Name
:
'不限'
},
{
Id
:
'1'
,
Name
:
'部门'
},
{
Id
:
'2'
,
Name
:
'个人'
}],
pageCount
:
0
,
pageCount
:
0
,
persistent
:
false
,
persistent
:
false
,
listData
:
{},
listData
:
{},
...
@@ -307,6 +309,9 @@ export default {
...
@@ -307,6 +309,9 @@ export default {
if
(
this
.
$route
.
query
&&
this
.
$route
.
query
.
UserIds
)
{
if
(
this
.
$route
.
query
&&
this
.
$route
.
query
.
UserIds
)
{
this
.
msg
.
UserIds
=
this
.
$route
.
query
.
UserIds
this
.
msg
.
UserIds
=
this
.
$route
.
query
.
UserIds
}
}
if
(
this
.
$route
.
query
&&
this
.
$route
.
query
.
IsCommonDept
){
this
.
msg
.
IsCommonDept
=
this
.
$route
.
query
.
IsCommonDept
}
this
.
getList
()
this
.
getList
()
this
.
setClass
()
this
.
setClass
()
this
.
getEmployee
()
this
.
getEmployee
()
...
@@ -331,7 +336,8 @@ export default {
...
@@ -331,7 +336,8 @@ export default {
let
obj
=
{
let
obj
=
{
SchoolName
:
'合计'
,
SchoolName
:
'合计'
,
YFMoney
:
0
,
YFMoney
:
0
,
PeopleNumMoney
:
0
PeopleNumMoney
:
0
,
IsCommonDept
:
-
1
}
}
this
.
tableData
.
forEach
((
x
)
=>
{
this
.
tableData
.
forEach
((
x
)
=>
{
if
(
x
.
YFMoney
)
{
if
(
x
.
YFMoney
)
{
...
...
src/pages/financial/market/commissionRule.vue
View file @
ee3cd3f3
...
@@ -48,9 +48,9 @@
...
@@ -48,9 +48,9 @@
<div
class=
"col row wrap q-mr-lg q-col-gutter-md"
></div>
<div
class=
"col row wrap q-mr-lg q-col-gutter-md"
></div>
</div>
</div>
<template>
<template>
<div
class=
"
cycle_Title
"
>
<div
class=
"
row justify-between q-pb-lg
"
>
业绩提成规则
<span
class=
"cycle_Title"
>
业绩提成规则
</span>
<q-btn
color=
"accent"
size=
"
sm
"
icon=
"add"
label=
"新增规则"
@
click=
"AddMsg()"
/>
<q-btn
color=
"accent"
size=
"
xs
"
icon=
"add"
label=
"新增规则"
@
click=
"AddMsg()"
/>
</div>
</div>
<div
<div
class=
"cm_content"
class=
"cm_content"
...
@@ -233,6 +233,24 @@
...
@@ -233,6 +233,24 @@
</tr>
</tr>
</table>
</table>
<table
v-if=
"item.IsDeptAward=='1'"
class=
"po_content singeRowTable"
style=
"border:1px solid #E6E6E6;"
cellspacing=
"0"
cellpadding=
"0"
>
<tr>
<td
rowspan=
"2"
width=
"100"
style=
"min-width: 100px;"
>
部门共同奖金包分配
</td>
<th
style=
"min-width: 220px;"
v-for=
"( son , sIndex ) in item.DeptAwardList"
:key=
"sIndex"
>
{{
son
.
EmName
}}
</th>
</tr>
<tr
style=
""
>
<td
style=
"min-width: 220px;"
v-for=
"( son , sIndex ) in item.DeptAwardList"
:key=
"sIndex"
>
{{
son
.
Rate
}}
%
</td>
</tr>
</table>
</div>
</div>
</div>
</div>
...
...
src/pages/financial/market/employeeCommission.vue
View file @
ee3cd3f3
...
@@ -67,7 +67,7 @@
...
@@ -67,7 +67,7 @@
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<div
class=
"_icon_btn"
>
<div
class=
"_icon_btn"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"查看"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"查看"
placement=
"top"
>
<i
class=
"iconfont icon-sousuo"
@
click=
"goUrl('market/AchievementsUserDetailList',scope.row.UserId)"
></i>
<i
class=
"iconfont icon-sousuo"
@
click=
"goUrl('market/AchievementsUserDetailList',scope.row.
IsCommonDept,scope.row.
UserId)"
></i>
</el-tooltip>
</el-tooltip>
</div>
</div>
</
template
>
</
template
>
...
@@ -174,7 +174,17 @@
...
@@ -174,7 +174,17 @@
goUrl
(
path
,
id
)
{
goUrl
(
path
,
IsCommonDept
,
id
)
{
if
(
IsCommonDept
==
1
){
this
.
$router
.
push
({
path
:
'/financial/'
+
path
,
query
:
{
IsCommonDept
:
IsCommonDept
,
preriodId
:
this
.
$route
.
query
.
id
,
blank
:
'y'
,
}
})
}
else
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/financial/'
+
path
,
path
:
'/financial/'
+
path
,
query
:
{
query
:
{
...
@@ -183,6 +193,7 @@
...
@@ -183,6 +193,7 @@
blank
:
'y'
,
blank
:
'y'
,
}
}
})
})
}
},
},
filterHandler
(
value
,
row
,
column
)
{
filterHandler
(
value
,
row
,
column
)
{
const
property
=
column
[
'property'
];
const
property
=
column
[
'property'
];
...
...
src/pages/financial/market/marketStatistics.vue
View file @
ee3cd3f3
...
@@ -94,7 +94,7 @@
...
@@ -94,7 +94,7 @@
</div>
</div>
<div
class=
"col-3"
>
<div
class=
"col-3"
>
<q-select
filled
stack-label
input-debounce=
"0"
option-value=
"Id"
@
input=
"resetSearch()"
option-label=
"Name"
<q-select
filled
stack-label
input-debounce=
"0"
option-value=
"Id"
@
input=
"resetSearch()"
option-label=
"Name"
v-model=
"msg.IsDept"
:options=
"IsDeptList"
label=
"业绩方式"
:dense=
"false"
emit-value
map-options
>
v-model=
"msg.Is
Common
Dept"
:options=
"IsDeptList"
label=
"业绩方式"
:dense=
"false"
emit-value
map-options
>
</q-select>
</q-select>
</div>
</div>
</div>
</div>
...
@@ -117,10 +117,10 @@
...
@@ -117,10 +117,10 @@
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"UserName"
label=
"人员"
>
</el-table-column>
<el-table-column
prop=
"UserName"
label=
"人员"
>
</el-table-column>
<el-table-column
prop=
"IsDept"
label=
"业绩方式"
>
<el-table-column
prop=
"Is
Common
Dept"
label=
"业绩方式"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<span
v-if=
"scope.row.IsDept==1"
>
部门
</span>
<span
v-if=
"scope.row.Is
Common
Dept==1"
>
部门
</span>
<span
v-if=
"scope.row.Is
Dept==2
"
>
个人
</span>
<span
v-if=
"scope.row.Is
CommonDept==0
"
>
个人
</span>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
width=
'170'
prop=
"ClassName"
label=
"班级信息"
>
<el-table-column
width=
'170'
prop=
"ClassName"
label=
"班级信息"
>
...
@@ -145,7 +145,7 @@
...
@@ -145,7 +145,7 @@
{{
scope
.
row
.
OrderId
!=-
1
?
scope
.
row
.
OrderId
:
'有效到访奖励'
}}
</div>
{{
scope
.
row
.
OrderId
!=-
1
?
scope
.
row
.
OrderId
:
'有效到访奖励'
}}
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
width=
'1
3
0'
prop=
"TotalCommissionMoney"
label=
"订单发放信息"
>
<el-table-column
width=
'1
5
0'
prop=
"TotalCommissionMoney"
label=
"订单发放信息"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div
style=
"color: rgb(255, 156, 0);cursor: pointer;text-decoration: underline;"
<div
style=
"color: rgb(255, 156, 0);cursor: pointer;text-decoration: underline;"
@
click=
"getmingxi(scope.row)"
>
@
click=
"getmingxi(scope.row)"
>
...
@@ -157,13 +157,14 @@
...
@@ -157,13 +157,14 @@
</q-popup-proxy>
</q-popup-proxy>
</div>
</div>
<div>
累计已发:
{{
scope
.
row
.
GiveOutMoney
}}
</div>
<div>
累计已发:
{{
scope
.
row
.
GiveOutMoney
}}
</div>
<div
v-if=
"scope.row.OrderSaleMoney"
>
订单业绩:
{{
scope
.
row
.
OrderSaleMoney
}}
</div>
</
template
>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"IsFirstCommission"
label=
"首次发放"
>
<
!-- <
el-table-column prop="IsFirstCommission" label="首次发放">
<template slot-scope="scope">
<template slot-scope="scope">
<div>{{scope.row.IsFirstCommission==1?'是':'否'}}</div>
<div>{{scope.row.IsFirstCommission==1?'是':'否'}}</div>
</template>
</template>
</el-table-column>
</el-table-column>
-->
<el-table-column
prop=
"TotalHours"
label=
"课时统计"
width=
'160'
>
<el-table-column
prop=
"TotalHours"
label=
"课时统计"
width=
'160'
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<div>
总计课时:
{{
scope
.
row
.
TotalHours
}}
</div>
<div>
总计课时:
{{
scope
.
row
.
TotalHours
}}
</div>
...
@@ -242,7 +243,7 @@
...
@@ -242,7 +243,7 @@
ClassId
:
0
,
ClassId
:
0
,
OrderId
:
''
,
OrderId
:
''
,
UserType
:
0
,
//类型 1市场、2顾问、3教师
UserType
:
0
,
//类型 1市场、2顾问、3教师
IsDept
:
0
,
//业绩方式 1部门 2个人
Is
Common
Dept
:
0
,
//业绩方式 1部门 2个人
},
},
UserTypeList
:
[{
UserTypeList
:
[{
Id
:
0
,
Id
:
0
,
...
...
src/pages/financial/orderCompleteStatistics.vue
View file @
ee3cd3f3
...
@@ -61,6 +61,10 @@ td .border-b:last-child {
...
@@ -61,6 +61,10 @@ td .border-b:last-child {
.orderCompleteStatistics
td
{
.orderCompleteStatistics
td
{
color
:
#000
;
color
:
#000
;
}
}
.el-form-item
{
margin-bottom
:
7px
;
}
</
style
>
</
style
>
<
template
>
<
template
>
<div
class=
"page_EasyReport My_table_tell page-body"
v-loading=
"AALloading"
>
<div
class=
"page_EasyReport My_table_tell page-body"
v-loading=
"AALloading"
>
...
...
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