处理微信小程序 Babel regenerator 的 "a" is read-only 问题
This commit is contained in:
@@ -263,17 +263,23 @@ export const reqSaveWeldAppearanceCheck = (data = {}) => post('/WeldAppearanceCh
|
||||
* 按班组查询任务单列表
|
||||
* @param {Object} params - { projectId, teamGroupId?, unitWorkId? }
|
||||
*/
|
||||
export const reqWeldTaskListByTeamGroup = (params = {}) => get('WeldTask/GetTaskListByTeamGroup', params)
|
||||
export const reqWeldTaskListByTeamGroup = (params) => request('WeldTask/GetTaskListByTeamGroup', {
|
||||
method: 'GET',
|
||||
data: params || {},
|
||||
})
|
||||
|
||||
/**
|
||||
* 查询任务单详情(含 Joints)
|
||||
* @param {Object} params - { projectId, taskCode, unitWorkId? }
|
||||
*/
|
||||
export const reqWeldTaskDetail = (params = {}) => get('WeldTask/GetTaskDetail', params)
|
||||
export const reqWeldTaskDetail = (params) => request('WeldTask/GetTaskDetail', {
|
||||
method: 'GET',
|
||||
data: params || {},
|
||||
})
|
||||
|
||||
/**
|
||||
* 根据任务单生成出库申请
|
||||
* @param {Object} data - { ProjectId, TaskCode, PersonId }
|
||||
*/
|
||||
export const reqWeldTaskGenerateOutPlan = (data = {}) => post('WeldTask/GenerateOutPlan', data)
|
||||
export const reqWeldTaskGenerateOutPlan = (data) => post('WeldTask/GenerateOutPlan', data || {})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user