Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
O
online-edu-admin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Redmine
Redmine
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
online-edu
online-edu-admin
Commits
d7633775
Commit
d7633775
authored
May 18, 2021
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
finished 讲师管理
parent
bee0b256
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
24 additions
and
0 deletions
+24
-0
teacher.js
src/api/biz/teacher.js
+22
-0
util.js
src/utils/util.js
+2
-0
index.vue
src/views/biz/teacher/index.vue
+0
-0
No files found.
src/api/biz/teacher.js
0 → 100644
View file @
d7633775
/******************
* 讲师管理
*****************/
// 导入请求公用方法
import
{
request
}
from
'../../utils/axiosFun'
;
export
const
fetchList
=
(
query
)
=>
{
return
request
(
'post'
,
'/api/mgr/teacher/list'
,
query
)
}
export
const
addObj
=
(
obj
)
=>
{
return
request
(
'post'
,
'/api/mgr/teacher/save'
,
obj
)
}
export
const
putObj
=
(
obj
)
=>
{
return
request
(
'post'
,
'/api/mgr/teacher/update'
,
obj
)
}
export
const
delObj
=
(
ids
)
=>
{
return
request
(
'post'
,
'/api/mgr/teacher/delete'
,
ids
)
}
\ No newline at end of file
src/utils/util.js
View file @
d7633775
...
...
@@ -143,6 +143,8 @@ function disposereq(self, data) {
})
},
1000
)
}
else
{
self
.
$message
.
error
(
'系统处理错误'
)
}
};
...
...
src/views/biz/teacher/index.vue
0 → 100644
View file @
d7633775
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