改路径

This commit is contained in:
sxu 2024-08-08 16:07:14 +08:00
parent 5117d2052e
commit ddd456c207
14 changed files with 101 additions and 101 deletions

View File

@ -3,7 +3,7 @@ import request from '@/utils/request'
// 工程项目-列表
export function getProjectList(query) {
return request({
url: '/base/bmProjectInfo/projectInfoAll',
url: '/material/base/bmProjectInfo/projectInfoAll',
method: 'get',
params: query
})
@ -11,7 +11,7 @@ export function getProjectList(query) {
//工程项目--新增
export function addProject(data) {
return request({
url: '/base/bmProjectInfo',
url: '/material/base/bmProjectInfo',
method: 'post',
data: data
})
@ -20,7 +20,7 @@ export function addProject(data) {
// 工程项目--修改
export function updateProject(data) {
return request({
url: '/base/bmProjectInfo',
url: '/material/base/bmProjectInfo',
method: 'put',
data: data
})
@ -28,7 +28,7 @@ export function updateProject(data) {
// //工程项目--删除
export function delProject(proId) {
return request({
url: '/base/bmProjectInfo/' + proId,
url: '/material/base/bmProjectInfo/' + proId,
method: 'delete'
})
}
@ -36,7 +36,7 @@ export function delProject(proId) {
// 标段工程-列表
export function ProjectLotList(query) {
return request({
url: '/base/bmProjectLot/projectLotAll',
url: '/material/base/bmProjectLot/projectLotAll',
method: 'get',
params: query
})
@ -44,7 +44,7 @@ export function ProjectLotList(query) {
//标段工程--新增
export function addProjectLot(data) {
return request({
url: '/base/bmProjectLot',
url: '/material/base/bmProjectLot',
method: 'post',
data: data
})
@ -53,7 +53,7 @@ export function addProjectLot(data) {
// 标段工程--修改
export function updateProjectLot(data) {
return request({
url: '/base/bmProjectLot',
url: '/material/base/bmProjectLot',
method: 'put',
data: data
})
@ -61,14 +61,14 @@ export function updateProjectLot(data) {
//标段工程--删除
export function delProjectLot(lotId) {
return request({
url: '/base/bmProjectLot/' + lotId,
url: '/material/base/bmProjectLot/' + lotId,
method: 'delete'
})
}
//工程项目下拉数据
export function getProjectSelect(data) {
return request({
url: '/base/bmProjectInfo/getProjectLot',
url: '/material/base/bmProjectInfo/getProjectLot',
method: 'post',
data: data
})
@ -78,7 +78,7 @@ export function getProjectSelect(data) {
// 往来单位-列表
export function unitInfoAll(query) {
return request({
url: '/base/bmUnitInfo/unitInfoAll',
url: '/material/base/bmUnitInfo/unitInfoAll',
method: 'get',
params: query
})
@ -86,7 +86,7 @@ export function unitInfoAll(query) {
//往来单位--新增
export function addUnit(data) {
return request({
url: '/base/bmUnitInfo',
url: '/material/base/bmUnitInfo',
method: 'post',
data: data
})
@ -95,7 +95,7 @@ export function addUnit(data) {
// 往来单位--修改
export function updateUnit(data) {
return request({
url: '/base/bmUnitInfo',
url: '/material/base/bmUnitInfo',
method: 'put',
data: data
})
@ -103,7 +103,7 @@ export function updateUnit(data) {
// 往来单位--删除
export function delUnit(unitId) {
return request({
url: '/base/bmUnitInfo/' + unitId,
url: '/material/base/bmUnitInfo/' + unitId,
method: 'delete'
})
}
@ -121,7 +121,7 @@ export function getUserList(query) {
// 往来单位-人员配置-右侧单位
export function getTypeList(query) {
return request({
url: '/base/bmUnitInfo/typeList',
url: '/material/base/bmUnitInfo/typeList',
method: 'get',
params: query
})
@ -130,7 +130,7 @@ export function getTypeList(query) {
// 往来单位-人员配置-保存按钮
export function unitPersonAll(query) {
return request({
url: '/base/bmUnitPerson',
url: '/material/base/bmUnitPerson',
method: 'post',
data: query
})
@ -139,7 +139,7 @@ export function unitPersonAll(query) {
// 往来单位-人员配置-解绑
export function delUnitPerson(unitId) {
return request({
url: '/base/bmUnitPerson/' + unitId,
url: '/material/base/bmUnitPerson/' + unitId,
method: 'delete'
})
}
@ -149,7 +149,7 @@ export function delUnitPerson(unitId) {
// 单位类型-列表
export function unitTypeList(query) {
return request({
url: '/base/dic/list',
url: '/material/base/dic/list',
method: 'get',
params: query
})
@ -157,7 +157,7 @@ export function unitTypeList(query) {
// 单位类型-列表-下拉
export function unitTypeListAll(query) {
return request({
url: '/base/dic/lists',
url: '/material/base/dic/lists',
method: 'get',
params: query
})
@ -165,7 +165,7 @@ export function unitTypeListAll(query) {
// 标签编号-列表
export function getMaMachineLabelApi(query) {
return request({
url: '/base/maMachineLabel/list',
url: '/material/base/maMachineLabel/list',
method: 'get',
params: query
})
@ -173,7 +173,7 @@ export function getMaMachineLabelApi(query) {
//单位类型--新增
export function addMaMachineLabelApi(data) {
return request({
url: '/base/maMachineLabel',
url: '/material/base/maMachineLabel',
method: 'post',
data: data
})
@ -181,7 +181,7 @@ export function addMaMachineLabelApi(data) {
// 单位类型-详情
export function unitTypeDetail(query) {
return request({
url: '/base/dic/listId',
url: '/material/base/dic/listId',
method: 'get',
params: query
})
@ -189,7 +189,7 @@ export function unitTypeDetail(query) {
//单位类型--新增
export function addUnitType(data) {
return request({
url: '/base/dic',
url: '/material/base/dic',
method: 'post',
data: data
})
@ -198,7 +198,7 @@ export function addUnitType(data) {
// 单位类型--修改
export function updateUnitType(data) {
return request({
url: '/base/dic',
url: '/material/base/dic',
method: 'put',
data: data
})
@ -206,7 +206,7 @@ export function updateUnitType(data) {
export function statusUnitType(data) {
return request({
url: '/base/dic/status',
url: '/material/base/dic/status',
method: 'put',
params: data
})
@ -215,7 +215,7 @@ export function statusUnitType(data) {
//单位类型--删除
export function delUnitType(typeIds) {
return request({
url: '/base/dic/' + typeIds,
url: '/material/base/dic/' + typeIds,
method: 'delete'
})
}
@ -225,7 +225,7 @@ export function delUnitType(typeIds) {
// 资产属性管理-列表
export function propInfoList(query) {
return request({
url: '/base/maPropInfo/list',
url: '/material/base/maPropInfo/list',
method: 'get',
params: query
})
@ -233,7 +233,7 @@ export function propInfoList(query) {
//资产属性管理--新增
export function addPropInfo(data) {
return request({
url: '/base/maPropInfo',
url: '/material/base/maPropInfo',
method: 'post',
data: data
})
@ -242,7 +242,7 @@ export function addPropInfo(data) {
// 资产属性管理--修改
export function updatePropInfo(data) {
return request({
url: '/base/maPropInfo',
url: '/material/base/maPropInfo',
method: 'put',
data: data
})
@ -250,7 +250,7 @@ export function updatePropInfo(data) {
//资产属性管理--删除
export function delPropInfo(propId) {
return request({
url: '/base/maPropInfo/' + propId,
url: '/material/base/maPropInfo/' + propId,
method: 'delete'
})
}
@ -262,7 +262,7 @@ export function delPropInfo(propId) {
// 资产属性配置-左侧人员
export function getProLists(query) {
return request({
url: '/base/maPropInfo/lists',
url: '/material/base/maPropInfo/lists',
method: 'get',
params: query
})
@ -271,7 +271,7 @@ export function getProLists(query) {
// 资产属性配置-右侧list
export function getMaTypeList(query) {
return request({
url: '/base/maPropInfo/getMaTypeList',
url: '/material/base/maPropInfo/getMaTypeList',
method: 'get',
params: query
})
@ -280,7 +280,7 @@ export function getMaTypeList(query) {
// 资产属性配置-保存按钮
export function savePropInfo(query) {
return request({
url: '/base/maPropInfo/save',
url: '/material/base/maPropInfo/save',
method: 'post',
data: query
})
@ -289,7 +289,7 @@ export function savePropInfo(query) {
// 资产属性配置-解绑
export function UnbindPropInfo(unitId) {
return request({
url: '/base/maPropSet/' + unitId,
url: '/material/base/maPropSet/' + unitId,
method: 'delete'
})
}
@ -298,7 +298,7 @@ export function UnbindPropInfo(unitId) {
// 获取设备信息-qrCode
export function getMachineByQrCode(query) {
return request({
url: '/base/machine/getMachineByQrCode',
url: '/material/base/machine/getMachineByQrCode',
method: 'get',
params: query
})

View File

@ -65,7 +65,7 @@ export function removeAgreement(data) {
// 机具领料-申请列表
export function getLeaseManageListAll(query) {
return request({
url: '/base/tm_task/getLeaseManageListAll',
url: '/material/base/tm_task/getLeaseManageListAll',
method: 'get',
params: query
})
@ -73,7 +73,7 @@ export function getLeaseManageListAll(query) {
// 机具领料-申请列表
export function getLeaseManageListAllCq(query) {
return request({
url: '/base/tm_task/getLeaseManageListAllCq',
url: '/material/base/tm_task/getLeaseManageListAllCq',
method: 'get',
params: query
})
@ -81,7 +81,7 @@ export function getLeaseManageListAllCq(query) {
// 机具领料-管理列表
export function getLeaseAuditListAll(query) {
return request({
url: '/base/tm_task/getLeaseAuditListAll',
url: '/material/base/tm_task/getLeaseAuditListAll',
method: 'get',
params: query
})
@ -126,7 +126,7 @@ export function getAgreementInfoById(params = {}) {
//提交 领料申请
export function submitLeaseApply(params = {}) {
return request({
url: '/base/tm_task/submitLeaseApply',
url: '/material/base/tm_task/submitLeaseApply',
method: 'post',
data: params
})
@ -135,7 +135,7 @@ export function submitLeaseApply(params = {}) {
//编辑 领料申请
export function editLeaseApply(params = {}) {
return request({
url: '/base/tm_task/edit',
url: '/material/base/tm_task/edit',
method: 'post',
data: params
})
@ -152,7 +152,7 @@ export function deleteTask(taskId) {
// 根据 领料任务id 获取详情数据
export function getLeaseListAll(params = {}) {
return request({
url: '/base/tm_task/getLeaseListAll',
url: '/material/base/tm_task/getLeaseListAll',
method: 'get',
params: params
})
@ -160,7 +160,7 @@ export function getLeaseListAll(params = {}) {
// 根据 领料任务id 获取详情数据
export function getLeaseListAllCq(params = {}) {
return request({
url: '/base/tm_task/getLeaseListAllCq',
url: '/material/base/tm_task/getLeaseListAllCq',
method: 'get',
params: params
})
@ -169,7 +169,7 @@ export function getLeaseListAllCq(params = {}) {
// 领料审核 同意
export function auditLeaseByCompany(params = {}) {
return request({
url: '/base/tm_task/auditLeaseByCompany',
url: '/material/base/tm_task/auditLeaseByCompany',
method: 'post',
data: params
})
@ -177,7 +177,7 @@ export function auditLeaseByCompany(params = {}) {
// 领料审核 同意
export function auditLeaseByCompanyCq(params = {}) {
return request({
url: '/base/tm_task/auditLeaseByCompanyCq',
url: '/material/base/tm_task/auditLeaseByCompanyCq',
method: 'post',
data: params
})
@ -186,7 +186,7 @@ export function auditLeaseByCompanyCq(params = {}) {
// 领料审核 拒绝
export function rejectLeaseByCompany(params = {}) {
return request({
url: '/base/tm_task/rejectLeaseByCompany',
url: '/material/base/tm_task/rejectLeaseByCompany',
method: 'post',
data: params
})
@ -194,7 +194,7 @@ export function rejectLeaseByCompany(params = {}) {
// 领料审核 拒绝
export function rejectLeaseByCompanyCq(params = {}) {
return request({
url: '/base/tm_task/rejectLeaseByCompanyCq',
url: '/material/base/tm_task/rejectLeaseByCompanyCq',
method: 'post',
data: params
})
@ -212,7 +212,7 @@ export function getUseTypeTreee(params = {}) {
// 机具领料申请-详情
export function getLeaseApplyListAll(query) {
return request({
url: '/base/tm_task/getLeaseApplyListAll',
url: '/material/base/tm_task/getLeaseApplyListAll',
method: 'get',
params: query
})
@ -220,7 +220,7 @@ export function getLeaseApplyListAll(query) {
export function getLeaseApplyAuditListAll(query) {
return request({
url: '/base/tm_task/getLeaseApplyAuditListAll',
url: '/material/base/tm_task/getLeaseApplyAuditListAll',
method: 'get',
params: query
})
@ -230,7 +230,7 @@ export function getLeaseApplyAuditListAll(query) {
//领料出库 列表
export function getLeaseAuditList(query) {
return request({
url: '/base/tm_task/getLeaseAuditList',
url: '/material/base/tm_task/getLeaseAuditList',
method: 'get',
params: query
})
@ -240,7 +240,7 @@ export function getLeaseAuditList(query) {
//领料出库 详情
export function getLeaseAuditListDetail(query) {
return request({
url: '/base/tm_task/getLeaseAuditListDetail',
url: '/material/base/tm_task/getLeaseAuditListDetail',
method: 'get',
params: query
})
@ -249,7 +249,7 @@ export function getLeaseAuditListDetail(query) {
//领料出库 编码出库获取编码
export function getDetailsByTypeId(query) {
return request({
url: '/base/leaseOutDetails/getDetailsByTypeId',
url: '/material/base/leaseOutDetails/getDetailsByTypeId',
method: 'get',
params: query
})
@ -258,7 +258,7 @@ export function getDetailsByTypeId(query) {
// 领料出库 编码出库 保存
export function submitOut(params) {
return request({
url: '/base/leaseOutDetails/submitOutRfid',
url: '/material/base/leaseOutDetails/submitOutRfid',
method: 'post',
data: params
})
@ -267,16 +267,16 @@ export function submitOut(params) {
// 领料出库 数量出库 保存
export function submitNumOut(params) {
return request({
url: '/base/leaseOutDetails/submitOutRfid',
url: '/material/base/leaseOutDetails/submitOutRfid',
method: 'post',
data: params
})
}
// 领料确认
// 领料确认
export function updateLeaseTaskStatusConfirmByCq(params) {
return request({
url: '/base/tm_task/updateLeaseTaskStatusConfirmByCq',
url: '/material/base/tm_task/updateLeaseTaskStatusConfirmByCq',
method: 'post',
data: params
})
@ -303,7 +303,7 @@ export function auditAll(params) {
// 获取费用承担方
export function getCostBearingApi() {
return request({
url: '/base/dic/pid',
url: '/material/base/dic/pid',
method: 'get',
})
}

View File

@ -143,7 +143,7 @@ export function materialReturnNoteByExamine(query) {
// 退料接收列表
export function getBackReceiveList(query) {
return request({
url: '/base/backReceive/getbackReceiveList',
url: '/material/base/backReceive/getbackReceiveList',
method: 'get',
params: query
})
@ -151,7 +151,7 @@ export function getBackReceiveList(query) {
// 退料接收详情列表
export function receiveView(data) {
return request({
url: '/base/backReceive/receiveViewWeb',
url: '/material/base/backReceive/receiveViewWeb',
method: 'post',
data: data
})
@ -160,7 +160,7 @@ export function receiveView(data) {
// 退料接收弹窗详情
export function getBackMachine(query) {
return request({
url: '/base/backReceive/getBackMachine',
url: '/material/base/backReceive/getBackMachine',
method: 'get',
params: query
})

View File

@ -2,7 +2,7 @@ import request from '@/utils/request'
//获取维修任务列表
export function getRepairTaskListApi(query) {
return request({
url: '/base/repair/getRepairTaskList',
url: '/material/base/repair/getRepairTaskList',
method: 'get',
params: query
})
@ -10,7 +10,7 @@ export function getRepairTaskListApi(query) {
//维修任务机具列表
export function getRepairMaTypeListApi(query) {
return request({
url: '/base/repair/getRepairMaTypeList',
url: '/material/base/repair/getRepairMaTypeList',
method: 'get',
params: query
})
@ -18,7 +18,7 @@ export function getRepairMaTypeListApi(query) {
//机具设备管理-列表
// export function listMaPartType(query) {
// return request({
// url: '/base/maPartType/list',
// url: '/material/base/maPartType/list',
// method: 'get',
// params: query
// })
@ -26,7 +26,7 @@ export function getRepairMaTypeListApi(query) {
// //配件管理-列表
export function listPartType(query) {
return request({
url: '/base/maPartType/list',
url: '/material/base/maPartType/list',
method: 'get',
params: query
})
@ -34,7 +34,7 @@ export function listPartType(query) {
// 单位下拉选
export function getUnitInfoSelectApi() {
return request({
url: '/base/bmUnitInfo/getUnitInfoSelect',
url: '/material/base/bmUnitInfo/getUnitInfoSelect',
method: 'get',
})
}
@ -42,7 +42,7 @@ export function getUnitInfoSelectApi() {
//机具设备管理--新增
export function submitRepairApplyApi(data) {
return request({
url: '/base/repair/submitRepairApply',
url: '/material/base/repair/submitRepairApply',
method: 'post',
contentType: 'application/json',
data: data
@ -58,14 +58,14 @@ export function getUserSelectApi() {
// 工程下拉选
export function getProjectSelectApi() {
return request({
url: '/base/bmProjectInfo/getProjectSelect',
url: '/material/base/bmProjectInfo/getProjectSelect',
method: 'get',
})
}
// 工程下拉选
export function getSupplierSelectApi() {
return request({
url: '/base/supplierInfo/getSupplierSelect',
url: '/material/base/supplierInfo/getSupplierSelect',
method: 'get',
})
}
@ -80,7 +80,7 @@ export function getDictTypeApi() {
// 维修合格的数据提交
export function addFastRepairApplyApi(json) {
return request({
url: '/base/repair/fastRepairApply',
url: '/material/base/repair/fastRepairApply',
method: 'post',
// contentType: 'application/json',
data: json
@ -89,7 +89,7 @@ export function addFastRepairApplyApi(json) {
// 完成维修的数据提交
export function addCompleteRepairApi(json) {
return request({
url: '/base/repair/completeRepair',
url: '/material/base/repair/completeRepair',
method: 'post',
// contentType: 'application/json',
data: json
@ -98,7 +98,7 @@ export function addCompleteRepairApi(json) {
// 提交审核的数据提交
export function addEndRepairTaskApi(json) {
return request({
url: '/base/repair/endRepairTask',
url: '/material/base/repair/endRepairTask',
method: 'post',
// contentType: 'application/json',
data: json
@ -107,14 +107,14 @@ export function addEndRepairTaskApi(json) {
// 工机具类型
export function listPartTypeApi() {
return request({
url: '/base/type/getMaTypeList',
url: '/material/base/type/getMaTypeList',
method: 'get',
})
}
// 维修状态下拉选
export function getDicSelectApi(query) {
return request({
url: '/base/repair/getDicSelect',
url: '/material/base/repair/getDicSelect',
method: 'get',
params: query
})
@ -122,8 +122,8 @@ export function getDicSelectApi(query) {
// 规格型号下拉数
export function getMaTypeSelectApi(query) {
return request({
url: '/base/type/getMaTypeSelect',
url: '/material/base/type/getMaTypeSelect',
method: 'get',
params: query
})
}
}

View File

@ -3,7 +3,7 @@ import request from '@/utils/request'
// 查询货架列表
export function listLabelBind(query) {
return request({
url: '/base/maLabelBind/list',
url: '/material/base/maLabelBind/list',
method: 'get',
params: query
})
@ -12,7 +12,7 @@ export function listLabelBind(query) {
// 标签绑定
export function addLabelBind(data) {
return request({
url: '/base/maLabelBind',
url: '/material/base/maLabelBind',
method: 'post',
data: data
})
@ -21,7 +21,7 @@ export function addLabelBind(data) {
//解绑
export function delLabelBind(maIds) {
return request({
url: '/base/maLabelBind/' + maIds,
url: '/material/base/maLabelBind/' + maIds,
method: 'delete'
})
}
@ -31,7 +31,7 @@ export function delLabelBind(maIds) {
// 绑定历史
export function listLabelHistoryList(query) {
return request({
url: '/base/maLabelBind/historyList',
url: '/material/base/maLabelBind/historyList',
method: 'get',
params: query
})

View File

@ -1,6 +1,6 @@
import request from '@/utils/request'
const maTypeUrl = '/base/type/getMaType' // 物品类型+配件
const maTypeUrl = '/material/base/type/getMaType' // 物品类型+配件
const addOrUpdateUrl = '/material/maWhole/addOrUpdate' // 添加
const selectListUrl = '/material/maWhole/selectList' // 查询首页
const selectListByIdUrl = '/material/maWhole/selectListById' // 查询详情
@ -69,4 +69,4 @@ export function editRequest(data) {
method: 'post',
data,
})
}
}

View File

@ -3,14 +3,14 @@ import request from '@/utils/request'
// 查询货架列表
export function listHouse(query) {
return request({
url: '/base/house/list',
url: '/material/base/house/list',
method: 'get',
params: query
})
}
export function listHouseTree(query) {
return request({
url: '/base/house/tree',
url: '/material/base/house/tree',
method: 'get',
params: query
})
@ -18,7 +18,7 @@ export function listHouseTree(query) {
// 新增货架
export function addHouse(data) {
return request({
url: '/base/house',
url: '/material/base/house',
method: 'post',
data: data
})
@ -26,14 +26,14 @@ export function addHouse(data) {
// 查询部门详细
export function getHouse(houseId) {
return request({
url: '/base/house/' + houseId,
url: '/material/base/house/' + houseId,
method: 'get'
})
}
// 修改货架
export function updateHouse(data) {
return request({
url: '/base/house',
url: '/material/base/house',
method: 'put',
data: data
})
@ -42,7 +42,7 @@ export function updateHouse(data) {
// 删除货架
export function delHouse(houseId) {
return request({
url: '/base/house/' + houseId,
url: '/material/base/house/' + houseId,
method: 'delete'
})
}
@ -51,7 +51,7 @@ export function delHouse(houseId) {
//货架配置-列表
export function getHouseSet(query) {
return request({
url: '/base/houseSet/getHouseSet',
url: '/material/base/houseSet/getHouseSet',
method: 'get',
params: query
})
@ -60,7 +60,7 @@ export function getHouseSet(query) {
//货架配置-新增
export function addhouseSet(data) {
return request({
url: '/base/houseSet',
url: '/material/base/houseSet',
method: 'post',
data: data
})
@ -68,7 +68,7 @@ export function addhouseSet(data) {
// 货架配置-修改
export function updateHouseSet(data) {
return request({
url: '/base/houseSet',
url: '/material/base/houseSet',
method: 'put',
data: data
})
@ -76,7 +76,7 @@ export function updateHouseSet(data) {
//货架配置-删除
export function delHouseSet(houseId) {
return request({
url: '/base/houseSet/' + houseId,
url: '/material/base/houseSet/' + houseId,
method: 'delete'
})
}

View File

@ -2,7 +2,7 @@ import request from '@/utils/request'
export function getHoldingLedger(query) {
return request({
url: '/base/composite/getHoldingLedger',
url: '/material/base/composite/getHoldingLedger',
method: 'get',
params: query,
})

View File

@ -54,7 +54,7 @@ export function delData(dictCode) {
// 新增字典数据
export function addDictData(data) {
return request({
url: '/base/dic',
url: '/material/base/dic',
method: 'post',
data: data
})
@ -63,7 +63,7 @@ export function addDictData(data) {
// 修改字典数据
export function updateDictData(data) {
return request({
url: '/base/dic',
url: '/material/base/dic',
method: 'put',
data: data
})
@ -72,7 +72,7 @@ export function updateDictData(data) {
// 删除字典数据
export function delDictData(ids) {
return request({
url: '/base/dic/' + ids,
url: '/material/base/dic/' + ids,
method: 'delete'
})
}

View File

@ -10,7 +10,7 @@ import request from '@/utils/request'
// }
export function listType(query) {
return request({
url: '/base/dic/list',
url: '/material/base/dic/list',
method: 'get',
params: query
})
@ -18,7 +18,7 @@ export function listType(query) {
//获取下拉字典类型-0
export function listTypes(query) {
return request({
url: '/base/dic/lists',
url: '/material/base/dic/lists',
method: 'get',
params: query
})

View File

@ -28,7 +28,7 @@ export function excelUpLoad(param){
const formData = new FormData()
formData.append('file', param.file)
return request({
url: '/base/maPartType/readExcel',
url: '/material/base/maPartType/readExcel',
method: 'post',
data: formData,
})
@ -37,7 +37,7 @@ export function excelUpLoad(param){
// excel文件下载
export function downloadExcel(param){
return request({
url: '/base/maPartType/downLoad',
url: '/material/base/maPartType/downLoad',
method: 'post',
param
})

View File

@ -147,8 +147,8 @@ export function getUserByRoleList(data) {
// 库管员
export function getMaUserList(params) {
return request({
url: '/base/maWarehouseKeeper/getMaUserList',
url: '/material/base/maWarehouseKeeper/getMaUserList',
method: 'get',
params
})
}
}

View File

@ -405,7 +405,7 @@ export default {
this.title = '新建'
},
handlePeople(row) {
this.$router.push('/base/comeAndGoPeople')
this.$router.push('/material/base/comeAndGoPeople')
},
//
handleSelectionChange(selection) {

View File

@ -349,7 +349,7 @@ export default {
/** 导出按钮操作 */
handleExport() {
this.download(
'/base/dic/export',
'/material/base/dic/export',
{
...this.queryParams,
dataCondition: this.ids,