mirror of
https://gitee.com/orangeform/orange-admin.git
synced 2026-01-17 18:46:36 +08:00
commit:同步1.3版本
This commit is contained in:
@@ -115,6 +115,15 @@ export default class DictionaryController {
|
||||
});
|
||||
});
|
||||
}
|
||||
static dictGradeAll (sender, params, axiosOption, httpOption) {
|
||||
return new Promise((resolve, reject) => {
|
||||
sender.doUrl('/admin/app/grade/listAll', 'get', params, axiosOption, httpOption).then(res => {
|
||||
resolve(res.data);
|
||||
}).catch(err => {
|
||||
reject(err);
|
||||
});
|
||||
});
|
||||
}
|
||||
static dictAddGrade (sender, params, axiosOption, httpOption) {
|
||||
return sender.doUrl('/admin/app/grade/add', 'post', params, axiosOption, httpOption);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user