请求参数更改

This commit is contained in:
张宁 2024-06-13 14:43:16 +08:00
parent adb30490e8
commit 5d945c7bfe
1 changed files with 8 additions and 8 deletions

View File

@ -104,8 +104,8 @@ watch(collageId, () => {
const getAdminPCIndex = () => {
let params = {
"Year": years.value,
"Month": months.value,
"Day": days.value
"Month": months.value || null,
"Day": days.value || null
}
AdminPCIndex(params).then((res: any) => {
dataStore.setData(res.data);
@ -124,18 +124,18 @@ const payData = () => {
let params: any = [{
"EducationalLevel": 3,
"Year": years.value,
"Month": months.value,
"Day": days.value
"Month": months.value || null,
"Day": days.value || null
}, {
"EducationalLevel": 4,
"Year": years.value,
"Month": months.value,
"Day": days.value
"Month": months.value || null,
"Day": days.value || null
}, {
"EducationalLevel": 6,
"Year": years.value,
"Month": months.value,
"Day": days.value
"Month": months.value || null,
"Day": days.value || null
}]
for (let item of params) {
WeekPay(item).then((res: any) => {