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
363be216
Commit
363be216
authored
Dec 07, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
0a9efcf7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
656 additions
and
772 deletions
+656
-772
sale-form.vue
src/components/sale/sale-form.vue
+32
-44
stopbill-form.vue
src/components/sale/stopbill-form.vue
+509
-637
commsionManagement.vue
src/pages/sale/commsionManagement.vue
+13
-1
happyPassbook.vue
src/pages/sale/happyPassbook.vue
+102
-90
No files found.
src/components/sale/sale-form.vue
View file @
363be216
...
...
@@ -49,6 +49,11 @@
.el-select-dropdown
{
z-index
:
9999
!
important
;
}
.CusTask_Date
.el-input__inner
{
background
:
transparent
!
important
;
border
:
0
!
important
;
}
</
style
>
<
template
>
<q-dialog
v-model=
"persistent"
content-class=
"bg-grey-1"
persistent
transition-show=
"scale"
>
...
...
@@ -69,55 +74,40 @@
</div>
<div
class=
"row wrap q-pb-lg"
>
<div
class=
"col-6"
>
<q-input
filled
v-model=
"objOption.TaskStartTime"
class=
"q-pr-lg"
mask=
"date"
label=
"开始时间"
>
<template
v-slot:append
>
<q-icon
name=
"event"
class=
"cursor-pointer"
>
<q-popup-proxy
ref=
"qDateProxy1"
cover
transition-show=
"scale"
transition-hide=
"scale"
>
<q-date
v-model=
"objOption.TaskStartTime"
>
<div
class=
"row items-center justify-end"
>
<q-btn
v-close-popup
label=
"Close"
color=
"primary"
flat
/>
</div>
</q-date>
</q-popup-proxy>
</q-icon>
</
template
>
</q-input>
<div
class=
"CusTask_Date"
>
<q-field
filled
stack-label
label=
"开始时间"
class=
"col-6 q-pb-lg q-pr-lg"
>
<template
v-slot:control
>
<el-date-picker
v-model=
"objOption.TaskStartTime"
value-format=
'yyyy-MM-dd HH:mm:ss'
type=
"datetime"
size=
"small"
clear-icon=
"iconfont icon-guanbi"
></el-date-picker>
</
template
>
</q-field>
</div>
</div>
<div
class=
"col-6"
>
<q-input
filled
v-model=
"objOption.TaskEndTime"
mask=
"date"
label=
"结束时间"
>
<
template
v-slot:append
>
<q-icon
name=
"event"
class=
"cursor-pointer"
>
<q-popup-proxy
ref=
"qDateProxy2"
cover
transition-show=
"scale"
transition-hide=
"scale"
>
<q-date
v-model=
"objOption.TaskEndTime"
>
<div
class=
"row items-center justify-end"
>
<q-btn
v-close-popup
label=
"Close"
color=
"primary"
flat
/>
</div>
</q-date>
</q-popup-proxy>
</q-icon>
</
template
>
</q-input>
<div
class=
"CusTask_Date"
>
<q-field
filled
stack-label
label=
"结束时间"
class=
"col-6 q-pb-lg"
>
<
template
v-slot:control
>
<el-date-picker
v-model=
"objOption.TaskEndTime"
value-format=
'yyyy-MM-dd HH:mm:ss'
type=
"datetime"
size=
"small"
clear-icon=
"iconfont icon-guanbi"
></el-date-picker>
</
template
>
</q-field>
</div>
</div>
</div>
<div
class=
"row wrap"
>
<div
class=
"col-6"
>
<q-input
filled
v-model=
"objOption.ExchangeEndTime"
class=
"q-pr-lg"
mask=
"date"
label=
"兑换截止日期"
>
<
template
v-slot:append
>
<q-icon
name=
"event"
class=
"cursor-pointer"
>
<q-popup-proxy
ref=
"ExchangeEndTime"
cover
transition-show=
"scale"
transition-hide=
"scale"
>
<q-date
v-model=
"objOption.ExchangeEndTime"
>
<div
class=
"row items-center justify-end"
>
<q-btn
v-close-popup
label=
"Close"
color=
"primary"
flat
/>
</div>
</q-date>
</q-popup-proxy>
</q-icon>
</
template
>
</q-input>
<div
class=
"CusTask_Date"
>
<q-field
filled
stack-label
label=
"兑换截止日期"
class=
"col-6 q-pb-lg q-pr-lg"
>
<
template
v-slot:control
>
<el-date-picker
v-model=
"objOption.ExchangeEndTime"
value-format=
'yyyy-MM-dd HH:mm:ss'
type=
"datetime"
size=
"small"
clear-icon=
"iconfont icon-guanbi"
></el-date-picker>
</
template
>
</q-field>
</div>
</div>
<div
class=
"col-6"
>
<q-select
filled
stack-label
option-value=
"Id"
option-label=
"Name"
v-model=
"objOption.TaskFinishType"
:options=
"finishTypeObj"
label=
"
请选择"
dense
emit-value
map-options
/>
<q-select
filled
option-value=
"Id"
option-label=
"Name"
v-model=
"objOption.TaskFinishType"
:options=
"finishTypeObj"
label=
"
任务完成类型"
emit-value
map-options
/>
</div>
</div>
<div
class=
"row wrap"
style=
"margin-top:20px;"
>
...
...
@@ -136,9 +126,8 @@
</el-upload>
</div>
</div>
<div
class=
"q-pt-none scroll"
style=
"max-height:60hv;margin-bottom:20px;"
>
<q-btn
color=
"accent"
size=
"sm"
icon=
"add"
style=
"margin-bottom:20px;"
label=
"新增
子任务
"
@
click=
"addSubTask()"
/>
<q-btn
color=
"accent"
size=
"sm"
icon=
"add"
style=
"margin-bottom:20px;"
label=
"新增
完成条件
"
@
click=
"addSubTask()"
/>
<
template
v-for=
"(sItem, sIndex) in objOption.DetailsList"
>
<div
:key=
"sIndex"
class=
"Details_List"
>
<q-input
filled
stack-label
maxlength=
"20"
style=
"width:523px;"
dense
v-model=
"sItem.DetailsName"
...
...
@@ -199,7 +188,6 @@
@
click=
"deleSubTask(index)"
/>
</div>
</
template
>
</div>
<div
class=
"row wrap"
>
<div
class=
"col-12"
>
...
...
src/components/sale/stopbill-form.vue
View file @
363be216
<!--停课表单审核信息-->
<
style
>
.backbill-Dialog
.drawerTop
{
width
:
100%
;
height
:
50px
;
display
:
flex
;
justify-content
:
space-between
;
background-color
:
#f0f5fb
;
padding
:
5px
10px
;
align-items
:
center
;
}
.backbill-Dialog
.classFirst
{
color
:
#000000
;
font-weight
:
bold
;
}
.backbill-Dialog
.className
{
margin-left
:
10px
;
}
.backbill-Dialog
.classStatus
{
padding
:
3px
8px
;
background-color
:
#c8d7fc
;
color
:
#2961fe
;
font-size
:
12px
;
border-radius
:
2px
;
margin-left
:
20px
;
}
.backbill-Dialog
.normalName
{
color
:
#999999
;
}
.backbill-Dialog
.normalInner
{
color
:
#111111
;
}
.drop_NameDown
{
margin-top
:
20px
;
width
:
300px
;
}
.backinfoContent
{
margin
:
10px
;
padding-bottom
:
80px
;
}
.backinfoContent
.role_Line
{
width
:
3px
;
height
:
11px
;
margin-right
:
10px
;
background-color
:
#3fc4ff
;
display
:
inline-block
;
}
.backinfoContent
.backinfo_Item
{
color
:
#000000
;
font-weight
:
bold
;
}
.backinfoContent
.backInfo_One
{
margin
:
20px
0
;
}
.backinfoContent
.backOtherInfo
{
color
:
#111111
;
}
.backinfoContent
.backInfo_Title
{
display
:
inline-block
;
width
:
75px
;
text-align
:
left
;
color
:
#999999
;
}
.backinfoContent
.replayReason
{
width
:
100%
;
min-height
:
100px
;
background-color
:
#f0f5fb
;
border-radius
:
3px
;
padding
:
20px
;
margin
:
20px
0
;
}
.backinfoContent
.replay_Title
{
font-weight
:
bold
;
color
:
#111111
;
}
.backinfoContent
.chaosong_Peo
{
display
:
inline-block
;
padding
:
2px
3px
;
color
:
#fff
;
border-radius
:
3px
;
margin
:
0
5px
5px
0
;
background-color
:
#9cf
;
}
.backinfoContent
.topBaseInfo
{
/* height: 300px; */
overflow
:
auto
;
}
.topBaseInfo
::-webkit-scrollbar
{
width
:
3px
;
height
:
3px
;
background-color
:
#f5f5f5
;
}
/*!*定义滚动条轨道 内阴影+圆角*!*/
.topBaseInfo
::-webkit-scrollbar-track
{
-webkit-box-shadow
:
inset
0
0
6px
rgba
(
0
,
0
,
0
,
0.3
);
border-radius
:
10px
;
background-color
:
#f5f5f5
;
}
/*!*定义滑块 内阴影+圆角*!*/
.topBaseInfo
::-webkit-scrollbar-thumb
{
border-radius
:
10px
;
-webkit-box-shadow
:
-webkit-gradient
(
linear
,
0
0
,
0
100%
,
color-stop
(
0.5
,
rgba
(
255
,
255
,
255
,
0.2
)),
color-stop
(
0.5
,
transparent
),
to
(
transparent
)
);
background-color
:
#0ae
;
}
._addUpload_box
{
display
:
block
;
margin-top
:
15px
;
}
._addUpload_box
img
{
width
:
100%
;
}
._addUpload_box
>
div
{
float
:
left
;
width
:
138px
;
height
:
92px
;
border
:
1px
dashed
rgba
(
210
,
210
,
210
,
1
);
border-radius
:
2px
;
cursor
:
pointer
;
margin-bottom
:
10px
;
padding
:
5px
;
margin-right
:
10px
;
position
:
relative
;
text-align
:
center
;
}
._addUpload_box
>
div
:hover
{
background-color
:
#f5f5f5
;
}
._addFile_name
{
padding-left
:
15px
;
max-width
:
450px
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
}
._addUpload_box
.icon-guanbi1
{
font-size
:
12px
;
color
:
white
;
display
:
inline-block
;
margin-left
:
15px
;
position
:
absolute
;
right
:
-6px
;
top
:
-9px
;
background-color
:
#f56c6c
;
border-radius
:
50%
;
height
:
20px
;
width
:
20px
;
text-align
:
center
;
line-height
:
20px
;
}
._addUpload_box
.icon-guanbi1
:hover
{
font-size
:
12px
;
color
:
#c94052
;
}
.
._addUpload_box
.icon-excel
,
._addUpload_box
.icon-pdf
,
._addUpload_box
.icon-txt
,
._addUpload_box
.icon-wenjian
,
._addUpload_box
.icon-yasuobao
,
._addUpload_box
.icon-shipin
,
._addUpload_box
.icon-word
{
text-align
:
center
;
font-size
:
38px
;
color
:
green
;
line-height
:
75px
;
}
._addUpload_box
.icon-yasuobao
{
color
:
gray
;
}
._show_img_box
{
position
:
fixed
;
background
:
rgba
(
0
,
0
,
0
,
0.6
);
left
:
0
;
top
:
0
;
width
:
100%
;
height
:
100%
;
z-index
:
999
;
text-align
:
center
;
}
._addUpload_tips
{
font-size
:
12px
;
color
:
#999999
;
}
._jump_page
{
cursor
:
pointer
;
text-decoration
:
underline
;
}
._jump_page
:hover
{
color
:
#c94052
;
}
.backbill-Dialog
.drawerTop
{
width
:
100%
;
height
:
50px
;
display
:
flex
;
justify-content
:
space-between
;
background-color
:
#f0f5fb
;
padding
:
5px
10px
;
align-items
:
center
;
}
.backbill-Dialog
.classFirst
{
color
:
#000000
;
font-weight
:
bold
;
}
.backbill-Dialog
.className
{
margin-left
:
10px
;
}
.backbill-Dialog
.classStatus
{
padding
:
3px
8px
;
background-color
:
#c8d7fc
;
color
:
#2961fe
;
font-size
:
12px
;
border-radius
:
2px
;
margin-left
:
20px
;
}
.backbill-Dialog
.normalName
{
color
:
#999999
;
}
.backbill-Dialog
.normalInner
{
color
:
#111111
;
}
.drop_NameDown
{
margin-top
:
20px
;
width
:
300px
;
}
.backinfoContent
{
margin
:
10px
;
padding-bottom
:
80px
;
}
.backinfoContent
.role_Line
{
width
:
3px
;
height
:
11px
;
margin-right
:
10px
;
background-color
:
#3fc4ff
;
display
:
inline-block
;
}
.backinfoContent
.backinfo_Item
{
color
:
#000000
;
font-weight
:
bold
;
}
.backinfoContent
.backInfo_One
{
margin
:
20px
0
;
}
.backinfoContent
.backOtherInfo
{
color
:
#111111
;
}
.backinfoContent
.backInfo_Title
{
display
:
inline-block
;
width
:
75px
;
text-align
:
left
;
color
:
#999999
;
}
.backinfoContent
.replayReason
{
width
:
100%
;
min-height
:
100px
;
background-color
:
#f0f5fb
;
border-radius
:
3px
;
padding
:
20px
;
margin
:
20px
0
;
}
.backinfoContent
.replay_Title
{
font-weight
:
bold
;
color
:
#111111
;
}
.backinfoContent
.chaosong_Peo
{
display
:
inline-block
;
padding
:
2px
3px
;
color
:
#fff
;
border-radius
:
3px
;
margin
:
0
5px
5px
0
;
background-color
:
#9cf
;
}
.backinfoContent
.topBaseInfo
{
/* height: 300px; */
overflow
:
auto
;
}
.topBaseInfo
::-webkit-scrollbar
{
width
:
3px
;
height
:
3px
;
background-color
:
#f5f5f5
;
}
/*!*定义滚动条轨道 内阴影+圆角*!*/
.topBaseInfo
::-webkit-scrollbar-track
{
-webkit-box-shadow
:
inset
0
0
6px
rgba
(
0
,
0
,
0
,
0.3
);
border-radius
:
10px
;
background-color
:
#f5f5f5
;
}
/*!*定义滑块 内阴影+圆角*!*/
.topBaseInfo
::-webkit-scrollbar-thumb
{
border-radius
:
10px
;
-webkit-box-shadow
:
-webkit-gradient
(
linear
,
0
0
,
0
100%
,
color-stop
(
0.5
,
rgba
(
255
,
255
,
255
,
0.2
)),
color-stop
(
0.5
,
transparent
),
to
(
transparent
));
background-color
:
#0ae
;
}
._addUpload_box
{
display
:
block
;
margin-top
:
15px
;
}
._addUpload_box
img
{
width
:
100%
;
}
._addUpload_box
>
div
{
float
:
left
;
width
:
138px
;
height
:
92px
;
border
:
1px
dashed
rgba
(
210
,
210
,
210
,
1
);
border-radius
:
2px
;
cursor
:
pointer
;
margin-bottom
:
10px
;
padding
:
5px
;
margin-right
:
10px
;
position
:
relative
;
text-align
:
center
;
}
._addUpload_box
>
div
:hover
{
background-color
:
#f5f5f5
;
}
._addFile_name
{
padding-left
:
15px
;
max-width
:
450px
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
white-space
:
nowrap
;
}
._addUpload_box
.icon-guanbi1
{
font-size
:
12px
;
color
:
white
;
display
:
inline-block
;
margin-left
:
15px
;
position
:
absolute
;
right
:
-6px
;
top
:
-9px
;
background-color
:
#f56c6c
;
border-radius
:
50%
;
height
:
20px
;
width
:
20px
;
text-align
:
center
;
line-height
:
20px
;
}
._addUpload_box
.icon-guanbi1
:hover
{
font-size
:
12px
;
color
:
#c94052
;
}
.
._addUpload_box
.icon-excel
,
._addUpload_box
.icon-pdf
,
._addUpload_box
.icon-txt
,
._addUpload_box
.icon-wenjian
,
._addUpload_box
.icon-yasuobao
,
._addUpload_box
.icon-shipin
,
._addUpload_box
.icon-word
{
text-align
:
center
;
font-size
:
38px
;
color
:
green
;
line-height
:
75px
;
}
._addUpload_box
.icon-yasuobao
{
color
:
gray
;
}
._show_img_box
{
position
:
fixed
;
background
:
rgba
(
0
,
0
,
0
,
0.6
);
left
:
0
;
top
:
0
;
width
:
100%
;
height
:
100%
;
z-index
:
999
;
text-align
:
center
;
}
._addUpload_tips
{
font-size
:
12px
;
color
:
#999999
;
}
._jump_page
{
cursor
:
pointer
;
text-decoration
:
underline
;
}
._jump_page
:hover
{
color
:
#c94052
;
}
</
style
>
<
template
>
<q-dialog
v-model=
"persistent"
maximized
full-height
seamless
position=
"right"
@
hide=
"closeShenheForm"
>
<q-card
style=
"margin-top: 61px; width: 850px"
class=
"no-border-radius backbill-Dialog"
>
<q-dialog
v-model=
"persistent"
maximized
full-height
seamless
position=
"right"
@
hide=
"closeShenheForm"
>
<q-card
style=
"margin-top: 61px; width: 850px"
class=
"no-border-radius backbill-Dialog"
>
<div
class=
"drawerTop"
>
<div
style=
"display: flex; align-items: center"
>
<div
class=
"className"
>
...
...
@@ -246,14 +235,7 @@
</div>
</div>
</div>
<q-tabs
style=
"margin: 15px"
v-model=
"tabCheck"
narrow-indicator
dense
align=
"left"
class=
"text-primary"
>
<q-tabs
style=
"margin: 15px"
v-model=
"tabCheck"
narrow-indicator
dense
align=
"left"
class=
"text-primary"
>
<q-tab
:ripple=
"false"
name=
"first"
label=
"详细信息"
/>
<q-tab
:ripple=
"false"
name=
"second"
label=
"审批记录"
/>
</q-tabs>
...
...
@@ -289,8 +271,7 @@
</div>
</div>
<div
class=
"backinfo_Item"
>
<span
class=
"role_Line"
style=
"background-color: #f28c1d"
></span
>
教学信息
<span
class=
"role_Line"
style=
"background-color: #f28c1d"
></span>
教学信息
</div>
<div
class=
"row backInfo_One"
>
<div
class=
"col-6"
>
...
...
@@ -303,11 +284,8 @@
<span
class=
"backInfo_Title"
>
班级信息:
</span>
<span
class=
"backOtherInfo"
>
{{
setingObj
.
DataObj
.
ClassName
}}
<span
style=
"color: #2961fe; cursor: pointer"
@
click=
"goClassManage(setingObj.DataObj.ClassName)"
>
{{
setingObj
.
ClassNo
}}
</span
>
<span
style=
"color: #2961fe; cursor: pointer"
@
click=
"goClassManage(setingObj.DataObj.ClassName)"
>
{{
setingObj
.
ClassNo
}}
</span>
</span>
</div>
</div>
...
...
@@ -320,81 +298,60 @@
</div>
<div
class=
"col-6"
>
<span
class=
"backInfo_Title"
>
学习课程:
</span>
<span
class=
"backOtherInfo"
style=
"color: #2961fe; cursor: pointer"
@
click=
"
<span
class=
"backOtherInfo"
style=
"color: #2961fe; cursor: pointer"
@
click=
"
goCourse(
setingObj.DataObj.Order_Guest_ViewModel.CourseName
)
"
>
{{
"
>
{{
setingObj
.
DataObj
.
Order_Guest_ViewModel
.
CourseName
}}
</span
>
}}
</span>
</div>
</div>
<div
class=
"backinfo_Item"
>
<span
class=
"role_Line"
style=
"background-color: #02c499"
></span
>
学习信息
<span
class=
"role_Line"
style=
"background-color: #02c499"
></span>
学习信息
</div>
<div
class=
"row backInfo_One"
>
<div
class=
"col-6"
>
<span
class=
"backInfo_Title"
>
总课时:
</span>
<span
class=
"backOtherInfo"
>
{{
<span
class=
"backOtherInfo"
>
{{
setingObj
.
DataObj
.
Order_Guest_ViewModel
.
TotalHours
}}
课时
</span
>
课时
</span>
</div>
<div
class=
"col-6"
>
<span
class=
"backInfo_Title"
>
已学课时:
</span>
<span
class=
"backOtherInfo"
style=
"color: #2961fe; cursor: pointer"
@
click=
"
<span
class=
"backOtherInfo"
style=
"color: #2961fe; cursor: pointer"
@
click=
"
goStudentsClassSee(
setingObj.DataObj.Order_Guest_ViewModel
)
"
>
{{
"
>
{{
setingObj
.
DataObj
.
Order_Guest_ViewModel
.
CompleteHours
}}
课时
</span
>
课时
</span>
<!--
<span
class=
"backOtherInfo"
>
{{
setingObj
.
DataObj
.
Order_Guest_ViewModel
.
Ranks
}}
课时
</span>
-->
</div>
</div>
<div
class=
"row backInfo_One"
>
<div
class=
"col-6"
>
<span
class=
"backInfo_Title"
>
剩余课时:
</span>
<span
class=
"backOtherInfo"
>
{{
<span
class=
"backOtherInfo"
>
{{
setingObj
.
DataObj
.
Order_Guest_ViewModel
.
TotalHours
-
setingObj
.
DataObj
.
Order_Guest_ViewModel
.
CompleteHours
}}
课时
</span
>
课时
</span>
</div>
</div>
<div
class=
"backinfo_Item"
>
<span
class=
"role_Line"
style=
"background-color: #8175fb"
></span
>
其他信息
<span
class=
"role_Line"
style=
"background-color: #8175fb"
></span>
其他信息
</div>
<div
class=
"row backInfo_One"
>
<div
class=
"col-6"
>
<span
class=
"backInfo_Title"
>
关联单号:
</span>
<span
class=
"backOtherInfo"
style=
"color: #2961fe; cursor: pointer"
@
click=
"
<span
class=
"backOtherInfo"
style=
"color: #2961fe; cursor: pointer"
@
click=
"
goOrderStatic(
setingObj.DataObj.Order_Guest_ViewModel.OrderId
)
"
>
{{
setingObj
.
DataObj
.
Order_Guest_ViewModel
.
OrderId
}}
</span
>
"
>
{{
setingObj
.
DataObj
.
Order_Guest_ViewModel
.
OrderId
}}
</span>
</div>
<div
class=
"col-6"
>
<span
class=
"backInfo_Title"
>
关联销售:
</span>
...
...
@@ -404,27 +361,15 @@
</div>
</div>
<div
class=
"row"
>
<span
class=
"backInfo_Title"
>
附件:
<span
v-if=
"fj.length === 0"
>
无
</span></span
>
<span
class=
"backInfo_Title"
>
附件:
<span
v-if=
"fj.length === 0"
>
无
</span></span>
</div>
<div
class=
"row flex"
v-if=
"fj.length > 0"
>
<div
class=
"_addUpload_box clearfix flex"
>
<template
v-for=
"(item, index) in fj"
>
<div
style=
"width: 138px; height: 92px; overflow: hidden"
:key=
"index"
@
click=
"showUpLoadFile(item)"
>
<img
:src=
"item.url"
v-if=
"item.type === 2"
style=
"width: 100%; height: auto; overflow: hidden"
/>
<span
v-if=
"item.type === 1"
class=
"iconfont"
:class=
"
<div
style=
"width: 138px; height: 92px; overflow: hidden"
:key=
"index"
@
click=
"showUpLoadFile(item)"
>
<img
:src=
"item.url"
v-if=
"item.type === 2"
style=
"width: 100%; height: auto; overflow: hidden"
/>
<span
v-if=
"item.type === 1"
class=
"iconfont"
:class=
"
item.suffix == 'PDF'
? 'icon-pdf'
: item.suffix == 'TXT'
...
...
@@ -432,20 +377,10 @@
: item.suffix == 'DOCX' || item.suffix == 'DOC'
? 'icon-word'
: 'icon-excel'
"
></span>
<span
v-if=
"item.type === 3"
class=
"iconfont icon-yasuobao"
></span>
<span
v-if=
"item.type === 4"
class=
"iconfont icon-shipin"
></span>
<span
v-if=
"item.type === 5"
class=
"iconfont icon-wenjian"
></span>
"
></span>
<span
v-if=
"item.type === 3"
class=
"iconfont icon-yasuobao"
></span>
<span
v-if=
"item.type === 4"
class=
"iconfont icon-shipin"
></span>
<span
v-if=
"item.type === 5"
class=
"iconfont icon-wenjian"
></span>
</div>
</
template
>
</div>
...
...
@@ -464,36 +399,20 @@
</div>
</div>
<div
v-if=
"showType == 2"
>
<div
style=
"
<div
style=
"
display: flex;
justify-content: space-between;
align-items: center;
margin-top: 20px;
"
>
"
>
<div>
审批意见
</div>
<div>
<q-radio
v-model=
"stopBillMsg.AuditStatus"
:val=
"2"
label=
"通过"
/>
<q-radio
v-model=
"stopBillMsg.AuditStatus"
:val=
"3"
label=
"驳回"
/>
<q-radio
v-model=
"stopBillMsg.AuditStatus"
:val=
"2"
label=
"通过"
/>
<q-radio
v-model=
"stopBillMsg.AuditStatus"
:val=
"3"
label=
"驳回"
/>
</div>
</div>
<q-input
filled
stack-label
:dense=
"false"
v-model=
"stopBillMsg.Description"
type=
"textarea"
label=
"审批意见"
/>
<q-input
filled
stack-label
:dense=
"false"
v-model=
"stopBillMsg.Description"
type=
"textarea"
label=
"审批意见"
/>
</div>
<div
style=
"margin-top: 20px"
>
<div
class=
"row"
>
...
...
@@ -501,61 +420,35 @@
<
template
v-if=
"tempPeople.length > 0"
>
<div
style=
"display: inline-block; width: 45px"
>
抄送:
</div>
<!-- RecipientIds -->
<div
style=
"
<div
style=
"
display: inline-block;
margin-left: 5px;
width: 340px;
"
>
<span
class=
"chaosong_Peo"
v-for=
"(childItem, cindex) in tempPeople"
>
"
>
<span
class=
"chaosong_Peo"
v-for=
"(childItem, cindex) in tempPeople"
>
{{
getName
(
childItem
)
}}
</span>
</div>
</
template
>
</div>
<div
class=
"col-6"
style=
"
<div
class=
"col-6"
style=
"
justify-content: flex-end;
display: flex;
align-items: center;
"
>
<i
class=
"iconfont icon-aite"
style=
"
"
>
<i
class=
"iconfont icon-aite"
style=
"
font-size: 20px;
margin: 7px 20px 0 0;
cursor: pointer;
"
v-if=
"showType == 2"
>
"
v-if=
"showType == 2"
>
<q-popup-proxy>
<q-banner>
<div
style=
"width: 350px"
>
<div
style=
"margin: 10px 0 15px 0"
>
抄送
</div>
<q-select
class=
"col-6 q-pb-lg q-pr-lg"
multiple
clearable
filled
stack-label
use-input
option-value=
"Id"
option-label=
"EmployeeName"
v-model=
"tempPeople"
ref=
"ManagerId"
:options=
"EmployeeList"
label=
"选择人员"
:dense=
"false"
emit-value
map-options
@
filter=
"filterFn"
>
<q-select
class=
"col-6 q-pb-lg q-pr-lg"
multiple
clearable
filled
stack-label
use-input
option-value=
"Id"
option-label=
"EmployeeName"
v-model=
"tempPeople"
ref=
"ManagerId"
:options=
"EmployeeList"
label=
"选择人员"
:dense=
"false"
emit-value
map-options
@
filter=
"filterFn"
>
<
template
v-slot:no-option
>
<q-item>
<q-item-section
class=
"text-grey"
>
...
...
@@ -569,12 +462,7 @@
</q-popup-proxy>
</i>
<q-btn
class=
"q-mr-md"
label=
"关闭"
@
click=
"closeBackInfo"
/>
<q-btn
v-if=
"showType == 2"
color=
"accent q-px-md"
label=
"确认"
@
click=
"saveBackClassInfo()"
/>
<q-btn
v-if=
"showType == 2"
color=
"accent q-px-md"
label=
"确认"
@
click=
"saveBackClassInfo()"
/>
</div>
</div>
</div>
...
...
@@ -582,33 +470,19 @@
</div>
</div>
<div
v-if=
"tabCheck == 'second'"
>
<flowinfoForm
:seting-obj=
"setingObj"
:showType=
"showType"
@
close=
"closeShenheForm"
@
success=
"refreshPage"
>
<flowinfoForm
:seting-obj=
"setingObj"
:showType=
"showType"
@
close=
"closeShenheForm"
@
success=
"refreshPage"
>
</flowinfoForm>
</div>
</q-card>
<div
class=
"dialog-out-close"
@
click=
"closeShenheForm"
style=
"
<div
class=
"dialog-out-close"
@
click=
"closeShenheForm"
style=
"
height: 40px !important;
border-top-left-radius: 4px !important;
border-bottom-left-radius: 4px !important;
"
>
"
>
<q-icon
name=
"iconfont icon-jujue1"
size=
"26px"
/>
</div>
<div
v-if=
"picIsShow"
class=
"_show_img_box"
@
click=
"(picIsShow = false), (picObj = [])"
>
<div
style=
"
<div
v-if=
"picIsShow"
class=
"_show_img_box"
@
click=
"(picIsShow = false), (picObj = [])"
>
<div
style=
"
position: absolute;
max-width: 800px;
height: auto;
...
...
@@ -616,16 +490,9 @@
top: 50%;
margin-left: -400px;
transform: translateY(-50%);
"
>
<el-image
style=
"width: 100%; height: 100%"
fit=
"cover"
v-for=
"(item, index) in picObj"
:key=
"index"
:src=
"item"
:preview-src-list=
"picObj"
>
"
>
<el-image
style=
"width: 100%; height: 100%"
fit=
"cover"
v-for=
"(item, index) in picObj"
:key=
"index"
:src=
"item"
:preview-src-list=
"picObj"
>
</el-image>
</div>
</div>
...
...
@@ -633,242 +500,247 @@
</template>
<
script
>
import
flowinfoForm
from
"../sale/flowinfo-form"
;
import
{
saveBackBillAduit
,
queryBackBillMoney
}
from
"../../api/sale/bill"
;
import
{
queryEmployee
}
from
"../../api/users/user"
;
export
default
{
props
:
{
setingObj
:
{
type
:
Object
,
default
:
null
,
},
showType
:
{
type
:
Number
,
default
:
1
,
},
},
components
:
{
flowinfoForm
,
},
data
()
{
return
{
persistent
:
true
,
tabCheck
:
"first"
,
//默认选第一个
stopBillMsg
:
{
Id
:
0
,
// BackMoney: 0, //实际退款金额
Description
:
""
,
//审批意见
AuditStatus
:
2
,
//审核状态
SpecialNode
:
0
,
//是否特殊节点
RecipientIds
:
""
,
//抄送人
import
flowinfoForm
from
"../sale/flowinfo-form"
;
import
{
saveBackBillAduit
,
queryBackBillMoney
}
from
"../../api/sale/bill"
;
import
{
queryEmployee
}
from
"../../api/users/user"
;
export
default
{
props
:
{
setingObj
:
{
type
:
Object
,
default
:
null
,
},
showType
:
{
type
:
Number
,
default
:
1
,
},
classPriceObj
:
{},
//课程价格信息
EmployeeList
:
[],
AllemployeeList
:
[],
tempPeople
:
[],
//抄送人数组
//附件---s
picIsShow
:
false
,
picObj
:
[],
initialIndex
:
0
,
//附件---e
};
},
computed
:
{
fj
()
{
let
arr
=
[];
let
fjlist
=
this
.
setingObj
.
ReceiptFileList
;
fjlist
.
map
((
item
)
=>
{
let
suffix
=
item
.
split
(
"."
)[
item
.
split
(
"."
).
length
-
1
].
toUpperCase
();
if
(
"DOCX|DOC|XLSX|XLS|PPT|PPTX|PDF|TXT"
.
indexOf
(
suffix
)
!=
"-1"
)
{
let
obj
=
{
url
:
item
,
type
:
1
,
suffix
:
suffix
,
};
arr
.
push
(
obj
);
}
else
if
(
"GIF|JPG|JPEG|PNG|BMP|WEBP"
.
indexOf
(
suffix
)
!=
"-1"
)
{
let
obj
=
{
url
:
item
,
type
:
2
,
suffix
:
suffix
,
};
arr
.
push
(
obj
);
}
else
if
(
"ZIP|RAR|7Z|TAR"
.
indexOf
(
suffix
)
!=
"-1"
)
{
let
obj
=
{
url
:
item
,
type
:
3
,
suffix
:
suffix
,
};
arr
.
push
(
obj
);
}
else
if
(
"MP4|3GP|AVI|MOV|WMV|RMVB|MKV|M4V|FLV"
.
indexOf
(
suffix
)
!=
"-1"
)
{
let
obj
=
{
url
:
item
,
type
:
4
,
suffix
:
suffix
,
};
arr
.
push
(
obj
);
}
else
{
let
obj
=
{
url
:
item
,
type
:
5
,
suffix
:
suffix
,
};
arr
.
push
(
obj
);
}
});
return
arr
;
},
},
created
()
{
this
.
getEmployee
();
},
mounted
()
{
this
.
stopBillMsg
.
Id
=
this
.
setingObj
.
Id
;
this
.
stopBillMsg
.
SpecialNode
=
this
.
setingObj
.
SpecialNode
;
if
(
this
.
stopBillMsg
.
SpecialNode
==
1
)
{
this
.
getBackBillMoney
();
}
},
methods
:
{
getBackBillMoney
()
{
queryBackBillMoney
({
BackId
:
this
.
setingObj
.
RelationId
,
}).
then
((
res
)
=>
{
if
(
res
.
Code
==
1
)
{
this
.
classPriceObj
=
res
.
Data
;
}
});
components
:
{
flowinfoForm
,
},
closeBackInfo
()
{
this
.
persistent
=
false
;
this
.
$emit
(
"close"
);
data
()
{
return
{
persistent
:
true
,
tabCheck
:
"first"
,
//默认选第一个
stopBillMsg
:
{
Id
:
0
,
// BackMoney: 0, //实际退款金额
Description
:
""
,
//审批意见
AuditStatus
:
2
,
//审核状态
SpecialNode
:
0
,
//是否特殊节点
RecipientIds
:
""
,
//抄送人
},
classPriceObj
:
{},
//课程价格信息
EmployeeList
:
[],
AllemployeeList
:
[],
tempPeople
:
[],
//抄送人数组
//附件---s
picIsShow
:
false
,
picObj
:
[],
initialIndex
:
0
,
//附件---e
};
},
//停课单据审核
saveBackClassInfo
()
{
var
str
=
""
;
if
(
this
.
tempPeople
&&
this
.
tempPeople
.
length
>
0
)
{
this
.
tempPeople
.
forEach
((
item
)
=>
{
str
+=
","
+
item
;
computed
:
{
fj
()
{
let
arr
=
[];
let
fjlist
=
this
.
setingObj
.
ReceiptFileList
;
fjlist
.
map
((
item
)
=>
{
let
suffix
=
item
.
split
(
"."
)[
item
.
split
(
"."
).
length
-
1
].
toUpperCase
();
if
(
"DOCX|DOC|XLSX|XLS|PPT|PPTX|PDF|TXT"
.
indexOf
(
suffix
)
!=
"-1"
)
{
let
obj
=
{
url
:
item
,
type
:
1
,
suffix
:
suffix
,
};
arr
.
push
(
obj
);
}
else
if
(
"GIF|JPG|JPEG|PNG|BMP|WEBP"
.
indexOf
(
suffix
)
!=
"-1"
)
{
let
obj
=
{
url
:
item
,
type
:
2
,
suffix
:
suffix
,
};
arr
.
push
(
obj
);
}
else
if
(
"ZIP|RAR|7Z|TAR"
.
indexOf
(
suffix
)
!=
"-1"
)
{
let
obj
=
{
url
:
item
,
type
:
3
,
suffix
:
suffix
,
};
arr
.
push
(
obj
);
}
else
if
(
"MP4|3GP|AVI|MOV|WMV|RMVB|MKV|M4V|FLV"
.
indexOf
(
suffix
)
!=
"-1"
)
{
let
obj
=
{
url
:
item
,
type
:
4
,
suffix
:
suffix
,
};
arr
.
push
(
obj
);
}
else
{
let
obj
=
{
url
:
item
,
type
:
5
,
suffix
:
suffix
,
};
arr
.
push
(
obj
);
}
});
return
arr
;
},
},
created
()
{
this
.
getEmployee
();
},
mounted
()
{
this
.
stopBillMsg
.
Id
=
this
.
setingObj
.
Id
;
this
.
stopBillMsg
.
SpecialNode
=
this
.
setingObj
.
SpecialNode
;
if
(
this
.
stopBillMsg
.
SpecialNode
==
1
)
{
this
.
getBackBillMoney
();
}
if
(
str
&&
str
!=
""
)
{
str
=
str
.
substr
(
1
);
}
this
.
stopBillMsg
.
RecipientIds
=
str
;
saveBackBillAduit
(
this
.
stopBillMsg
).
then
((
res
)
=>
{
if
(
res
.
Code
==
1
)
{
this
.
$q
.
notify
({
icon
:
"iconfont icon-chenggong"
,
color
:
"accent"
,
timeout
:
2000
,
message
:
"审核成功!"
,
position
:
"top"
,
});
//调用父页面成功方法
this
.
$emit
(
"success"
);
this
.
$emit
(
"close"
);
}
});
},
//获取员工列表
getEmployee
()
{
var
qMsg
=
{
EmployeeName
:
""
,
};
queryEmployee
(
qMsg
).
then
((
res
)
=>
{
if
(
res
.
Code
==
1
)
{
var
jsonData
=
res
.
Data
;
if
(
jsonData
&&
jsonData
.
length
>
0
)
{
this
.
AllemployeeList
=
JSON
.
parse
(
JSON
.
stringify
(
jsonData
));
this
.
EmployeeList
=
JSON
.
parse
(
JSON
.
stringify
(
jsonData
));
methods
:
{
getBackBillMoney
()
{
queryBackBillMoney
({
BackId
:
this
.
setingObj
.
RelationId
,
}).
then
((
res
)
=>
{
if
(
res
.
Code
==
1
)
{
this
.
classPriceObj
=
res
.
Data
;
}
});
},
closeBackInfo
()
{
this
.
persistent
=
false
;
this
.
$emit
(
"close"
);
},
//停课单据审核
saveBackClassInfo
()
{
var
str
=
""
;
if
(
this
.
tempPeople
&&
this
.
tempPeople
.
length
>
0
)
{
this
.
tempPeople
.
forEach
((
item
)
=>
{
str
+=
","
+
item
;
});
}
});
},
//筛选员工
filterFn
(
val
,
update
)
{
update
(()
=>
{
if
(
val
===
""
)
{
this
.
EmployeeList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
AllemployeeList
));
}
else
{
const
needle
=
val
.
toLowerCase
();
this
.
EmployeeList
=
this
.
AllemployeeList
.
filter
(
(
v
)
=>
v
.
EmployeeName
.
toLowerCase
().
indexOf
(
needle
)
>
-
1
);
if
(
str
&&
str
!=
""
)
{
str
=
str
.
substr
(
1
);
}
});
},
//获取员工姓名
getName
(
id
)
{
let
str
=
""
;
this
.
EmployeeList
.
forEach
((
x
)
=>
{
if
(
id
==
x
.
Id
)
{
str
=
x
.
EmployeeName
;
}
});
return
str
;
},
//跳转到班级管理
goClassManage
(
ClassName
)
{
this
.
OpenNewUrl
(
"/course/classManage"
,
{
ClassName
:
ClassName
,
});
},
//跳转到报名统计
goOrderStatic
(
OrderId
)
{
this
.
OpenNewUrl
(
"/sale/orderStatistics"
,
{
OrderId
:
OrderId
,
});
},
//跳转到课耗明细
goStudentsClassSee
(
item
)
{
this
.
OpenNewUrl
(
"/teacher/studentsClassSee"
,
{
StudentId
:
item
.
Id
,
TeacherId
:
item
.
Teacher_Id
,
ClassId
:
item
.
ClassId
,
});
},
//跳转到课程管理
goCourse
(
name
)
{
this
.
OpenNewUrl
(
"/course/course"
,
{
Name
:
name
,
});
},
refreshPage
()
{
this
.
persistent
=
false
;
this
.
$emit
(
"success"
);
},
closeShenheForm
()
{
this
.
persistent
=
false
;
this
.
$emit
(
"close"
);
},
handleDate
(
T
)
{
let
date
=
T
.
split
(
"T"
);
return
date
[
0
];
},
showUpLoadFile
(
i
)
{
// 预览上传文件
if
(
i
.
type
==
2
)
{
this
.
picObj
.
push
(
i
.
url
);
this
.
picIsShow
=
true
;
}
else
if
(
i
.
type
==
1
)
{
if
(
i
.
suffix
==
"PDF"
||
i
.
suffix
==
"TXT"
)
{
this
.
previewPDF
(
i
.
url
);
this
.
stopBillMsg
.
RecipientIds
=
str
;
saveBackBillAduit
(
this
.
stopBillMsg
).
then
((
res
)
=>
{
if
(
res
.
Code
==
1
)
{
this
.
$q
.
notify
({
icon
:
"iconfont icon-chenggong"
,
color
:
"accent"
,
timeout
:
2000
,
message
:
"审核成功!"
,
position
:
"top"
,
});
//调用父页面成功方法
this
.
$emit
(
"success"
);
this
.
$emit
(
"close"
);
}
});
},
//获取员工列表
getEmployee
()
{
var
qMsg
=
{
EmployeeName
:
""
,
};
queryEmployee
(
qMsg
).
then
((
res
)
=>
{
if
(
res
.
Code
==
1
)
{
var
jsonData
=
res
.
Data
;
if
(
jsonData
&&
jsonData
.
length
>
0
)
{
this
.
AllemployeeList
=
JSON
.
parse
(
JSON
.
stringify
(
jsonData
));
this
.
EmployeeList
=
JSON
.
parse
(
JSON
.
stringify
(
jsonData
));
}
}
});
},
//筛选员工
filterFn
(
val
,
update
)
{
update
(()
=>
{
if
(
val
===
""
)
{
this
.
EmployeeList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
AllemployeeList
));
}
else
{
const
needle
=
val
.
toLowerCase
();
this
.
EmployeeList
=
this
.
AllemployeeList
.
filter
(
(
v
)
=>
v
.
EmployeeName
.
toLowerCase
().
indexOf
(
needle
)
>
-
1
);
}
});
},
//获取员工姓名
getName
(
id
)
{
let
str
=
""
;
this
.
EmployeeList
.
forEach
((
x
)
=>
{
if
(
id
==
x
.
Id
)
{
str
=
x
.
EmployeeName
;
}
});
return
str
;
},
//跳转到班级管理
goClassManage
(
ClassName
)
{
this
.
OpenNewUrl
(
"/course/classManage"
,
{
ClassName
:
ClassName
,
});
},
//跳转到报名统计
goOrderStatic
(
OrderId
)
{
this
.
OpenNewUrl
(
"/sale/orderStatistics"
,
{
OrderId
:
OrderId
,
});
},
//跳转到课耗明细
goStudentsClassSee
(
item
)
{
this
.
OpenNewUrl
(
"/teacher/studentsClassSee"
,
{
StudentId
:
item
.
Id
,
TeacherId
:
item
.
Teacher_Id
,
ClassId
:
item
.
ClassId
,
});
},
//跳转到课程管理
goCourse
(
name
)
{
this
.
OpenNewUrl
(
"/course/course"
,
{
Name
:
name
,
});
},
refreshPage
()
{
this
.
persistent
=
false
;
this
.
$emit
(
"success"
);
},
closeShenheForm
()
{
this
.
persistent
=
false
;
this
.
$emit
(
"close"
);
},
handleDate
(
T
)
{
let
date
=
T
.
split
(
"T"
);
return
date
[
0
];
},
showUpLoadFile
(
i
)
{
// 预览上传文件
if
(
i
.
type
==
2
)
{
this
.
picObj
.
push
(
i
.
url
);
this
.
picIsShow
=
true
;
}
else
if
(
i
.
type
==
1
)
{
if
(
i
.
suffix
==
"PDF"
||
i
.
suffix
==
"TXT"
)
{
this
.
previewPDF
(
i
.
url
);
}
else
{
this
.
downloadFile
(
i
);
}
}
else
{
this
.
downloadFile
(
i
);
}
}
else
{
this
.
downloadFile
(
i
);
}
},
downloadFile
(
i
)
{
const
a
=
document
.
createElement
(
"a"
);
a
.
setAttribute
(
"download"
,
""
);
a
.
setAttribute
(
"href"
,
i
.
url
);
a
.
click
();
},
downloadFile
(
i
)
{
const
a
=
document
.
createElement
(
"a"
);
a
.
setAttribute
(
"download"
,
""
);
a
.
setAttribute
(
"href"
,
i
.
url
);
a
.
click
();
},
},
},
};
</
script
>
};
</
script
>
\ No newline at end of file
src/pages/sale/commsionManagement.vue
View file @
363be216
...
...
@@ -81,6 +81,18 @@
field
:
'PeopleNum'
,
align
:
'left'
,
},
{
name
:
'BalanceStateStr'
,
label
:
'返佣'
,
field
:
'BalanceStateStr'
,
align
:
'left'
,
},
{
name
:
'RemitStr'
,
label
:
'提现'
,
field
:
'RemitStr'
,
align
:
'left'
,
},
{
name
:
'UpdateTimeStr'
,
label
:
'更新时间'
,
...
...
@@ -96,7 +108,7 @@
pageSize
:
12
,
rowsPerPage
:
12
,
RebateType
:
1
,
Description
:
""
,
Description
:
""
,
},
pageCount
:
0
,
taskOption
:
null
,
...
...
src/pages/sale/happyPassbook.vue
View file @
363be216
...
...
@@ -45,101 +45,113 @@
data
()
{
return
{
columns
:
[{
name
:
'BalanceTypeStr'
,
label
:
'类型'
,
field
:
'BalanceTypeStr'
,
align
:
'left'
},
{
name
:
'Money'
,
label
:
'变更金额'
,
align
:
'left'
,
field
:
'Money'
},
{
name
:
'Description'
,
label
:
'变更详情'
,
field
:
'Description'
,
align
:
'left'
,
},
{
name
:
'ClassName'
,
label
:
'班级信息'
,
field
:
'ClassName'
,
align
:
'left'
,
},
{
name
:
'OrderId'
,
label
:
'订单编号'
,
field
:
'OrderId'
,
align
:
'left'
,
},
{
name
:
'PeopleNum'
,
label
:
'订单人数'
,
field
:
'PeopleNum'
,
align
:
'left'
,
},
{
name
:
'UpdateTimeStr'
,
label
:
'更新时间'
,
field
:
'UpdateTimeStr'
,
align
:
'left'
,
},
],
dataList
:
[],
loading
:
true
,
msg
:
{
CustomerId
:
0
,
pageIndex
:
1
,
pageSize
:
12
,
rowsPerPage
:
12
,
RebateType
:
2
,
Description
:
""
,
name
:
'BalanceTypeStr'
,
label
:
'类型'
,
field
:
'BalanceTypeStr'
,
align
:
'left'
},
pageCount
:
0
,
taskOption
:
null
,
isShowTask
:
false
,
}
},
created
()
{
if
(
this
.
$route
.
query
&&
this
.
$route
.
query
.
CustomerId
)
{
this
.
msg
.
CustomerId
=
this
.
$route
.
query
.
CustomerId
}
},
mounted
()
{
this
.
getList
()
},
methods
:
{
resetSearch
()
{
this
.
loading
=
true
;
this
.
msg
.
pageIndex
=
1
;
this
.
getList
();
{
name
:
'Money'
,
label
:
'变更金额'
,
align
:
'left'
,
field
:
'Money'
},
changePage
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
loading
=
true
;
this
.
getList
();
{
name
:
'Description'
,
label
:
'变更详情'
,
field
:
'Description'
,
align
:
'left'
,
},
RefreshPage
()
{
this
.
getList
()
{
name
:
'ClassName'
,
label
:
'班级信息'
,
field
:
'ClassName'
,
align
:
'left'
,
},
//获取数据
getList
()
{
this
.
loading
=
true
;
GetCustomerBalanceDetailPage
(
this
.
msg
).
then
(
res
=>
{
this
.
loading
=
false
;
if
(
res
.
Code
==
1
)
{
this
.
dataList
=
res
.
Data
.
PageData
;
this
.
pageCount
=
res
.
Data
.
PageCount
;
}
}).
catch
(()
=>
{
this
.
loading
=
false
})
}
{
name
:
'OrderId'
,
label
:
'订单编号'
,
field
:
'OrderId'
,
align
:
'left'
,
},
{
name
:
'PeopleNum'
,
label
:
'订单人数'
,
field
:
'PeopleNum'
,
align
:
'left'
,
},
{
name
:
'BalanceStateStr'
,
label
:
'返佣'
,
field
:
'BalanceStateStr'
,
align
:
'left'
,
},
{
name
:
'RemitStr'
,
label
:
'提现'
,
field
:
'RemitStr'
,
align
:
'left'
,
},
{
name
:
'UpdateTimeStr'
,
label
:
'更新时间'
,
field
:
'UpdateTimeStr'
,
align
:
'left'
,
},
],
dataList
:
[],
loading
:
true
,
msg
:
{
CustomerId
:
0
,
pageIndex
:
1
,
pageSize
:
12
,
rowsPerPage
:
12
,
RebateType
:
2
,
Description
:
""
,
},
}
pageCount
:
0
,
taskOption
:
null
,
isShowTask
:
false
,
}
},
created
()
{
if
(
this
.
$route
.
query
&&
this
.
$route
.
query
.
CustomerId
)
{
this
.
msg
.
CustomerId
=
this
.
$route
.
query
.
CustomerId
}
},
mounted
()
{
this
.
getList
()
},
methods
:
{
resetSearch
()
{
this
.
loading
=
true
;
this
.
msg
.
pageIndex
=
1
;
this
.
getList
();
},
changePage
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
loading
=
true
;
this
.
getList
();
},
RefreshPage
()
{
this
.
getList
()
},
//获取数据
getList
()
{
this
.
loading
=
true
;
GetCustomerBalanceDetailPage
(
this
.
msg
).
then
(
res
=>
{
this
.
loading
=
false
;
if
(
res
.
Code
==
1
)
{
this
.
dataList
=
res
.
Data
.
PageData
;
this
.
pageCount
=
res
.
Data
.
PageCount
;
}
}).
catch
(()
=>
{
this
.
loading
=
false
})
}
},
}
</
script
>
<
style
lang=
"sass"
>
@import
url('~assets/css/table.sass')
...
...
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