| | |
| | | } |
| | | } |
| | | }, |
| | | "/api-jl/v1/forms/salaryReportForms": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "报表管理" |
| | | ], |
| | | "summary": "薪资报表", |
| | | "parameters": [ |
| | | { |
| | | "description": "参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.SalaryReportForms" |
| | | } |
| | | }, |
| | | { |
| | | "type": "string", |
| | | "description": "token", |
| | | "name": "Authorization", |
| | | "in": "header", |
| | | "required": true |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/util.ResponseList" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/response.SalaryReportForms" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api-jl/v1/mentor/createMentorInfo": { |
| | | "post": { |
| | | "produces": [ |
| | |
| | | "overTimeDuration": { |
| | | "type": "number" |
| | | }, |
| | | "phoneNum": { |
| | | "type": "string" |
| | | }, |
| | | "startWorkTime": { |
| | | "type": "string" |
| | | }, |
| | |
| | | "type": "string" |
| | | }, |
| | | "salaryFormula": { |
| | | "description": "SalaryType string ` + "`" + `json:\"salaryType\" gorm:\"type:varchar(255);comment:薪资类型\"` + "`" + `", |
| | | "type": "string" |
| | | }, |
| | | "salaryType": { |
| | | "type": "string" |
| | | "$ref": "#/definitions/models.MiniDict" |
| | | }, |
| | | "salaryTypeId": { |
| | | "type": "integer" |
| | | }, |
| | | "updatedAt": { |
| | | "type": "string" |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.SalaryReportForms": { |
| | | "type": "object", |
| | | "properties": { |
| | | "keyword": { |
| | | "type": "string" |
| | | }, |
| | | "month": { |
| | | "type": "string" |
| | | }, |
| | | "page": { |
| | | "description": "页码", |
| | | "type": "integer" |
| | | }, |
| | | "pageSize": { |
| | | "description": "每页大小", |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | | "request.SalaryType": { |
| | | "type": "object", |
| | | "properties": { |
| | |
| | | "request.SalaryTypeValue": { |
| | | "type": "object", |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | }, |
| | | "isDefault": { |
| | | "description": "是否可编辑", |
| | | "type": "boolean" |
| | |
| | | } |
| | | } |
| | | }, |
| | | "response.SalaryDetail": { |
| | | "type": "object", |
| | | "properties": { |
| | | "amount": { |
| | | "description": "工资值", |
| | | "type": "number" |
| | | }, |
| | | "salaryType": { |
| | | "description": "薪资类型", |
| | | "type": "string" |
| | | }, |
| | | "salaryTypeId": { |
| | | "description": "薪资类型id", |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | | "response.SalaryReportForms": { |
| | | "type": "object", |
| | | "properties": { |
| | | "details": { |
| | | "type": "array", |
| | | "items": { |
| | | "$ref": "#/definitions/response.SalaryDetail" |
| | | } |
| | | }, |
| | | "issueSalary": { |
| | | "description": "应发工资", |
| | | "type": "number" |
| | | }, |
| | | "phone": { |
| | | "type": "string" |
| | | }, |
| | | "remark": { |
| | | "description": "备注", |
| | | "type": "string" |
| | | }, |
| | | "workType": { |
| | | "description": "工种", |
| | | "type": "string" |
| | | }, |
| | | "workerId": { |
| | | "type": "string" |
| | | }, |
| | | "workerName": { |
| | | "type": "string" |
| | | } |
| | | } |
| | | }, |
| | | "util.Response": { |
| | | "type": "object", |
| | | "properties": { |