处理微信小程序 Babel regenerator 的 "a" is read-only 问题

This commit is contained in:
huhao
2026-08-21 09:03:18 +08:00
parent b32cda3e85
commit 20c3255185
4 changed files with 102 additions and 89 deletions
+9 -3
View File
@@ -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 || {})