改路径

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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