查询课表传入周次

This commit is contained in:
ywyonui 2025-09-30 14:40:32 +08:00
parent f0b599c4d6
commit a8e6ccfdc9
2 changed files with 12 additions and 0 deletions

View File

@ -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;

View File

@ -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;