Commit f5b66759 authored by 张伯涛's avatar 张伯涛

课程商城筛选参数修改

parent 9dcaf639
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
@input="getCourseByPagination" @input="getCourseByPagination"
/> />
</el-tab-pane> </el-tab-pane>
<el-tab-pane v-if="mallIdentityType === 'college'" :label="cultureName" name="3"> <el-tab-pane v-if="mallIdentityType === 'college'" :label="cultureName" name="1">
<screen <screen
v-model="queryParams.tecClassifySchool" v-model="queryParams.tecClassifySchool"
class="tabScreen" class="tabScreen"
...@@ -306,6 +306,7 @@ export default { ...@@ -306,6 +306,7 @@ export default {
onlyTryToSee: false, onlyTryToSee: false,
// 只看已购 // 只看已购
onlyPurchased: false, onlyPurchased: false,
classPlanSchool: '',
// 搜索条件 // 搜索条件
queryParams: { queryParams: {
// 分页 // 分页
...@@ -629,6 +630,7 @@ export default { ...@@ -629,6 +630,7 @@ export default {
isPay: this.onlyFree && !this.onlyPurchased ? '0' : !this.onlyFree && this.onlyPurchased ? '1' : '', isPay: this.onlyFree && !this.onlyPurchased ? '0' : !this.onlyFree && this.onlyPurchased ? '1' : '',
lessonIsPay: this.onlyFree ? '0' : this.onlyPurchased ? '1' : this.onlyTryToSee ? '3' : null, lessonIsPay: this.onlyFree ? '0' : this.onlyPurchased ? '1' : this.onlyTryToSee ? '3' : null,
classPlan: this.mallIdentityType === 'firm' ? this.queryParams.classPlan : null, classPlan: this.mallIdentityType === 'firm' ? this.queryParams.classPlan : null,
classPlanSchool: this.mallIdentityType === 'college' ? this.queryParams.classPlan : null,
flag: '1', flag: '1',
lessonType: this.mallIdentityType === 'firm' ? '0' : '1' lessonType: this.mallIdentityType === 'firm' ? '0' : '1'
} }
......
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