import fetch from '../api/fetch.js' import website from '@/config/website.js' export default { dicList(params) { return fetch('/blade-system/dict-biz/dictionary', params) }, submit(params) { // 保存上传文件素材 return fetch('/wutong-library/library/save', params, 'post', 'json') }, basicFormRequest(url) { return fetch(url) }, region(params) { return fetch('/blade-system/region/lazy-tree', params) }, deptList(params) { return fetch('/blade-project-manage-v2/other/v2/deptList', params) }, getMenus() { return fetch('/blade-system/menu/routes', { clientId: website.clientId }) }, getButtons() { return fetch('/blade-system/menu/buttons', { clientId: website.clientId }) } }