请求参数更改

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