Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
thinkApp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
游洁
thinkApp
Commits
fd75b311
Commit
fd75b311
authored
Sep 23, 2022
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
8f0414ea
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
3 deletions
+13
-3
erp.js
src/api/erp.js
+12
-0
timeTable.vue
src/pages/timetable/timeTable.vue
+1
-3
No files found.
src/api/erp.js
View file @
fd75b311
...
@@ -25,3 +25,15 @@ export function setStudentClassInAccount(data) {
...
@@ -25,3 +25,15 @@ export function setStudentClassInAccount(data) {
data
data
})
})
}
}
/**
* 获取课表信息
* @param {JSON参数} data
*/
export
function
getStundentPlanStatistical
(
data
)
{
return
request
({
url
:
'/AppletIndex/GetStundentPlanStatistical'
,
method
:
'post'
,
data
})
}
\ No newline at end of file
src/pages/timetable/timeTable.vue
View file @
fd75b311
...
@@ -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
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment