mirror of
https://gitee.com/orangeform/orange-admin.git
synced 2026-01-17 10:36:31 +08:00
16 lines
507 B
JavaScript
16 lines
507 B
JavaScript
import * as staticDict from '@/staticDict';
|
|
|
|
export default class FlowDictionaryController {
|
|
static dictFlowCategory (sender, params, axiosOption, httpOption) {
|
|
return new Promise((resolve, reject) => {
|
|
sender.doUrl('/admin/flow/flowCategory/listDict', 'get', params, axiosOption, httpOption).then(res => {
|
|
let dictData = new staticDict.DictionaryBase();
|
|
dictData.setList(res.data);
|
|
resolve(dictData);
|
|
}).catch(err => {
|
|
reject(err);
|
|
});
|
|
});
|
|
}
|
|
}
|