diff --git a/src/pages/view/homeSchool/BanJiKeBiao.vue b/src/pages/view/homeSchool/BanJiKeBiao.vue index dfe549a..f4cff6a 100644 --- a/src/pages/view/homeSchool/BanJiKeBiao.vue +++ b/src/pages/view/homeSchool/BanJiKeBiao.vue @@ -305,6 +305,7 @@ const selectDay = (index: number) => { jsId: "", bjId: bjId || "", xqId: xqId, + zc: curZc.value.djz, rq: rqList.value[index].rq, // 用于查询代课信息 zj: rqList.value[index].zj, txDate: null @@ -313,6 +314,10 @@ const selectDay = (index: number) => { const holiday = rqList.value[index].holiday || {}; if (holiday && holiday.type === 3 && holiday.txDate) { params.txDate = holiday.txDate; + const txZc = rqList.value[index].txZc; + if (txZc) { + params.zc = txZc; + } } } @@ -407,6 +412,7 @@ onMounted(async () => { background-color: #4477ee; padding: 10px 15px 15px 15px; gap: 10px; + overflow-x: auto; .date-tab-item { display: flex; diff --git a/src/pages/view/homeSchool/JiaoShiKeBiao.vue b/src/pages/view/homeSchool/JiaoShiKeBiao.vue index ed24e2a..7ca3b1e 100644 --- a/src/pages/view/homeSchool/JiaoShiKeBiao.vue +++ b/src/pages/view/homeSchool/JiaoShiKeBiao.vue @@ -171,6 +171,7 @@ const selectDay = (index: number) => { jsId: getJs.id, bjId: "", xqId: xqId, + zc: curZc.value.djz, rq: rqList.value[index].rq, // 用于查询代课信息 zj: rqList.value[index].zj, txDate: null @@ -179,6 +180,10 @@ const selectDay = (index: number) => { const holiday = rqList.value[index].holiday || {}; if (holiday && holiday.type === 3 && holiday.txDate) { params.txDate = holiday.txDate; + const txZc = rqList.value[index].txZc; + if (txZc) { + params.zc = txZc; + } } } @@ -246,6 +251,7 @@ onMounted(async () => { background-color: #4477ee; padding: 10px 15px 15px 15px; gap: 10px; + overflow-x: auto; .date-tab-item { display: flex;