Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
tea-resources-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
张伯涛
tea-resources-web
Commits
bf057394
Commit
bf057394
authored
Mar 28, 2024
by
YuY
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
讲师管理提交
parent
2fcfe6ee
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
554 additions
and
2 deletions
+554
-2
cmsLecturer.js
src/api/courseManagement/cmsLecturer.js
+68
-0
index.vue
src/views/courseInformation/feedback/index.vue
+0
-2
index.vue
src/views/courseInformation/lecturerManagement/index.vue
+486
-0
No files found.
src/api/courseManagement/cmsLecturer.js
0 → 100644
View file @
bf057394
import
request
from
'@/utils/request'
import
Qs
from
'qs'
/**
* 1. 列表查询
* 2. 查询详细信息
* 3. 新增
* 4. 修改
* 5. 逻辑删除
* 6. 导出
*
*/
// 1. 查询讲师信息表列表
export
function
listCmsLecturer
(
query
)
{
return
request
({
url
:
'/cmslecturer/queryCmsLecturerByPagination'
,
method
:
'get'
,
params
:
query
})
}
// 2. 查询讲师信息表详细信息
export
function
getCmsLecturer
(
businessId
)
{
return
request
({
url
:
'/cmslecturer/detail/'
+
businessId
,
method
:
'get'
})
}
// 3. 新增讲师信息表
export
function
addCmsLecturer
(
data
)
{
data
=
Qs
.
stringify
(
data
)
return
request
({
url
:
'/cmslecturer/add'
,
method
:
'post'
,
data
:
data
})
}
// 4. 修改讲师信息表
export
function
updateCmsLecturer
(
data
)
{
const
businessId
=
data
.
businessId
data
=
Qs
.
stringify
(
data
)
return
request
({
url
:
'/cmslecturer/update/'
+
businessId
,
method
:
'put'
,
data
})
}
// 5. 逻辑删除讲师信息表
export
function
delCmsLecturer
(
businessId
)
{
return
request
({
url
:
'/cmslecturer/deleteLogical/'
+
businessId
,
method
:
'delete'
})
}
// 6. 导出讲师信息表
export
function
exportCmsLecturer
(
query
)
{
return
request
({
url
:
'/cmslecturer/export'
,
method
:
'get'
,
params
:
query
,
responseType
:
'blob'
})
}
src/views/courseInformation/feedback/index.vue
View file @
bf057394
...
...
@@ -18,7 +18,6 @@
clearable
:maxlength=
"255"
size=
"small"
style=
"width: 150px"
/>
</el-form-item>
<el-form-item
prop=
"contact"
>
...
...
@@ -28,7 +27,6 @@
clearable
:maxlength=
"255"
size=
"small"
style=
"width: 150px"
/>
</el-form-item>
<el-form-item>
...
...
src/views/courseInformation/lecturerManagement/index.vue
0 → 100644
View file @
bf057394
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