123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081 |
- import request, { postBlob, getBlob, handleImport } from '@/utils/request'
- export function adminDeptList(data) {
- return request({
- url: `/admin/dept/list?moduleId=${data.moduleId}`,
- method: 'post',
- data
- })
- }
- export function adminDeptListExport(data, name) {
- return postBlob({
- url: '/admin/dept/list/export',
- data,
- name
- })
- }
- export function adminDeptTree(params) {
- return request({
- url: '/admin/dept/tree',
- method: 'get',
- params
- })
- }
- export function adminDeptAdd(data) {
- return request({
- url: '/admin/dept/add',
- method: 'post',
- data
- })
- }
- export function adminDeptUpdate(data) {
- return request({
- url: '/admin/dept/update',
- method: 'post',
- data
- })
- }
- export function adminDeptDel(params) {
- return request({
- url: '/admin/dept/del',
- method: 'post',
- params
- })
- }
- export function adminDeptAddWebsit(params) {
- return request({
- url: '/admin/dept/addWebsit',
- method: 'post',
- params
- })
- }
- export function adminDeptUpdateWebsit(data) {
- return request({
- url: '/admin/dept/updateWebsit',
- method: 'post',
- data
- })
- }
- export function adminDeptDelWebsit(params) {
- return request({
- url: '/admin/dept/delWebsit',
- method: 'post',
- params
- })
- }
- export function adminDeptTreeWebsit(params) {
- return request({
- url: '/admin/dept/treeWebsit',
- method: 'get',
- params
- })
- }
|