mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-16 06:16:44 +08:00
案例列表新增优秀案例
This commit is contained in:
@@ -61,7 +61,7 @@
|
|||||||
<span class="quyer-tag">
|
<span class="quyer-tag">
|
||||||
<el-button type="text" class="order-class" @click="searchData('views')" :class="{ actice: queryCondition.orderField == 'views' }">最热</el-button>
|
<el-button type="text" class="order-class" @click="searchData('views')" :class="{ actice: queryCondition.orderField == 'views' }">最热</el-button>
|
||||||
<el-button type="text" class="order-class" @click="searchData('')" :class="{ actice: queryCondition.orderField == '' }">最新</el-button>
|
<el-button type="text" class="order-class" @click="searchData('')" :class="{ actice: queryCondition.orderField == '' }">最新</el-button>
|
||||||
<el-button type="text" class="order-class" @click="searchData('')" :class="{ actice: queryCondition.orderField == '' }">优秀案例</el-button>
|
<el-button type="text" class="order-class" @click="searchexcellent()" :class="{ actice: queryCondition.excellent == true }">优秀案例</el-button>
|
||||||
|
|
||||||
<!-- <el-button type="text" class="order-class" @click="queryCondition.breCommend = queryCondition.breCommend == ture ? true : null" :class="{ actice: queryCondition.breCommend == true }">组织推荐</el-button> -->
|
<!-- <el-button type="text" class="order-class" @click="queryCondition.breCommend = queryCondition.breCommend == ture ? true : null" :class="{ actice: queryCondition.breCommend == true }">组织推荐</el-button> -->
|
||||||
</span>
|
</span>
|
||||||
@@ -280,7 +280,8 @@ export default {
|
|||||||
keyWord: "",
|
keyWord: "",
|
||||||
majorType:null, //专业分类
|
majorType:null, //专业分类
|
||||||
orgDomain: null, // 组织领域
|
orgDomain: null, // 组织领域
|
||||||
orderAsc: false
|
orderAsc: false,
|
||||||
|
excellent:false
|
||||||
},
|
},
|
||||||
keyWord: "",
|
keyWord: "",
|
||||||
anking: 2,
|
anking: 2,
|
||||||
@@ -486,7 +487,15 @@ export default {
|
|||||||
this.queryCondition.pageIndex = 1;
|
this.queryCondition.pageIndex = 1;
|
||||||
this.search();
|
this.search();
|
||||||
},
|
},
|
||||||
|
searchexcellent(){
|
||||||
|
this.queryCondition.excellent = !this.queryCondition.excellent;
|
||||||
|
this.getCaseData();
|
||||||
|
},
|
||||||
searchData(num) {
|
searchData(num) {
|
||||||
|
// if(num == 1){
|
||||||
|
// this.queryCondition.excellent = !this.queryCondition.excellent;
|
||||||
|
// this.getCaseData();
|
||||||
|
// }
|
||||||
this.queryCondition.pageIndex = 1;
|
this.queryCondition.pageIndex = 1;
|
||||||
this.queryCondition.orderField = num;
|
this.queryCondition.orderField = num;
|
||||||
this.getCaseData();
|
this.getCaseData();
|
||||||
|
|||||||
Reference in New Issue
Block a user