|
@@ -9,6 +9,8 @@
|
|
placeholder="全部类别"
|
|
placeholder="全部类别"
|
|
size="large"
|
|
size="large"
|
|
@change="filterData"
|
|
@change="filterData"
|
|
|
|
+ clearable
|
|
|
|
+ filterable
|
|
>
|
|
>
|
|
<el-option value="">全部学科</el-option>
|
|
<el-option value="">全部学科</el-option>
|
|
<el-option
|
|
<el-option
|
|
@@ -154,28 +156,45 @@ function filterData() {
|
|
}
|
|
}
|
|
getListData();
|
|
getListData();
|
|
function toDetail(item) {
|
|
function toDetail(item) {
|
|
- if (item.td_kclx_option_k == '1') {
|
|
|
|
- router.push({ name: 'home_mszx_detail', params: { tmk_id: item.dzdx_info.tmk_id, tmz_id: item.td_dz_id } })
|
|
|
|
- } else if (item.td_kclx_option_k == '2') {
|
|
|
|
- router.push({ name: 'home_tskc_detail', params: { ttk_id: item.dzdx_info.ttk_id, ttz_id: item.td_dz_id } });
|
|
|
|
- } else if (item.td_kclx_option_k == '3') {
|
|
|
|
- switch (item.td_dz_content) {
|
|
|
|
- case '1':
|
|
|
|
- ElMessage.error("直播还未开始,请耐心等待!");
|
|
|
|
- break;
|
|
|
|
- case '2':
|
|
|
|
- router.push({ name: 'home_zbkc_isLive', params: { tz_id: item.dzdx_info.tz_id, tzk_id: item.td_dz_id } });
|
|
|
|
- break
|
|
|
|
- case '3':
|
|
|
|
- router.push({ name: 'home_zbkc_detail', params: { tz_id: item.dzdx_info.tz_id, tzk_id: item.td_dz_id } });
|
|
|
|
- break
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- } else if (item.td_kclx_option_k == '4') {
|
|
|
|
- router.push({ name: 'home_zyfd_detail', params: { ttk_id: item.dzdx_info.ttk_id, tz_id: item.td_dz_id } });
|
|
|
|
- } else if (item.td_kclx_option_k == '5') {
|
|
|
|
- router.push({ name: 'home_jtjy_detail', params: { tjk_id: item.dzdx_info.tjk_id, tjz_id: item.td_dz_id } });
|
|
|
|
|
|
+ if (item.td_kclx_option_k == "1") {
|
|
|
|
+ router.push({
|
|
|
|
+ name: "home_mszx_detail",
|
|
|
|
+ params: { tmk_id: item.dzdx_info.tmk_id, tmz_id: item.td_dz_id },
|
|
|
|
+ });
|
|
|
|
+ } else if (item.td_kclx_option_k == "2") {
|
|
|
|
+ router.push({
|
|
|
|
+ name: "home_tskc_detail",
|
|
|
|
+ params: { ttk_id: item.dzdx_info.ttk_id, ttz_id: item.td_dz_id },
|
|
|
|
+ });
|
|
|
|
+ } else if (item.td_kclx_option_k == "3") {
|
|
|
|
+ switch (item.td_dz_content) {
|
|
|
|
+ case "1":
|
|
|
|
+ ElMessage.error("直播还未开始,请耐心等待!");
|
|
|
|
+ break;
|
|
|
|
+ case "2":
|
|
|
|
+ router.push({
|
|
|
|
+ name: "home_zbkc_isLive",
|
|
|
|
+ params: { tz_id: item.dzdx_info.tz_id, tzk_id: item.td_dz_id },
|
|
|
|
+ });
|
|
|
|
+ break;
|
|
|
|
+ case "3":
|
|
|
|
+ router.push({
|
|
|
|
+ name: "home_zbkc_detail",
|
|
|
|
+ params: { tz_id: item.dzdx_info.tz_id, tzk_id: item.td_dz_id },
|
|
|
|
+ });
|
|
|
|
+ break;
|
|
}
|
|
}
|
|
|
|
+ } else if (item.td_kclx_option_k == "4") {
|
|
|
|
+ router.push({
|
|
|
|
+ name: "home_zyfd_detail",
|
|
|
|
+ params: { ttk_id: item.dzdx_info.ttk_id, tz_id: item.td_dz_id },
|
|
|
|
+ });
|
|
|
|
+ } else if (item.td_kclx_option_k == "5") {
|
|
|
|
+ router.push({
|
|
|
|
+ name: "home_jtjy_detail",
|
|
|
|
+ params: { tjk_id: item.dzdx_info.tjk_id, tjz_id: item.td_dz_id },
|
|
|
|
+ });
|
|
|
|
+ }
|
|
}
|
|
}
|
|
</script>
|
|
</script>
|
|
|
|
|