| | |
| | | } |
| | | } |
| | | }, |
| | | "/api-jl/v1/salary/getPayrollConstituteList": { |
| | | "get": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "员工薪资/薪酬方案" |
| | | ], |
| | | "summary": "获取人员每月的薪资列表", |
| | | "parameters": [ |
| | | { |
| | | "type": "string", |
| | | "description": "token", |
| | | "name": "Authorization", |
| | | "in": "header", |
| | | "required": true |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "统计周期按月查询(年-月)", |
| | | "name": "cycle", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "关键字", |
| | | "name": "keyword", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "页码", |
| | | "name": "page", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "每页大小", |
| | | "name": "pageSize", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "工种编码", |
| | | "name": "workTypeCode", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "integer", |
| | | "description": "工种ID", |
| | | "name": "workTypeID", |
| | | "in": "query" |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "员工ID", |
| | | "name": "workerID", |
| | | "in": "query" |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/util.ResponseList" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "type": "object", |
| | | "additionalProperties": true |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api-jl/v1/salary/getPayrollProductionCarList": { |
| | | "get": { |
| | | "produces": [ |
| | |
| | | } |
| | | } |
| | | }, |
| | | "/api-jl/v1/salary/savePayrollConstitute": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "员工薪资/薪酬方案" |
| | | ], |
| | | "summary": "薪酬数额调整", |
| | | "parameters": [ |
| | | { |
| | | "description": "参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.SavePayrollConstitute" |
| | | } |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "token", |
| | | "name": "Authorization", |
| | | "in": "header", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "$ref": "#/definitions/util.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api-jl/v1/salary/saveSalaryPlan": { |
| | | "post": { |
| | | "produces": [ |
| | |
| | | 1, |
| | | 2, |
| | | 3, |
| | | 4, |
| | | 5 |
| | | 4 |
| | | ], |
| | | "type": "integer", |
| | | "x-enum-comments": { |
| | | "DictTypeColor": "颜色", |
| | | "DictTypeMarket": "庄口", |
| | | "DictTypeSpec": "规格", |
| | | "DictTypeSubsidy": "补贴", |
| | | "DictTypeWorkshop": "车间" |
| | | }, |
| | | "x-enum-varnames": [ |
| | | "DictTypeMarket", |
| | | "DictTypeWorkshop", |
| | | "DictTypeColor", |
| | | "DictTypeSpec", |
| | | "DictTypeSubsidy" |
| | | "DictTypeSpec" |
| | | ], |
| | | "description": "字典类型", |
| | | "name": "dictType", |
| | |
| | | 1, |
| | | 2, |
| | | 3, |
| | | 4, |
| | | 5 |
| | | 4 |
| | | ], |
| | | "x-enum-comments": { |
| | | "DictTypeColor": "颜色", |
| | | "DictTypeMarket": "庄口", |
| | | "DictTypeSpec": "规格", |
| | | "DictTypeSubsidy": "补贴", |
| | | "DictTypeWorkshop": "车间" |
| | | }, |
| | | "x-enum-varnames": [ |
| | | "DictTypeMarket", |
| | | "DictTypeWorkshop", |
| | | "DictTypeColor", |
| | | "DictTypeSpec", |
| | | "DictTypeSubsidy" |
| | | "DictTypeSpec" |
| | | ] |
| | | }, |
| | | "constvar.FileTemplateCategory": { |
| | |
| | | "cleaner", |
| | | "machine_cleaner", |
| | | "all-powerful", |
| | | "monitor" |
| | | "monitor", |
| | | "test", |
| | | "other" |
| | | ], |
| | | "x-enum-comments": { |
| | | "JobTypeAllPowerful": "全能机动", |
| | |
| | | "JobTypeMachineCleaner": "感知器清洗工", |
| | | "JobTypeMaintenance": "保全工", |
| | | "JobTypeMonitor": "班长", |
| | | "JobTypeOther": "其它", |
| | | "JobTypeScoop": "舀茧工", |
| | | "JobTypeTest": "测试", |
| | | "JobTypeTransport": "送茧工", |
| | | "JobTypeWeavers": "挡车工" |
| | | }, |
| | |
| | | "JobTypeCleaner", |
| | | "JobTypeMachineCleaner", |
| | | "JobTypeAllPowerful", |
| | | "JobTypeMonitor" |
| | | "JobTypeMonitor", |
| | | "JobTypeTest", |
| | | "JobTypeOther" |
| | | ] |
| | | }, |
| | | "constvar.MiniDictType": { |
| | |
| | | "models.PayrollProductionCar": { |
| | | "type": "object", |
| | | "properties": { |
| | | "badSilkAvgQuantity": { |
| | | "description": "野纤平均数量", |
| | | "type": "number" |
| | | }, |
| | | "badSilkQuantity": { |
| | | "description": "野纤数量", |
| | | "type": "number" |
| | |
| | | "description": "规格", |
| | | "type": "string" |
| | | }, |
| | | "workshopId": { |
| | | "type": "integer" |
| | | }, |
| | | "workshopNumber": { |
| | | "description": "车间编号", |
| | | "type": "string" |
| | |
| | | "silkTotalAvgAmount": { |
| | | "description": "丝量人平均总价", |
| | | "type": "number" |
| | | }, |
| | | "workshopId": { |
| | | "type": "integer" |
| | | }, |
| | | "workshopName": { |
| | | "description": "车间名称", |
| | |
| | | "shopName": { |
| | | "type": "string" |
| | | }, |
| | | "shopNumber": { |
| | | "type": "string" |
| | | }, |
| | | "status": { |
| | | "$ref": "#/definitions/constvar.WorkerStatus" |
| | | }, |
| | |
| | | }, |
| | | "vehicleSpeed": { |
| | | "type": "number" |
| | | }, |
| | | "workshopId": { |
| | | "type": "integer" |
| | | }, |
| | | "workshopName": { |
| | | "description": "车间名", |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.SavePayrollConstitute": { |
| | | "type": "object", |
| | | "properties": { |
| | | "amount": { |
| | | "description": "金额", |
| | | "type": "number" |
| | | }, |
| | | "cycle": { |
| | | "description": "周期(月份)", |
| | | "type": "string" |
| | | }, |
| | | "salaryPlanId": { |
| | | "description": "薪资方案ID", |
| | | "type": "integer" |
| | | }, |
| | | "workTypeCode": { |
| | | "description": "工种代码", |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/constvar.JobType" |
| | | } |
| | | ] |
| | | }, |
| | | "workTypeID": { |
| | | "description": "工种ID", |
| | | "type": "integer" |
| | | }, |
| | | "workTypeName": { |
| | | "description": "工种名称", |
| | | "type": "string" |
| | | }, |
| | | "workerId": { |
| | | "description": "员工ID", |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "request.SaveRankStandard": { |
| | | "type": "object", |
| | | "properties": { |