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
60f85845
Commit
60f85845
authored
Mar 22, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
a7cf751b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
357 additions
and
410 deletions
+357
-410
courseList.vue
src/pages/sale/courseList.vue
+280
-327
employment.vue
src/pages/studyAbroad/employment.vue
+77
-83
No files found.
src/pages/sale/courseList.vue
View file @
60f85845
<
style
>
<
style
>
li
{
li
{
list-style-type
:
none
;
list-style-type
:
none
;
}
}
.courseList
ul
{
.courseList
ul
{
padding
:
0px
;
padding
:
0px
;
}
}
.courseList
li
{
.courseList
li
{
background
:
rgba
(
221
,
222
,
224
,
0.2
);
background
:
rgba
(
221
,
222
,
224
,
0.2
);
border-radius
:
4px
;
border-radius
:
4px
;
margin-top
:
15px
;
margin-top
:
15px
;
}
}
.courseList
li
.dline
{
.courseList
li
.dline
{
display
:
table
;
display
:
table
;
width
:
100%
;
width
:
100%
;
display
:
flex
;
display
:
flex
;
flex-direction
:
row
;
flex-direction
:
row
;
}
}
.courseList
li
.d1
,
.courseList
li
.d1
,
.courseList
li
.d2
,
.courseList
li
.d2
,
.courseList
li
.d3
,
.courseList
li
.d3
,
.courseList
li
.d4
,
.courseList
li
.d4
,
.courseList
li
.d5
{
.courseList
li
.d5
{
width
:
18%
;
width
:
18%
;
padding
:
20px
20px
10px
;
padding
:
20px
20px
10px
;
}
}
.courseList
li
.d7
{
.courseList
li
.d7
{
flex
:
1
;
flex
:
1
;
width
:
1px
;
width
:
1px
;
display
:
flex
;
display
:
flex
;
flex-direction
:
row
;
flex-direction
:
row
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
}
}
.courseList
li
.d1
.di-title
{
.courseList
li
.d1
.di-title
{
font-size
:
16px
;
font-size
:
16px
;
color
:
#111111
;
color
:
#111111
;
}
}
.courseList
li
.d1
.di-c
{
.courseList
li
.d1
.di-c
{
font-size
:
14px
;
font-size
:
14px
;
display
:
flex
;
display
:
flex
;
line-height
:
28px
;
line-height
:
28px
;
color
:
#111111
;
color
:
#111111
;
}
}
.courseList
li
.d6
{
.courseList
li
.d6
{
padding
:
10px
20px
;
padding
:
10px
20px
;
width
:
100%
;
width
:
100%
;
height
:
inherit
;
height
:
inherit
;
position
:
relative
;
position
:
relative
;
border-top
:
1px
solid
#dddee0
;
border-top
:
1px
solid
#dddee0
;
}
}
.courseList
li
.d6
.progress
{
.courseList
li
.d6
.progress
{
width
:
100%
;
width
:
100%
;
height
:
5px
;
height
:
5px
;
position
:
absolute
;
position
:
absolute
;
left
:
0
;
left
:
0
;
bottom
:
0
;
bottom
:
0
;
}
}
.courseList
li
.d2
div
{
.courseList
li
.d2
div
{
margin
:
2px
0
;
margin
:
2px
0
;
font-size
:
14px
;
font-size
:
14px
;
color
:
#111111
;
color
:
#111111
;
}
}
.courseList
li
.d2-n
{
.courseList
li
.d2-n
{
font-size
:
12px
;
font-size
:
12px
;
color
:
#999999
;
color
:
#999999
;
margin-right
:
20px
;
margin-right
:
20px
;
}
}
.courseList
li
.d3
.d3-s
{
.courseList
li
.d3
.d3-s
{
color
:
var
(
--q-color-negative
);
color
:
var
(
--q-color-negative
);
font-weight
:
bold
;
font-weight
:
bold
;
}
}
.courseList
li
.d3
div
{
.courseList
li
.d3
div
{
margin
:
2px
0
;
margin
:
2px
0
;
font-size
:
14px
;
font-size
:
14px
;
}
}
.courseList
li
.d4
div
{
.courseList
li
.d4
div
{
font-size
:
14px
;
font-size
:
14px
;
color
:
#111111
;
color
:
#111111
;
margin
:
2px
0
;
margin
:
2px
0
;
}
}
.courseList
li
.d5
div
{
.courseList
li
.d5
div
{
font-size
:
14px
;
font-size
:
14px
;
color
:
#111111
;
color
:
#111111
;
margin
:
2px
0
;
margin
:
2px
0
;
}
}
.courseList
.myCourseNName
{
width
:
25px
;
height
:
25px
;
border-radius
:
50%
;
color
:
#fff
!important
;
text-align
:
center
;
line-height
:
25px
;
background-color
:
#004d40
;
}
.courseList
.myCourseNName
{
width
:
25px
;
height
:
25px
;
border-radius
:
50%
;
color
:
#fff
!important
;
text-align
:
center
;
line-height
:
25px
;
background-color
:
#004d40
;
}
</
style
>
</
style
>
<
template
>
<
template
>
<div
class=
"page-body courseList"
>
<div
class=
"page-body courseList"
>
<div
class=
"page-search row items-center"
>
<div
class=
"page-search row items-center"
>
<div
class=
"col row wrap q-mr-lg q-col-gutter-md"
>
<div
class=
"col row wrap q-mr-lg q-col-gutter-md"
>
<div
class=
"col-3"
>
<div
class=
"col-3"
>
<q-input
<q-input
@
input=
"resetSearch"
clearable
standout=
"bg-primary text-white"
v-model=
"msg.CourseName"
label=
"课程名称"
@
input=
"resetSearch"
@
clear=
"resetSearch"
maxlength=
"20"
/>
clearable
standout=
"bg-primary text-white"
v-model=
"msg.CourseName"
label=
"课程名称"
@
clear=
"resetSearch"
maxlength=
"20"
/>
</div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"page-content"
>
<div
class=
"page-content"
>
<q-table
<q-table
:pagination=
"msg"
:loading=
"loading"
no-data-label=
"暂无相关数据"
flat
class=
"sticky-tow-column-table"
:pagination=
"msg"
separator=
"none"
:data=
"data"
:columns=
"columns"
row-key=
"name"
>
:loading=
"loading"
no-data-label=
"暂无相关数据"
flat
class=
"sticky-tow-column-table"
separator=
"none"
:data=
"data"
:columns=
"columns"
row-key=
"name"
>
<template
v-slot:top=
"props"
>
<template
v-slot:top=
"props"
>
<div
class=
"col-2 q-table__title"
>
课程报价表
</div>
<div
class=
"col-2 q-table__title"
>
课程报价表
</div>
<q-space
/>
<q-space
/>
<div
class=
"page-option"
>
<div
class=
"page-option"
>
<q-btn
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
icon=
"add"
label=
"创建报价单"
@
click=
"createQuotation"
/>
color=
"accent"
size=
"sm"
class=
"q-mr-md"
icon=
"add"
label=
"创建报价单"
@
click=
"createQuotation"
/>
</div>
</div>
</
template
>
</
template
>
<
template
v-slot:body=
"props"
>
<
template
v-slot:body=
"props"
>
<q-tr
:props=
"props"
>
<q-tr
:props=
"props"
>
<q-td
auto-width
>
<q-td
auto-width
>
<q-btn
<q-btn
size=
"sm"
color=
"accent"
round
dense
@
click=
"props.row.expand = !props.row.expand"
size=
"sm"
:icon=
"props.row.expand ? 'remove' : 'add'"
/>
color=
"accent"
round
dense
@
click=
"props.row.expand = !props.row.expand"
:icon=
"props.row.expand ? 'remove' : 'add'"
/>
</q-td>
</q-td>
<template
v-for=
"col in props.cols"
>
<template
v-for=
"col in props.cols"
>
<q-td
v-if=
"col.name == 'CoverImg'"
>
<q-td
v-if=
"col.name == 'CoverImg'"
>
<q-img
<q-img
:src=
"col.value"
spinner-color=
"white"
style=
"height: 54px; max-width: 100px"
:src=
"col.value"
class=
"rounded-borders"
>
spinner-color=
"white"
style=
"height: 54px; max-width: 100px"
class=
"rounded-borders"
>
</q-img>
</q-img>
</q-td>
</q-td>
<q-td
<q-td
v-else-if=
"col.name == 'PreferentialList'"
style=
"padding-right:0px"
>
v-else-if=
"col.name == 'PreferentialList'"
style=
"padding-right:0px"
>
<div
v-for=
"x in col.value"
>
<div
v-for=
"x in col.value"
>
<div
class=
"border-bottom"
v-if=
"x.PriceDiscountType == 1"
>
<div
class=
"border-bottom"
v-if=
"x.PriceDiscountType == 1"
>
买
{{
x
.
BuyNum
}}
送
{{
x
.
SendNum
}}
买
{{
x
.
BuyNum
}}
送
{{
x
.
SendNum
}}
...
@@ -200,30 +165,28 @@ li {
...
@@ -200,30 +165,28 @@ li {
<div
class=
"remark-font"
>
暂无优惠政策
</div>
<div
class=
"remark-font"
>
暂无优惠政策
</div>
</div>
</div>
</q-td>
</q-td>
<q-td
<q-td
v-else-if=
"col.name == 'PreferentialListSellCommission'"
style=
"padding-right:0px;padding-left:0px"
>
v-else-if=
"col.name == 'PreferentialListSellCommission'"
style=
"padding-right:0px;padding-left:0px"
>
<div
v-for=
"x in col.value"
>
<div
v-for=
"x in col.value"
>
<div
class=
"border-bottom"
style=
"padding-left: 16px;padding-right: 16px"
:class=
"
{'text-red':x.SaleCommissionType==1}" v-if="x.PriceDiscountType!=0">
{{
x
.
SaleCommissionType
==
1
?
'¥'
:
''
}}{{
x
.
SaleCommissionMoney
}}{{
x
.
SaleCommissionType
==
0
?
'%'
:
''
}}
</div>
<div
class=
"border-bottom"
style=
"padding-left: 16px;padding-right: 16px"
<div
v-if=
"x.PriceDiscountType == 0"
>
:class=
"
{'text-red':x.SaleCommissionType==1}" v-if="x.PriceDiscountType!=0">
<div
class=
"remark-font"
>
暂无佣金信息
</div>
{{
x
.
SaleCommissionType
==
1
?
'¥'
:
''
}}{{
x
.
SaleCommissionMoney
}}{{
x
.
SaleCommissionType
==
0
?
'%'
:
''
}}
</div>
</div>
<div
v-if=
"x.PriceDiscountType == 0"
>
<div
class=
"remark-font"
>
暂无佣金信息
</div>
</div>
</div>
</div>
<div
v-if=
"!col.value || col.value.length==0"
>
<div
v-if=
"!col.value || col.value.length==0"
>
<div
class=
"remark-font"
>
暂无佣金信息
</div>
<div
class=
"remark-font"
>
暂无佣金信息
</div>
</div>
</div>
</q-td>
</q-td>
<q-td
<q-td
v-else-if=
"col.name == 'PreferentialListB2BCommission'"
style=
"padding-left:0px"
>
v-else-if=
"col.name == 'PreferentialListB2BCommission'"
style=
"padding-left:0px"
>
<div
v-for=
"x in col.value"
>
<div
v-for=
"x in col.value"
>
<div
class=
"border-bottom"
style=
"padding-left: 16px"
:class=
"
{'text-red':x.B2BCommissionType==1}" v-if="x.PriceDiscountType!=0">
{{
x
.
B2BCommissionType
==
1
?
'¥'
:
''
}}{{
x
.
B2BCommissionMoney
}}{{
x
.
B2BCommissionType
==
0
?
'%'
:
''
}}
</div>
<div
class=
"border-bottom"
style=
"padding-left: 16px"
:class=
"
{'text-red':x.B2BCommissionType==1}"
v-if="x.PriceDiscountType!=0">
<div
v-if=
"x.PriceDiscountType == 0"
>
{{
x
.
B2BCommissionType
==
1
?
'¥'
:
''
}}{{
x
.
B2BCommissionMoney
}}{{
x
.
B2BCommissionType
==
0
?
'%'
:
''
}}
</div>
<div
class=
"remark-font"
>
暂无佣金信息
</div>
</div>
<div
v-if=
"x.PriceDiscountType == 0"
>
<div
class=
"remark-font"
>
暂无佣金信息
</div>
</div>
</div>
</div>
<div
v-if=
"!col.value || col.value.length==0"
>
<div
v-if=
"!col.value || col.value.length==0"
>
<div
class=
"remark-font"
>
暂无佣金信息
</div>
<div
class=
"remark-font"
>
暂无佣金信息
</div>
...
@@ -243,11 +206,7 @@ li {
...
@@ -243,11 +206,7 @@ li {
<q-td
v-else-if=
"col.name=='CourseIntro'"
>
<q-td
v-else-if=
"col.name=='CourseIntro'"
>
<q-btn
flat
color=
"primary"
label=
"查看详情"
@
click=
"showContentDialog(col.value)"
/>
<q-btn
flat
color=
"primary"
label=
"查看详情"
@
click=
"showContentDialog(col.value)"
/>
</q-td>
</q-td>
<q-td
<q-td
v-else-if=
"col.name != 'CourseFeature'"
:key=
"col.name"
:props=
"props"
>
v-else-if=
"col.name != 'CourseFeature'"
:key=
"col.name"
:props=
"props"
>
{{
col
.
value
}}
{{
col
.
value
}}
</q-td>
</q-td>
</
template
>
</
template
>
...
@@ -258,23 +217,14 @@ li {
...
@@ -258,23 +217,14 @@ li {
<q-badge
color=
"negative"
class=
"q-mr-md"
>
<q-badge
color=
"negative"
class=
"q-mr-md"
>
课程特色
课程特色
</q-badge>
</q-badge>
<div
<div
v-html=
"props.row.CourseFeature"
class=
"text-left col text-negative"
></div>
v-html=
"props.row.CourseFeature"
class=
"text-left col text-negative"
></div>
</div>
</div>
</q-td>
</q-td>
</q-tr>
</q-tr>
</template>
</template>
<
template
v-slot:bottom
>
<
template
v-slot:bottom
>
<q-pagination
<q-pagination
class=
"full-width justify-end"
v-model=
"msg.pageIndex"
color=
"primary"
:max=
"pageCount"
class=
"full-width justify-end"
:input=
"true"
@
input=
"changePage"
/>
v-model=
"msg.pageIndex"
color=
"primary"
:max=
"pageCount"
:input=
"true"
@
input=
"changePage"
/>
</
template
>
</
template
>
</q-table>
</q-table>
</div>
</div>
...
@@ -294,169 +244,172 @@ li {
...
@@ -294,169 +244,172 @@ li {
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
{
queryCoursePage
}
from
"../../api/course/index"
;
import
{
import
quotationForm
from
'../../components/sale/quotation-form'
queryCoursePage
export
default
{
}
from
"../../api/course/index"
;
meta
:
{
import
quotationForm
from
'../../components/sale/quotation-form'
title
:
"课程预览"
export
default
{
},
meta
:
{
components
:
{
title
:
"课程预览"
quotationForm
},
},
components
:
{
data
()
{
quotationForm
return
{
},
currentUrl
:
""
,
data
()
{
data
:
[],
return
{
loading
:
true
,
currentUrl
:
""
,
carousel
:
false
,
data
:
[],
showContent
:
''
,
loading
:
true
,
showForm
:
false
,
carousel
:
false
,
columns
:
[
showContent
:
''
,
{
showForm
:
false
,
name
:
"CourseFeature"
,
columns
:
[{
label
:
"课程特色"
,
name
:
"CourseFeature"
,
field
:
"CourseFeature"
,
label
:
"课程特色"
,
align
:
"left"
field
:
"CourseFeature"
,
},
align
:
"left"
{
},
name
:
"CoverImg"
,
{
label
:
"课程封面"
,
name
:
"CoverImg"
,
field
:
"CoverImg"
,
label
:
"课程封面"
,
align
:
"left"
field
:
"CoverImg"
,
},
align
:
"left"
{
},
name
:
"CourseName"
,
{
required
:
true
,
name
:
"CourseName"
,
label
:
"课程名称"
,
required
:
true
,
align
:
"left"
,
label
:
"课程名称"
,
field
:
row
=>
row
.
CourseName
align
:
"left"
,
},
field
:
row
=>
row
.
CourseName
{
},
name
:
"CateName"
,
{
required
:
true
,
name
:
"CateName"
,
label
:
"系列"
,
required
:
true
,
align
:
"left"
,
label
:
"系列"
,
field
:
row
=>
row
.
CateName
align
:
"left"
,
},
field
:
row
=>
row
.
CateName
{
},
name
:
"OriginalPrice"
,
{
required
:
true
,
name
:
"OriginalPrice"
,
label
:
"原价"
,
required
:
true
,
align
:
"left"
,
label
:
"原价"
,
field
:
row
=>
row
.
OriginalPrice
.
toFixed
(
2
)
align
:
"left"
,
},
field
:
row
=>
row
.
OriginalPrice
.
toFixed
(
2
)
{
},
name
:
"SellPrice"
,
{
required
:
true
,
name
:
"SellPrice"
,
label
:
"售价"
,
required
:
true
,
align
:
"left"
,
label
:
"售价"
,
field
:
row
=>
row
.
SellPrice
.
toFixed
(
2
)
align
:
"left"
,
},
field
:
row
=>
row
.
SellPrice
.
toFixed
(
2
)
{
},
name
:
"PreferentialList"
,
{
required
:
true
,
name
:
"PreferentialList"
,
label
:
"优惠政策"
,
required
:
true
,
align
:
"left"
,
label
:
"优惠政策"
,
field
:
row
=>
row
.
PreferentialList
align
:
"left"
,
},
field
:
row
=>
row
.
PreferentialList
{
},
name
:
"PreferentialListSellCommission"
,
{
required
:
true
,
name
:
"PreferentialListSellCommission"
,
label
:
"销售佣金"
,
required
:
true
,
align
:
"left"
,
label
:
"销售佣金"
,
field
:
row
=>
row
.
PreferentialList
align
:
"left"
,
},
field
:
row
=>
row
.
PreferentialList
{
},
name
:
"PreferentialListB2BCommission"
,
{
required
:
true
,
name
:
"PreferentialListB2BCommission"
,
label
:
"同行佣金"
,
required
:
true
,
align
:
"left"
,
label
:
"同行佣金"
,
field
:
row
=>
row
.
PreferentialList
align
:
"left"
,
},
field
:
row
=>
row
.
PreferentialList
{
},
name
:
"TeacherList"
,
{
label
:
"教师团队"
,
name
:
"TeacherList"
,
field
:
row
=>
row
.
TeacherList
,
label
:
"教师团队"
,
align
:
"left"
field
:
row
=>
row
.
TeacherList
,
},
align
:
"left"
{
},
name
:
"ClassHours"
,
{
label
:
"课时长度"
,
name
:
"ClassHours"
,
field
:
"ClassHours"
,
label
:
"课时长度"
,
align
:
"left"
,
field
:
"ClassHours"
,
format
:
(
val
,
row
)
=>
`
${
val
}
课时`
align
:
"left"
,
},
format
:
(
val
,
row
)
=>
`
${
val
}
课时`
{
},
{
name
:
"CourseIntro"
,
name
:
"CourseIntro"
,
label
:
"课程详情"
,
label
:
"课程详情"
,
field
:
"CourseIntro"
,
field
:
"CourseIntro"
,
align
:
"left"
align
:
"left"
},
},
{
{
name
:
"UpdateTimeStr"
,
name
:
"UpdateTimeStr"
,
label
:
"更新时间"
,
label
:
"更新时间"
,
field
:
"UpdateTimeStr"
,
field
:
"UpdateTimeStr"
,
align
:
"left"
align
:
"left"
}
}
],
],
msg
:
{
msg
:
{
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
12
,
pageSize
:
12
,
rowsPerPage
:
12
,
rowsPerPage
:
12
,
CourseName
:
""
,
CourseName
:
""
,
QCateIds
:
""
,
QCateIds
:
""
,
Status
:
"0"
,
Status
:
"0"
,
IsQPrice
:
1
,
//是否查询优惠价格设置
IsQPrice
:
1
,
//是否查询优惠价格设置
IsQTeacher
:
1
//是否查询课程讲师
IsQTeacher
:
1
//是否查询课程讲师
},
},
pageCount
:
0
pageCount
:
0
};
};
},
mounted
()
{
this
.
currentUrl
=
this
.
$route
.
path
;
this
.
getcourselist
();
},
methods
:
{
createQuotation
(){
this
.
showForm
=
true
;
},
showContentDialog
(
content
){
this
.
showContent
=
content
;
this
.
carousel
=
true
},
//重新查询
resetSearch
()
{
this
.
msg
.
pageIndex
=
1
;
this
.
getcourselist
();
},
},
//翻页
mounted
()
{
changePage
(
val
)
{
this
.
currentUrl
=
this
.
$route
.
path
;
this
.
msg
.
pageIndex
=
val
;
this
.
getcourselist
();
this
.
getcourselist
();
},
},
//获取菜单分页列表
methods
:
{
getcourselist
()
{
createQuotation
()
{
this
.
loading
=
true
;
this
.
showForm
=
true
;
queryCoursePage
(
this
.
msg
)
},
.
then
(
res
=>
{
showContentDialog
(
content
)
{
this
.
loading
=
false
;
this
.
showContent
=
content
;
res
.
Data
.
PageData
.
forEach
(
x
=>
{
this
.
carousel
=
true
x
.
expand
=
false
;
},
x
.
CourseFeature
=
x
.
CourseFeature
.
replace
(
//重新查询
new
RegExp
(
"
\n
"
,
"gm"
),
resetSearch
()
{
"<br/>"
this
.
msg
.
pageIndex
=
1
;
);
this
.
getcourselist
();
},
//翻页
changePage
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
getcourselist
();
},
//获取菜单分页列表
getcourselist
()
{
this
.
loading
=
true
;
queryCoursePage
(
this
.
msg
)
.
then
(
res
=>
{
this
.
loading
=
false
;
res
.
Data
.
PageData
.
forEach
(
x
=>
{
x
.
expand
=
false
;
x
.
CourseFeature
=
x
.
CourseFeature
.
replace
(
new
RegExp
(
"
\n
"
,
"gm"
),
"<br/>"
);
});
this
.
data
=
res
.
Data
.
PageData
;
this
.
pageCount
=
res
.
Data
.
PageCount
;
})
.
catch
(()
=>
{
this
.
loading
=
false
;
});
});
this
.
data
=
res
.
Data
.
PageData
;
}
this
.
pageCount
=
res
.
Data
.
PageCount
;
})
.
catch
(()
=>
{
this
.
loading
=
false
;
});
}
}
}
}
;
};
</
script
>
</
script
>
<
style
lang=
"sass"
>
<
style
lang=
"sass"
>
@import
url('~assets/css/table.sass')
@import
url('~assets/css/table.sass')
</
style
>
</
style
>
src/pages/studyAbroad/employment.vue
View file @
60f85845
...
@@ -25,98 +25,97 @@
...
@@ -25,98 +25,97 @@
</div>
</div>
</
template
>
</
template
>
<
template
v-slot:body=
"props"
>
<
template
v-slot:body=
"props"
>
<q-tr>
<q-tr
:props=
"props"
>
<q-td>
<div>
{{
props
.
row
.
SupplierName
}}
</div>
<template
v-for=
"col in props.cols"
>
<div>
<q-td
v-if=
"col.name == 'Name'"
>
<a
:href=
"props.row.SupplierContract"
style=
"color:#2961FE;text-decoration:none;"
{{
col
.
value
}}
v-if=
"props.row.SupplierContract"
target=
"_blank"
>
</q-td>
查看合同
<q-td
v-else-if=
"col.name == 'SupplierName'"
>
</a>
<div>
{{
col
.
value
}}
</div>
</div>
<div>
</q-td>
<a
:href=
"props.row.SupplierContract"
style=
"color:#2961FE;text-decoration:none;"
<template
v-slot:body-cell-PreferentialList=
"props"
>
v-if=
"props.row.SupplierContract"
target=
"_blank"
>
<q-td
:props=
"props"
style=
"padding-right:0px"
>
查看合同
<div
v-for=
"x in props.value"
>
</a>
<div
class=
"border-bottom"
v-if=
"x.PriceDiscountType == 1"
>
买
{{
x
.
BuyNum
}}
送
{{
x
.
SendNum
}}
</div>
<div
class=
"border-bottom"
v-if=
"x.PriceDiscountType == 2"
>
单人报名享
{{
100
-
x
.
PriceMoney
}}
折优惠
</div>
<div
class=
"border-bottom"
v-if=
"x.PriceDiscountType == 3"
>
双人报名享
{{
100
-
x
.
PriceMoney
}}
折优惠
</div>
</div>
<div
class=
"border-bottom"
v-if=
"x.PriceDiscountType == 4"
>
</q-td>
续费享
{{
100
-
x
.
PriceMoney
}}
折优惠
<q-td
v-if=
"col.name == 'PreferentialList'"
style=
"padding-right:0px"
>
<div
v-for=
"x in col.value"
>
<div
class=
"border-bottom"
v-if=
"x.PriceDiscountType == 1"
>
买
{{
x
.
BuyNum
}}
送
{{
x
.
SendNum
}}
</div>
<div
class=
"border-bottom"
v-if=
"x.PriceDiscountType == 2"
>
单人报名享
{{
100
-
x
.
PriceMoney
}}
折优惠
</div>
<div
class=
"border-bottom"
v-if=
"x.PriceDiscountType == 3"
>
双人报名享
{{
100
-
x
.
PriceMoney
}}
折优惠
</div>
<div
class=
"border-bottom"
v-if=
"x.PriceDiscountType == 4"
>
续费享
{{
100
-
x
.
PriceMoney
}}
折优惠
</div>
<div
class=
"remark-font"
v-if=
"x.PriceDiscountType == 0"
>
暂无优惠政策
</div>
</div>
</div>
<div
class=
"remark-font"
v-if=
"x.PriceDiscountType
== 0"
>
<div
v-if=
"!props.value || props.value.length
== 0"
>
暂无优惠政策
<div
class=
"remark-font"
>
暂无优惠政策
</div>
</div>
</div>
</div>
</q-td>
<div
v-if=
"!props.value || props.value.length == 0"
>
<div
class=
"remark-font"
>
暂无优惠政策
</div>
<q-td
v-else-if=
"col.name == 'PreferentialListSellCommission'"
style=
"padding-right:0px;padding-left:0px"
>
</div>
<div
v-for=
"x in props.value"
>
</q-td>
<div
class=
"border-bottom"
style=
"padding-left: 16px;padding-right: 16px"
</
template
>
:class=
"
{ 'text-red': x.SaleCommissionType == 1 }" v-if="x.PriceDiscountType != 0">
<
template
v-slot:body-cell-PreferentialListSellCommission=
"props"
>
{{
x
.
SaleCommissionType
==
1
?
"¥"
:
""
<q-td
:props=
"props"
style=
"padding-right:0px;padding-left:0px"
>
<div
v-for=
"x in props.value"
>
<div
class=
"border-bottom"
style=
"padding-left: 16px;padding-right: 16px"
:class=
"
{ 'text-red': x.SaleCommissionType == 1 }" v-if="x.PriceDiscountType != 0">
{{
x
.
SaleCommissionType
==
1
?
"¥"
:
""
}}{{
x
.
SaleCommissionMoney
}}{{
x
.
SaleCommissionMoney
}}{{
x
.
SaleCommissionType
==
0
?
"%"
:
""
}}
}}{{
x
.
SaleCommissionType
==
0
?
"%"
:
""
}}
</div>
<div
v-if=
"x.PriceDiscountType == 0"
>
<div
class=
"remark-font"
>
暂无佣金信息
</div>
</div>
</div>
</div>
<div
v-if=
"
x.PriceDiscountType
== 0"
>
<div
v-if=
"
!props.value || props.value.length
== 0"
>
<div
class=
"remark-font"
>
暂无佣金信息
</div>
<div
class=
"remark-font"
>
暂无佣金信息
</div>
</div>
</div>
</div>
</q-td>
<div
v-if=
"!props.value || props.value.length == 0"
>
<div
class=
"remark-font"
>
暂无佣金信息
</div>
<q-td
v-else-if=
"col.name == 'PreferentialListB2BCommission'"
style=
"padding-left:0px"
>
</div>
<div
v-for=
"x in props.value"
>
</q-td>
<div
class=
"border-bottom"
style=
"padding-left: 16px"
</
template
>
:class=
"
{ 'text-red': x.B2BCommissionType == 1 }" v-if="x.PriceDiscountType != 0">
<
template
v-slot:body-cell-PreferentialListB2BCommission=
"props"
>
{{
x
.
B2BCommissionType
==
1
?
"¥"
:
""
<q-td
:props=
"props"
style=
"padding-left:0px"
>
<div
v-for=
"x in props.value"
>
<div
class=
"border-bottom"
style=
"padding-left: 16px"
:class=
"
{ 'text-red': x.B2BCommissionType == 1 }"
v-if="x.PriceDiscountType != 0">
{{
x
.
B2BCommissionType
==
1
?
"¥"
:
""
}}{{
x
.
B2BCommissionMoney
}}{{
x
.
B2BCommissionMoney
}}{{
x
.
B2BCommissionType
==
0
?
"%"
:
""
}}
}}{{
x
.
B2BCommissionType
==
0
?
"%"
:
""
}}
</div>
<div
v-if=
"x.PriceDiscountType == 0"
>
<div
class=
"remark-font"
>
暂无佣金信息
</div>
</div>
</div>
</div>
<div
v-if=
"
x.PriceDiscountType
== 0"
>
<div
v-if=
"
!props.value || props.value.length
== 0"
>
<div
class=
"remark-font"
>
暂无佣金信息
</div>
<div
class=
"remark-font"
>
暂无佣金信息
</div>
</div>
</div>
</q-td>
<q-td
v-else-if=
"col.name == 'Id'"
>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"编辑"
@
click=
"EditStudy(props.row)"
/>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"价格设置"
@
click=
"EditStudyPrice(props.row)"
/>
<q-btn
v-if=
"props.row.SaleState==1||props.row.SaleState==4"
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"申请审核"
@
click=
"applyApply(props.row)"
/>
</q-td>
</
template
>
</q-tr>
<q-tr
:props=
"props"
>
<q-td
colspan=
"100%"
class=
"bg-grey-2"
>
<div
class=
"flex row items-start"
>
<q-badge
color=
"negative"
class=
"q-mr-md"
>
备注:
</q-badge>
<div>
{{props.row.Remark}}}
</div>
</div>
</div>
<div
v-if=
"!props.value || props.value.length == 0"
>
<div
class=
"remark-font"
>
暂无佣金信息
</div>
</div>
</q-td>
</
template
>
<
template
v-slot:body-cell-Id=
"props"
>
<q-td
:props=
"props"
>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"编辑"
@
click=
"EditStudy(props.row)"
/>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"价格设置"
@
click=
"EditStudyPrice(props.row)"
/>
<q-btn
v-if=
"props.row.SaleState==1||props.row.SaleState==4"
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"申请审核"
@
click=
"applyApply(props.row)"
/>
</q-td>
</q-td>
</
template
>
</q-tr>
</q-tr>
<q-tr
:props=
"props"
>
<q-td
colspan=
"100%"
class=
"bg-grey-2"
>
<div
class=
"flex row items-start"
>
<q-badge
color=
"negative"
class=
"q-mr-md"
>
备注:
</q-badge>
<div>
{{props.row.Remark}}}
</div>
</div>
</q-td>
</q-tr>
</template>
</template>
<
template
v-slot:bottom
>
<
template
v-slot:bottom
>
<q-pagination
class=
"full-width justify-end"
v-model=
"msg.pageIndex"
color=
"primary"
:max=
"PageCount"
<q-pagination
class=
"full-width justify-end"
v-model=
"msg.pageIndex"
color=
"primary"
:max=
"PageCount"
...
@@ -210,12 +209,7 @@
...
@@ -210,12 +209,7 @@
align
:
"left"
,
align
:
"left"
,
field
:
row
=>
row
.
PreferentialList
field
:
row
=>
row
.
PreferentialList
},
},
{
name
:
'Remark'
,
label
:
'备注'
,
field
:
'Remark'
,
align
:
'left'
},
{
{
name
:
'SaleStateName'
,
name
:
'SaleStateName'
,
label
:
'销售状态'
,
label
:
'销售状态'
,
...
...
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