Commit e3bc4917 authored by zhengke's avatar zhengke

修改

parent eafe6047
......@@ -558,6 +558,7 @@
this.objOption.ScrollMinNum = 0;
this.objOption.ScrollMaxNum = 0;
this.objOption.CourseTimeId = 0;
this.objOption.OpenBankLevelList = [];
}
},
//关闭弹窗
......
......@@ -103,6 +103,11 @@
</q-img>
</q-td>
</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">
<q-td :props="props">
<span v-html="props.value"></span>
......@@ -455,6 +460,12 @@ export default {
align: "left",
field: row => row.CourseName
},
{
name: "OpenBankLevelNameList",
label: "课程关联题库",
field: "OpenBankLevelNameList",
align: "left"
},
{
name: "CourseSubjectName",
required: true,
......
......@@ -136,6 +136,11 @@
<!-- <q-btn color="accent" size="sm" class="q-mr-md" icon="add" label="创建报价单" @click="createQuotation" /> -->
</div>
</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">
<q-tr :props="props">
<q-td auto-width>
......@@ -148,6 +153,9 @@
class="rounded-borders">
</q-img>
</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">
<div v-for="(x,index) in col.value" :key="index">
<div class="border-bottom" v-if="x.PriceDiscountType == 1">
......@@ -343,6 +351,12 @@
align: "left",
field: row => row.CourseName
},
{
name: "OpenBankLevelNameList",
label: "课程关联题库",
align: "left",
field: "OpenBankLevelNameList"
},
{
name: "CateName",
label: "系列",
......@@ -516,12 +530,12 @@
});
}
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',
'SchoolReNewRatio','TransIntroductceRatio','TransIntroductceReNewRatio','InnerRecommendRatio','InnerRecommendReNewRatio','B2CRbRatio',
'B2CRNRatio','TeacherList','ClassHours','CourseIntro','UpdateTimeStr']
}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() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment