| | |
| | | |
| | | export const getList = (current, size, params,pid) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/equipment/equipment/pages', |
| | | url: '/api/blade-jfpts/equipment/equipment/pageDept', |
| | | method: 'get', |
| | | params: { |
| | | ...params, |
| | |
| | | }) |
| | | } |
| | | |
| | | export const getListliu = (current, size, params,pid) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/equipment/equipment/pageDept', |
| | | method: 'get', |
| | | params: { |
| | | pid, |
| | | current, |
| | | size, |
| | | ...params, |
| | | } |
| | | }) |
| | | } |
| | | // export const getListliuf = (current, size, params,pid) => { |
| | | // return request({ |
| | | // url: '/api/blade-jfpts/equipment/equipment/pageDept', |
| | | // method: 'get', |
| | | // params: { |
| | | // ...params, |
| | | // current, |
| | | // size, |
| | | // pid, |
| | | // } |
| | | // }) |
| | | // } |
| | | export const getListliuc = (parentId) => { |
| | | return request({ |
| | | url: '/api/blade-system/dept/lazy-trees', |
| | | method: 'get', |
| | | params: { |
| | | parentId, |
| | | } |
| | | }) |
| | | } |
| | | export const getAll = () => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/equipment/equipment/listAll', |
| | |
| | | }) |
| | | } |
| | | |
| | | export const updates = (expireTime,deviceNumber) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/equipment/equipment/updateexpireTime', |
| | | method: 'post', |
| | | params: { |
| | | expireTime, |
| | | deviceNumber |
| | | } |
| | | }) |
| | | } |
| | | |
| | | export const getclient = (id) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/equipment/equipment/detail', |
| | |
| | | |
| | | export const getDeptLazyTree = (parentId) => { |
| | | return request({ |
| | | url: '/api/blade-jfpts/catalogs/catalogs/lazy-tree', |
| | | url: '/api/blade-system/dept/lazy-trees', |
| | | method: 'get', |
| | | params: { |
| | | parentId |
| | |
| | | }) |
| | | } |
| | | |
| | | export const getDeptTree = (tenantId) => { |
| | | return request({ |
| | | url: '/api/blade-system/dept/tree', |
| | | method: 'get', |
| | | params: { |
| | | tenantId, |
| | | } |
| | | }) |
| | | } |
| | | |
| | | export const getBaTree = (id) => { |
| | | return request({ |
| | | url: '/api/blade-user/pages', |
| | | method: 'get', |
| | | params: { |
| | | id, |
| | | } |
| | | }) |
| | | } |
| | | |