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
Expand all
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
This diff is collapsed.
Click to expand it.
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