Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
I
intelligent_station_web
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
张伯涛
intelligent_station_web
Commits
ad451083
Commit
ad451083
authored
Jul 30, 2024
by
王鹏云
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
学生管理模块-前端
parent
991c112d
Changes
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
492 additions
and
0 deletions
+492
-0
busStudentInfo.js
src/api/busStudentInfo.js
+68
-0
index.vue
src/views/busStudentInfo/index.vue
+424
-0
No files found.
src/api/busStudentInfo.js
0 → 100644
View file @
ad451083
import
request
from
'@/utils/request'
import
Qs
from
'qs'
/**
* 1. 列表查询
* 2. 查询详细信息
* 3. 新增
* 4. 修改
* 5. 逻辑删除
* 6. 导出
*
*/
// 1. 查询学生信息列表
export
function
listBusStudentInfo
(
query
)
{
return
request
({
url
:
'/busstudentinfo/list'
,
method
:
'get'
,
params
:
query
})
}
// 2. 查询学生信息详细信息
export
function
getBusStudentInfo
(
businessId
)
{
return
request
({
url
:
'/busstudentinfo/detail/'
+
businessId
,
method
:
'get'
})
}
// 3. 新增学生信息
export
function
addBusStudentInfo
(
data
)
{
data
=
Qs
.
stringify
(
data
)
return
request
({
url
:
'/busstudentinfo/add'
,
method
:
'post'
,
data
:
data
})
}
// 4. 修改学生信息
export
function
updateBusStudentInfo
(
data
)
{
const
businessId
=
data
.
businessId
data
=
Qs
.
stringify
(
data
)
return
request
({
url
:
'/busstudentinfo/update/'
+
businessId
,
method
:
'put'
,
data
})
}
// 5. 逻辑删除学生信息
export
function
delBusStudentInfo
(
businessId
)
{
return
request
({
url
:
'/busstudentinfo/deleteLogical/'
+
businessId
,
method
:
'delete'
})
}
// 6. 导出学生信息
export
function
exportBusStudentInfo
(
query
)
{
return
request
({
url
:
'/busstudentinfo/export'
,
method
:
'get'
,
params
:
query
,
responseType
:
'blob'
})
}
src/views/busStudentInfo/index.vue
0 → 100644
View file @
ad451083
This diff is collapsed.
Click to expand it.
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