查询课表传入周次
This commit is contained in:
parent
f0b599c4d6
commit
a8e6ccfdc9
@ -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;
|
||||
|
||||
@ -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;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user