mirror of
https://codeup.aliyun.com/67762337eccfc218f6110e0e/vue/learning-system-portal.git
synced 2025-12-17 14:56:44 +08:00
2022年5月29日从svn移到git
This commit is contained in:
24
src/api/modules/survey.js
Normal file
24
src/api/modules/survey.js
Normal file
@@ -0,0 +1,24 @@
|
||||
/**问卷*/
|
||||
import ajax from '@/utils/xajax.js'
|
||||
|
||||
// 问卷列表
|
||||
const pageList=function(query) {
|
||||
return ajax.post('/xboe/survey/pagelist',query);
|
||||
}
|
||||
|
||||
//问卷内容
|
||||
const detail=function(id) {
|
||||
return ajax.get('/xboe/survey/detail?id='+id);
|
||||
}
|
||||
|
||||
//问卷统计
|
||||
const stat=function() {
|
||||
return ajax.get('/xboe/survey/stat');
|
||||
}
|
||||
|
||||
|
||||
export default{
|
||||
pageList,
|
||||
detail,
|
||||
stat
|
||||
}
|
||||
Reference in New Issue
Block a user