From dc5f124f39576b91f8af654774ec528be5a27617 Mon Sep 17 00:00:00 2001 From: 13218645326 Date: Sun, 10 Dec 2023 03:36:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8E=A5=E5=8F=A3=E8=B7=AF=E5=BE=84=E8=B0=83?= =?UTF-8?q?=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/http/api/enterprise.ts | 38 +++++++++++++++++++------------------- src/http/api/equip.ts | 10 +++++----- 2 files changed, 24 insertions(+), 24 deletions(-) diff --git a/src/http/api/enterprise.ts b/src/http/api/enterprise.ts index b608130..722916a 100644 --- a/src/http/api/enterprise.ts +++ b/src/http/api/enterprise.ts @@ -2,12 +2,12 @@ import { post, get, detele } from '../index' // 新增或者修改企业类型 export const apiAddOrUpdateCompanyType = (data: any) => { - return post('company_type/addOrUpdateCompanyType', data) + return post('/zlpt-company/company_type/addOrUpdateCompanyType', data) } // 根据id删除企业类型 export const apiDeleteCompanyType = (id: any) => { - let strUrl = `/company_type/deleteCompanyType/${id}` + let strUrl = `/zlpt-company/company_type/deleteCompanyType/${id}` return detele(strUrl, {}) } @@ -16,13 +16,13 @@ export const apiDeleteCompanyType = (id: any) => { // 企业类型导出 export const apiExportExcel = () => { - let strUrl = `/company_type/exportExcel` + let strUrl = `/zlpt-company/company_type/exportExcel` return get(strUrl, {}) } // 根据条件查询企业所属 export const apiSelectCompanyLtd = (params: any) => { - let strUrl = `/company_type/selectCompanyLtd` + let strUrl = `/zlpt-company/company_type/selectCompanyLtd` return post(strUrl, params) } @@ -30,14 +30,14 @@ export const apiSelectCompanyLtd = (params: any) => { // 根据条件查询企业类型数据 export const apiSelectCompanyTypeList = (params: any) => { - let strUrl = `/company_type/selectCompanyTypeList` + let strUrl = `/zlpt-company/company_type/selectCompanyTypeList` return post(strUrl, params) } // ====== // 根据条件查询证件类型 export const apiSelectIdCard = (params: any) => { - let strUrl = `/company_type/selectIdCard` + let strUrl = `/zlpt-company/company_type/selectIdCard` return post(strUrl, params) } @@ -45,70 +45,70 @@ export const apiSelectIdCard = (params: any) => { // =======================企业入驻审核====================== // 企业注销 export const apiCompanyInfo = (deptId: any) => { - let strUrl = `/company_info/${deptId}` + let strUrl = `/zlpt-company/company_info/${deptId}` return detele(strUrl, {}) } // 录入企业信息 export const apiAddCompanyInfo = (params: any) => { - let strUrl = `/company_info/addCompanyInfo` + let strUrl = `/zlpt-company/company_info/addCompanyInfo` return post(strUrl, params) } // 企业入驻信息导出 export const apiCompanyExportExcel = (params: any) => { - let strUrl = `/company_info/exportExcel` + let strUrl = `/zlpt-company/company_info/exportExcel` return get(strUrl, params) } // 根据企业id查询企业信息 export const apiGetCompanyInfoById = (id: any) => { - let strUrl = `/company_info/getCompanyInfoById/${id}` + let strUrl = `/zlpt-company/company_info/getCompanyInfoById/${id}` return get(strUrl, {}) } // 获取公司列表 export const apiGetCompanyInfoList = (params: any) => { - let strUrl = `/company_info/list` + let strUrl = `/zlpt-company/company_info/list` return get(strUrl,params) } // 通过主键查询单条数据 export const apiGetCompanyInfoSelectById = (params: any) => { - let strUrl = `/company_info/selectById` + let strUrl = `/zlpt-company/company_info/selectById` return get(strUrl,params) } // 根据条件查询企业详细信息 export const apiSelectCompanyInfo = (params: any) => { - let strUrl = `/company_info/selectCompanyInfo` + let strUrl = `/zlpt-company/company_info/selectCompanyInfo` return post(strUrl,params) } // 根据条件查询企业信息(企业入驻审核) 企业入驻审核列表 export const apiGetCompanyInfoSelectList = (params: any) => { - let strUrl = `/company_info/selectList` + let strUrl = `/zlpt-company/company_info/selectList` return post(strUrl,params) } // /company_info/updateCompanyInfo export const apiupdateCompanyInfo = (params: any) => { - let strUrl = `/company_info/updateCompanyInfo` + let strUrl = `/zlpt-company/company_info/updateCompanyInfo` return post(strUrl,params) } //=============================================企业业务开通管理 // business​/open​/exportExcel export const apiBusinessOpenExportExcel = ( ) => { - let strUrl = `business/open/exportExcel` + let strUrl = `/zlpt-company/business/open/exportExcel` return get(strUrl,{}) } // 新增业务开通请求 export const apiBusinessOpenInsert = (params: any) => { - let strUrl = `/business/open/insert` + let strUrl = `/zlpt-company/business/open/insert` return post(strUrl,params) } // 根据条件查询企业业务开通信息列表 export const apiBusinessOpenselectList = (params: any) => { - let strUrl = `/business/open/selectList` + let strUrl = `/zlpt-company/business/open/selectList` return post(strUrl,params) } // 企业业务开通数据修改 export const apiBusinessUpdateBusiness = (params: any) => { - let strUrl = `/business/open/updateBusiness` + let strUrl = `/zlpt-company/business/open/updateBusiness` return post(strUrl,params) } diff --git a/src/http/api/equip.ts b/src/http/api/equip.ts index 7b04c34..8cc62fe 100644 --- a/src/http/api/equip.ts +++ b/src/http/api/equip.ts @@ -2,23 +2,23 @@ import { post, get, detele,put } from '../index' // 下架列表 export const apiOffList = (data: any) => { - return post('/off/selectList', data) + return post('/zlpt-equip/off/selectList', data) } // 新增或者修改企业类型 export const apiUpOffList = (data: any) => { // 1 上 2下 - return post('/off/upOffList', data) + return post('/zlpt-equip/off/upOffList', data) } // 详情 export const apiSelectInfo = (params: any) => { - return get(`/off/selectInfo`, params) + return get(`/zlpt-equip/off/selectInfo`, params) } // 下架列表 export const apiOff = (params: any) => { - return post(`/off/edit`, params) + return post(`/zlpt-equip/off/edit`, params) } export const typeTreeSelect = (params: any) => { - return get(`/type/treeSelect`, params) + return get(`/zlpt-equip/type/treeSelect`, params) }