修改打包配置

This commit is contained in:
BianLzhaoMin 2024-07-17 13:39:19 +08:00
parent ccf8482af8
commit 74a9eb5e31
3 changed files with 25 additions and 25 deletions

View File

@ -1,17 +1,17 @@
import { POST, GET } from './index.js'
const URL_TYPE_LIST = '/screen/material/returnOfMaterialsInfo/getTypeList'
const URL_DETAILS = '/screen/base/largeScreen/home/getMaterialReqData/details'
const URL_RETURN_DETAILS = '/screen/base/largeScreen/home/getMaterialReturnData/details'
const URL_UNIT_LIST = '/screen/material/agreementInfo/getUnitList'
const URL_PROJECT_LIST = '/screen/material/agreementInfo/getProjectList'
const URL_SCRAP_ANALYSIS = '/screen/base/largeScreen/home/getScrapAnalysisByMonth/details'
const URL_TOTAL_OWNERSHIP = '/screen/base/largeScreen/home/getTotalOwnership/details'
const URL_ACCEPTANCE_STORAGE = '/screen/base/largeScreen/home/getAcceptanceStorage/details'
const URL_PICKING_ANALYSIS = '/screen/base/largeScreen/home/getPickingAnalysisByMonth/details'
const URL_MATERIAL_RETURN_BY_MONTH = '/screen/base/largeScreen/home/getMaterialReturnByMonth/details'
const URL_MAINTENANCE_BY_CHART = '/screen/base/largeScreen/home/getMaintenanceByMonth/chart'
const URL_MAINTENANCE_BY_MONTH_DETAILS = '/screen/base/largeScreen/home/getMaintenanceByMonth/details'
const URL_TYPE_LIST = 'material/returnOfMaterialsInfo/getTypeList'
const URL_DETAILS = 'base/largeScreen/home/getMaterialReqData/details'
const URL_RETURN_DETAILS = 'base/largeScreen/home/getMaterialReturnData/details'
const URL_UNIT_LIST = 'material/agreementInfo/getUnitList'
const URL_PROJECT_LIST = 'material/agreementInfo/getProjectList'
const URL_SCRAP_ANALYSIS = 'base/largeScreen/home/getScrapAnalysisByMonth/details'
const URL_TOTAL_OWNERSHIP = 'base/largeScreen/home/getTotalOwnership/details'
const URL_ACCEPTANCE_STORAGE = 'base/largeScreen/home/getAcceptanceStorage/details'
const URL_PICKING_ANALYSIS = 'base/largeScreen/home/getPickingAnalysisByMonth/details'
const URL_MATERIAL_RETURN_BY_MONTH = 'base/largeScreen/home/getMaterialReturnByMonth/details'
const URL_MAINTENANCE_BY_CHART = 'base/largeScreen/home/getMaintenanceByMonth/chart'
const URL_MAINTENANCE_BY_MONTH_DETAILS = 'base/largeScreen/home/getMaintenanceByMonth/details'
// 设备类型
export const getTypeList = params => GET(URL_TYPE_LIST, params)

View File

@ -1,27 +1,27 @@
import { POST, GET } from './index'
// 领料数据
export const getMaterialReqDataApi = params => POST(`/screen/base/largeScreen/home/getMaterialReqData`,)
export const getMaterialReqDataApi = params => POST(`base/largeScreen/home/getMaterialReqData`,)
// 退料数据
export const getMaterialReturnDataApi = params => POST(`/screen/base/largeScreen/home/getMaterialReturnData`)
export const getMaterialReturnDataApi = params => POST(`base/largeScreen/home/getMaterialReturnData`)
//当月报废分析
export const getScrapAnalysisByMonthApi = params => POST(`/screen/base/largeScreen/home/getScrapAnalysisByMonth?maType=${params.maType}`)
export const getScrapAnalysisByMonthApi = params => POST(`base/largeScreen/home/getScrapAnalysisByMonth?maType=${params.maType}`)
//新购验收入库分析
export const getAcceptanceStorageApi = params => POST(`/screen/base/largeScreen/home/getAcceptanceStorage?maType=${params.maType}`,)
export const getAcceptanceStorageApi = params => POST(`base/largeScreen/home/getAcceptanceStorage?maType=${params.maType}`,)
//当月领料分析
export const getPickingAnalysisByMonthApi = params => POST(`/screen/base/largeScreen/home/getPickingAnalysisByMonth?maType=${params.maType}`,)
export const getPickingAnalysisByMonthApi = params => POST(`base/largeScreen/home/getPickingAnalysisByMonth?maType=${params.maType}`,)
//当月退料分析
export const getMaterialReturnByMonthApi = params => POST(`/screen/base/largeScreen/home/getMaterialReturnByMonth?maType=${params.maType}`,)
export const getMaterialReturnByMonthApi = params => POST(`base/largeScreen/home/getMaterialReturnByMonth?maType=${params.maType}`,)
//当月维修分析
export const getMaintenanceByMonthApi = params => POST(`/screen/base/largeScreen/home/getMaintenanceByMonth?maType=${params.maType}`,)
export const getMaintenanceByMonthApi = params => POST(`base/largeScreen/home/getMaintenanceByMonth?maType=${params.maType}`,)
//设备分布图
export const getEquipmentDisByMapApi = params => POST(`/screen/base/largeScreen/home/getEquipmentDisByMap`,)
export const getEquipmentDisByMapApi = params => POST(`base/largeScreen/home/getEquipmentDisByMap`,)
//施工机具/
export const getTotalOwnershipApi = params => POST(`/screen/base/largeScreen/home/getTotalOwnership`,)
export const getTotalOwnershipApi = params => POST(`base/largeScreen/home/getTotalOwnership`,)
// 当月使用车辆
export const getCarUseByMonthApi = params => POST(`/screen/base/largeScreen/home/getCarUseByMonth?maType=${params.maType}`,)
export const getCarUseByMonthApi = params => POST(`base/largeScreen/home/getCarUseByMonth?maType=${params.maType}`,)
// 当月使用车辆
export const getMaintenanceWarningApi = params => POST(`/screen/base/largeScreen/home/getMaintenanceWarning`,)
export const getMaintenanceWarningApi = params => POST(`base/largeScreen/home/getMaintenanceWarning`,)
//各公司机具保有量
export const getTotalOwnershipByCompany = params => POST(`/screen/base/largeScreen/home/getTotalOwnershipByCompany`)
export const getTotalOwnershipByCompany = params => POST(`base/largeScreen/home/getTotalOwnershipByCompany`)

View File

@ -2,7 +2,7 @@ import { POST, GET } from './index'
// 获取短信验证码
export const getSendIphoneCodeApi = params => POST(`/system/sms/codeLogin?phone=${params.phone}`,)
// 账号密码登录
export const authLoginApi = params => POST(`/screen/auth/loginApp`, params)
export const authLoginApi = params => POST(`/auth/loginApp`, params)
// 手机号登录
export const loginCodeApi = params => POST(`/auth/loginCode`, params)
// export const getImageCode = params => GET(`/iot/gywlw/publishVersion/page`, params)