import request from '@/utils/request' /* ********************************* 角色列表 **************************************/ // 角色列表 export function roleList(data) { return request({ url: '/frame/role/page.htm', method: 'post', type: 'application/x-www-form-urlencoded', data }) } /* ********************************* 用户列表 **************************************/ // 用户列表 export function optrList(data) { return request({ url: '/frame/optr/page.htm', method: 'post', type: 'application/x-www-form-urlencoded', data }) } // 用户新增 export function optrAdd(data) { return request({ url: '/frame/optr/add.htm', method: 'post', type: 'application/x-www-form-urlencoded', data }) } // 用户编辑 export function optrEdit(data) { return request({ url: '/frame/optr/edit.htm', method: 'post', type: 'application/x-www-form-urlencoded', data }) } // 用户删除 export function optrDelete(data) { return request({ url: '/frame/optr/delete.htm', method: 'post', type: 'application/x-www-form-urlencoded', data }) } /* ********************************* 航次管理 **************************************/ // 航次列表 export function regList(data) { return request({ url: '/voyage/reg/list.htm', method: 'post', type: 'application/x-www-form-urlencoded', data }) } // 分配航次 export function regGrant(data) { return request({ url: '/voyage/reg/optr/grant.htm', method: 'post', type: 'application/x-www-form-urlencoded', data }) } // 清除航次 export function regClear(data) { return request({ url: '/voyage/reg/optr/clear.htm', method: 'post', type: 'application/x-www-form-urlencoded', data }) }