Commit fd75b311 authored by youjie's avatar youjie

no message

parent 8f0414ea
...@@ -24,4 +24,16 @@ export function setStudentClassInAccount(data) { ...@@ -24,4 +24,16 @@ export function setStudentClassInAccount(data) {
method: 'post', method: 'post',
data data
}) })
}
/**
* 获取课表信息
* @param {JSON参数} data
*/
export function getStundentPlanStatistical(data) {
return request({
url: '/AppletIndex/GetStundentPlanStatistical',
method: 'post',
data
})
} }
\ No newline at end of file
...@@ -96,7 +96,7 @@ ...@@ -96,7 +96,7 @@
} from "../../utils/date.js"; } from "../../utils/date.js";
import { import {
getStundentPlanStatistical getStundentPlanStatistical
} from "../../api/index"; } from "../../api/erp";
import { VersionUpdate } from '../../utils/index.js' import { VersionUpdate } from '../../utils/index.js'
export default { export default {
name: "", name: "",
...@@ -231,7 +231,6 @@ ...@@ -231,7 +231,6 @@
VersionUpdate, VersionUpdate,
// 获取当天数据 // 获取当天数据
async getData() { async getData() {
return
if(data.msg.ClassId<=0) return if(data.msg.ClassId<=0) return
data.loading = true data.loading = true
let res = await getStundentPlanStatistical(data.msg); let res = await getStundentPlanStatistical(data.msg);
...@@ -242,7 +241,6 @@ ...@@ -242,7 +241,6 @@
}, },
//获取当月数据 //获取当月数据
async getAllData() { async getAllData() {
return
if(data.msg.ClassId<=0) return if(data.msg.ClassId<=0) return
loadingS() loadingS()
try { try {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment