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
e3bc4917
Commit
e3bc4917
authored
Mar 17, 2022
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
eafe6047
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
28 additions
and
2 deletions
+28
-2
course-form.vue
src/components/course/course-form.vue
+1
-0
course.vue
src/pages/course/course.vue
+11
-0
courseList.vue
src/pages/sale/courseList.vue
+16
-2
No files found.
src/components/course/course-form.vue
View file @
e3bc4917
...
@@ -558,6 +558,7 @@
...
@@ -558,6 +558,7 @@
this
.
objOption
.
ScrollMinNum
=
0
;
this
.
objOption
.
ScrollMinNum
=
0
;
this
.
objOption
.
ScrollMaxNum
=
0
;
this
.
objOption
.
ScrollMaxNum
=
0
;
this
.
objOption
.
CourseTimeId
=
0
;
this
.
objOption
.
CourseTimeId
=
0
;
this
.
objOption
.
OpenBankLevelList
=
[];
}
}
},
},
//关闭弹窗
//关闭弹窗
...
...
src/pages/course/course.vue
View file @
e3bc4917
...
@@ -103,6 +103,11 @@
...
@@ -103,6 +103,11 @@
</q-img>
</q-img>
</q-td>
</q-td>
</
template
>
</
template
>
<
template
v-slot:body-cell-OpenBankLevelNameList=
"props"
>
<q-td
:props=
"props"
>
<span
style=
"margin-right:10px;"
v-for=
"x in props.row.OpenBankLevelNameList"
>
{{
x
}}
</span>
</q-td>
</
template
>
<
template
v-slot:body-cell-CourseIntro=
"props"
>
<
template
v-slot:body-cell-CourseIntro=
"props"
>
<q-td
:props=
"props"
>
<q-td
:props=
"props"
>
<span
v-html=
"props.value"
></span>
<span
v-html=
"props.value"
></span>
...
@@ -455,6 +460,12 @@ export default {
...
@@ -455,6 +460,12 @@ export default {
align
:
"left"
,
align
:
"left"
,
field
:
row
=>
row
.
CourseName
field
:
row
=>
row
.
CourseName
},
},
{
name
:
"OpenBankLevelNameList"
,
label
:
"课程关联题库"
,
field
:
"OpenBankLevelNameList"
,
align
:
"left"
},
{
{
name
:
"CourseSubjectName"
,
name
:
"CourseSubjectName"
,
required
:
true
,
required
:
true
,
...
...
src/pages/sale/courseList.vue
View file @
e3bc4917
...
@@ -136,6 +136,11 @@
...
@@ -136,6 +136,11 @@
<!--
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
icon=
"add"
label=
"创建报价单"
@
click=
"createQuotation"
/>
-->
<!--
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
icon=
"add"
label=
"创建报价单"
@
click=
"createQuotation"
/>
-->
</div>
</div>
</
template
>
</
template
>
<!-- <template v-slot:body-cell-OpenBankLevelNameList="props">
<q-td auto-width :props="props">
<span v-for="item in props.row.OpenBankLevelNameList">{{item}}</span>
</q-td>
</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
>
...
@@ -148,6 +153,9 @@
...
@@ -148,6 +153,9 @@
class=
"rounded-borders"
>
class=
"rounded-borders"
>
</q-img>
</q-img>
</q-td>
</q-td>
<q-td
v-else-if=
"col.name=='OpenBankLevelNameList'"
:key=
"col.name"
>
<span
style=
"margin-right:10px;"
v-for=
"x in col.value"
>
{{
x
}}
</span>
</q-td>
<q-td
v-else-if=
"col.name == 'PreferentialList'"
style=
"padding-right:0px"
:key=
"col.name"
>
<q-td
v-else-if=
"col.name == 'PreferentialList'"
style=
"padding-right:0px"
:key=
"col.name"
>
<div
v-for=
"(x,index) in col.value"
:key=
"index"
>
<div
v-for=
"(x,index) in col.value"
:key=
"index"
>
<div
class=
"border-bottom"
v-if=
"x.PriceDiscountType == 1"
>
<div
class=
"border-bottom"
v-if=
"x.PriceDiscountType == 1"
>
...
@@ -343,6 +351,12 @@
...
@@ -343,6 +351,12 @@
align
:
"left"
,
align
:
"left"
,
field
:
row
=>
row
.
CourseName
field
:
row
=>
row
.
CourseName
},
},
{
name
:
"OpenBankLevelNameList"
,
label
:
"课程关联题库"
,
align
:
"left"
,
field
:
"OpenBankLevelNameList"
},
{
{
name
:
"CateName"
,
name
:
"CateName"
,
label
:
"系列"
,
label
:
"系列"
,
...
@@ -516,12 +530,12 @@
...
@@ -516,12 +530,12 @@
});
});
}
}
if
(
isShowPrice
){
if
(
isShowPrice
){
this
.
visibleColumns
=
[
'CourseFeature'
,
'CoverImg'
,
'CourseSubjectName'
,
'CourseName'
,
'CateName'
,
'OriginalPrice'
,
'SellPrice'
,
'PreferentialListSellCommission'
,
this
.
visibleColumns
=
[
'CourseFeature'
,
'CoverImg'
,
'CourseSubjectName'
,
'CourseName'
,
'
OpenBankLevelNameList'
,
'
CateName'
,
'OriginalPrice'
,
'SellPrice'
,
'PreferentialListSellCommission'
,
'PreferentialListB2BCommission'
,
'B2CRatio'
,
'B2CReNewRatio'
,
'CommissionReType'
,
'B2BRebateRatio'
,
'B2BReNewRatio'
,
'SchoolRebateRatio'
,
'PreferentialListB2BCommission'
,
'B2CRatio'
,
'B2CReNewRatio'
,
'CommissionReType'
,
'B2BRebateRatio'
,
'B2BReNewRatio'
,
'SchoolRebateRatio'
,
'SchoolReNewRatio'
,
'TransIntroductceRatio'
,
'TransIntroductceReNewRatio'
,
'InnerRecommendRatio'
,
'InnerRecommendReNewRatio'
,
'B2CRbRatio'
,
'SchoolReNewRatio'
,
'TransIntroductceRatio'
,
'TransIntroductceReNewRatio'
,
'InnerRecommendRatio'
,
'InnerRecommendReNewRatio'
,
'B2CRbRatio'
,
'B2CRNRatio'
,
'TeacherList'
,
'ClassHours'
,
'CourseIntro'
,
'UpdateTimeStr'
]
'B2CRNRatio'
,
'TeacherList'
,
'ClassHours'
,
'CourseIntro'
,
'UpdateTimeStr'
]
}
else
{
}
else
{
this
.
visibleColumns
=
[
'CourseFeature'
,
'CoverImg'
,
'CourseSubjectName'
,
'CourseName'
,
'CateName'
,
'TeacherList'
,
'ClassHours'
,
'CourseIntro'
,
'UpdateTimeStr'
]
this
.
visibleColumns
=
[
'CourseFeature'
,
'CoverImg'
,
'CourseSubjectName'
,
'CourseName'
,
'
OpenBankLevelNameList'
,
'
CateName'
,
'TeacherList'
,
'ClassHours'
,
'CourseIntro'
,
'UpdateTimeStr'
]
}
}
},
},
mounted
()
{
mounted
()
{
...
...
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