| | |
| | | |
| | | 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 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, |
| | | } |
| | | }) |
| | | } |
| | | |