| | |
| | | export function coustomLogin(params) { |
| | | return http.get('/wechat/ordinaryLogin', {params}) |
| | | } |
| | | |
| | | // 微信授权 |
| | | export function wxEmpower(params) { |
| | | return http.get('/wechat/wxEmpower', {params}) |
| | | } |
| | | // 分页查询项目信息 |
| | | export function projectPage(data) { |
| | | return http.post('/wechat/project/page', data) |
| | | |
| | | // 查询统计列表数量 |
| | | export function pageCount(data) { |
| | | return http.post('/ext/noticesExt/pageCount', data) |
| | | } |
| | | |
| | | // 根据项目id分页查询企业报名数据 |
| | | export function getPageByProjectId(data) { |
| | | return http.post('/wechat/getPageByProjectId', data) |
| | | } |
| | | |
| | | // 根据ID查询报名详情 |
| | | export function declaresDetail(id) { |
| | | return http.get(`/wechat/declares/${id}`) |
| | | } |
| | | |
| | | // 根据ID查询报名详情 |
| | | export function companyDetail(params) { |
| | | return http.get(`/wechat/company/queryDetail`, { params }) |
| | | } |
| | | |
| | | |
| | | // 根据项目id分页查询企业报名数据 |
| | | export function serviceDetail(data) { |
| | | return http.post('/wechat/declares/serviceDetail', data) |
| | | } |
| | | |
| | | // 根据经纬度逆解析地址 |
| | | export function getAddrByLatAndLng(params) { |
| | | return http.get(`/wechat/getAddrByLatAndLng`, { params }) |
| | | } |
| | | |
| | | // 根据申报编码查询最后一次核查或诊断数据 |
| | | export function declareService({id, type}) { |
| | | return http.post(`/wechat/declareService/${id}?type=${type}`) |
| | | } |
| | | |
| | | // 上传核查资料-上传服务资料 |
| | | export function uploadHCData(data) { |
| | | return http.post(`/wechat/uploadHCData`, data) |
| | | // 菜单数据 |
| | | export function getTreeList(params) { |
| | | return http.get('/system/menu/treeNodes', {params}) |
| | | } |
| | | |
| | | // 退出登录 |
| | |
| | | return http.get(`/wechat/logout`) |
| | | } |
| | | |
| | | // 根据申报id查看申报进度 |
| | | export function getDeclareHistoryList(data) { |
| | | return http.post(`/wechat/getDeclareHistoryList`, data) |
| | | // 微信公众号登录 |
| | | export function wxAccountLogin(data) { |
| | | return http.post('/system/wxAccountLogin', data) |
| | | } |
| | | |
| | | // 获取当前登录用户信息 |
| | | export function getUserInfo(params) { |
| | | return http.get('/system/getUserInfo', {params}) |
| | | } |
| | | |
| | | // 获取微信openId |
| | | export function wxLogin(params) { |
| | | return http.get('/system/wxLogin', {params}) |
| | | } |
| | | |
| | | // 微信小程序登录 |
| | | export function wxProgramLogin(params) { |
| | | return http.get('/system/wxProgramLogin', {params}) |
| | | } |
| | | |
| | | // 微信退出登录 |
| | | export function wxLoginOut(data) { |
| | | return http.post('/system/wxLoginOut', data) |
| | | } |
| | | |
| | | // 查询当前用户所有主组织下的工序 |
| | | export function getWorkingProcedure(data) { |
| | | return http.post('/ext/proceduresExt/productesGroup', data) |
| | | } |
| | | |
| | | // 查询当前用户所有主组织下的工序 |
| | | export function getOrganization(data) { |
| | | return http.post('/ext/departmentExt/getDepartmentListByConditon', data) |
| | | } |
| | | |
| | | // 获取上传字典值 |
| | | export function queryListByCode(params) { |
| | | return http.get('/system/dictData/queryListByCode', {params}) |
| | | } |