| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- import request from '@/utils/request'
- // 查询设备维修计划列表
- export function listRel_maint_plan(query) {
- return request({
- url: '/reliability/rel_maint_plan/list',
- method: 'get',
- params: query
- })
- }
- // 查询设备维修计划详细
- export function getRel_maint_plan(planId) {
- return request({
- url: '/reliability/rel_maint_plan/' + planId,
- method: 'get'
- })
- }
- // 新增设备维修计划
- export function addRel_maint_plan(data) {
- return request({
- url: '/reliability/rel_maint_plan',
- method: 'post',
- data: data
- })
- }
- // 修改设备维修计划
- export function updateRel_maint_plan(data) {
- return request({
- url: '/reliability/rel_maint_plan',
- method: 'put',
- data: data
- })
- }
- // 删除设备维修计划
- export function delRel_maint_plan(planId) {
- return request({
- url: '/reliability/rel_maint_plan/' + planId,
- method: 'delete'
- })
- }
- // 导出设备维修计划
- export function exportRel_maint_plan(query) {
- return request({
- url: '/reliability/rel_maint_plan/export',
- method: 'get',
- params: query
- })
- }
- // 提交维修计划申请
- export function submitApprove(data) {
- return request({
- url: '/reliability/rel_maint_plan/submitApprove',
- method: 'post',
- data: data
- })
- }
- // 维修计划审批处理
- export function handleRelMaintPlanApprove(data) {
- return request({
- url: '/reliability/rel_maint_plan/handle',
- method: 'put',
- data: data
- })
- }
- // 已通过的维修计划再次提交申请
- export function resubmitApprove(data) {
- return request({
- url: '/reliability/rel_maint_plan/resubmitApprove',
- method: 'post',
- data: data
- })
- }
|