岗位菜单权限与日报审核
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 131 KiB |
@@ -0,0 +1,199 @@
|
||||
pc地址:[lygcgs.com.cn:8078/shj/](https://lygcgs.com.cn:8078/shj/)
|
||||
账号:`hfnbd`
|
||||
密码:`1111`
|
||||
需求内容:小程序日报填报后,也需要有专工进行和PC一致的日报审核功能。
|
||||
![[Pasted image 20260807100722.png]]小程序修改
|
||||
![[Pasted image 20260807100945.png]]
|
||||
返回的实体类注释
|
||||
``` C#
|
||||
/// <summary>
|
||||
/// 焊接日报待审核明细。
|
||||
/// </summary>
|
||||
public class WeldingDailyTempDetailItem
|
||||
{
|
||||
/// <summary>
|
||||
/// 待审核明细ID。
|
||||
/// </summary>
|
||||
public string TempDetailId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 项目ID。
|
||||
/// </summary>
|
||||
public string ProjectId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 单位ID。
|
||||
/// </summary>
|
||||
public string UnitId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 单位工程ID。
|
||||
/// </summary>
|
||||
public string UnitWorkId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 焊口ID。
|
||||
/// </summary>
|
||||
public string WeldJointId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 管线ID。
|
||||
/// </summary>
|
||||
public string PipelineId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 管线编号。
|
||||
/// </summary>
|
||||
public string PipelineCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 焊口编号。
|
||||
/// </summary>
|
||||
public string WeldJointCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 焊接日期。
|
||||
/// </summary>
|
||||
public DateTime WeldingDate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 盖面焊工ID。
|
||||
/// </summary>
|
||||
public string CoverWelderId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 盖面焊工编号。
|
||||
/// </summary>
|
||||
public string CoverWelderCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 打底焊工ID。
|
||||
/// </summary>
|
||||
public string BackingWelderId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 打底焊工编号。
|
||||
/// </summary>
|
||||
public string BackingWelderCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 焊口属性。
|
||||
/// </summary>
|
||||
public string JointAttribute { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 焊接位置ID。
|
||||
/// </summary>
|
||||
public string WeldingLocationId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 焊接位置编号。
|
||||
/// </summary>
|
||||
public string WeldingLocationCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 焊接模式。
|
||||
/// </summary>
|
||||
public string WeldingMode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 材质1编号。
|
||||
/// </summary>
|
||||
public string Material1Code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 材质2编号。
|
||||
/// </summary>
|
||||
public string Material2Code { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 公称直径字符串。
|
||||
/// </summary>
|
||||
public string DNDia { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 焊口尺寸。
|
||||
/// </summary>
|
||||
public decimal? Size { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 外径。
|
||||
/// </summary>
|
||||
public decimal? Dia { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 壁厚。
|
||||
/// </summary>
|
||||
public decimal? Thickness { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 焊口类型编号。
|
||||
/// </summary>
|
||||
public string WeldTypeCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 焊接方法编号。
|
||||
/// </summary>
|
||||
public string WeldingMethodCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 焊丝编号。
|
||||
/// </summary>
|
||||
public string WeldingWireCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 焊条编号。
|
||||
/// </summary>
|
||||
public string WeldingRodCode { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 提交人ID。
|
||||
/// </summary>
|
||||
public string SubmitPersonId { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 提交人姓名。
|
||||
/// </summary>
|
||||
public string SubmitPersonName { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 提交时间。
|
||||
/// </summary>
|
||||
public DateTime SubmitDate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 焊前照片地址。
|
||||
/// </summary>
|
||||
public string BeforePhotoUrl { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 焊后照片地址。
|
||||
/// </summary>
|
||||
public string AfterPhotoUrl { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 明细附件地址。
|
||||
/// </summary>
|
||||
public string AttachUrl { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 审核状态:0待审核,1已审核。
|
||||
/// </summary>
|
||||
public int AuditState { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 审核人ID。
|
||||
/// </summary>
|
||||
public string AuditMan { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 审核时间。
|
||||
/// </summary>
|
||||
public DateTime? AuditDate { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 审核备注。
|
||||
/// </summary>
|
||||
public string AuditRemark { get; set; }
|
||||
}
|
||||
```
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 83 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 103 KiB |
Binary file not shown.
@@ -0,0 +1,248 @@
|
||||
---
|
||||
title: 默认模块
|
||||
language_tabs:
|
||||
- shell: Shell
|
||||
- http: HTTP
|
||||
- javascript: JavaScript
|
||||
- ruby: Ruby
|
||||
- python: Python
|
||||
- php: PHP
|
||||
- java: Java
|
||||
- go: Go
|
||||
toc_footers: []
|
||||
includes: []
|
||||
search: true
|
||||
code_clipboard: true
|
||||
highlight_theme: darkula
|
||||
headingLevel: 2
|
||||
generator: "@tarslib/widdershins v4.0.30"
|
||||
|
||||
---
|
||||
|
||||
# 默认模块
|
||||
|
||||
Base URLs:
|
||||
|
||||
* <a href="https://lygcgs.com.cn:8078/shjapi">正式环境: https://lygcgs.com.cn:8078/shjapi</a>
|
||||
|
||||
# Authentication
|
||||
|
||||
# PreWeldingDaily
|
||||
|
||||
<a id="opIdPreWeldingDaily_GetPendingWeldingDailyTempDetailList"></a>
|
||||
|
||||
## GET 获取焊接日报待审核列表。
|
||||
|
||||
GET /api/PreWeldingDaily/GetPendingWeldingDailyTempDetailList
|
||||
|
||||
### 请求参数
|
||||
|
||||
|名称|位置|类型|必选|说明|
|
||||
|---|---|---|---|---|
|
||||
|projectId|query|string| 是 |项目ID|
|
||||
|unitWorkId|query|string| 否 |单位工程ID,可为空|
|
||||
|weldingDate|query|string| 否 |焊接日期,可为空,格式如 yyyy-MM-dd|
|
||||
|pipelineCode|query|string| 否 |管线编号关键字,可为空|
|
||||
|welderCode|query|string| 否 |焊工编号关键字,可为空|
|
||||
|pageIndex|query|integer(int32)| 否 |页码,从1开始;小于等于0时返回全部记录|
|
||||
|token|header|string| 否 |none|
|
||||
|
||||
> 返回示例
|
||||
|
||||
> 200 Response
|
||||
|
||||
```json
|
||||
{
|
||||
"code": 0,
|
||||
"message": "string",
|
||||
"data": {}
|
||||
}
|
||||
```
|
||||
|
||||
### 返回结果
|
||||
|
||||
|状态码|状态码含义|说明|数据模型|
|
||||
|---|---|---|---|
|
||||
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|OK|[Model.ResponeData](#schemamodel.responedata)|
|
||||
|
||||
<a id="opIdPreWeldingDaily_GetPendingWeldingDailyTempDetail"></a>
|
||||
|
||||
## GET 查看单条焊接日报待审核明细。
|
||||
|
||||
GET /api/PreWeldingDaily/GetPendingWeldingDailyTempDetail
|
||||
|
||||
### 请求参数
|
||||
|
||||
|名称|位置|类型|必选|说明|
|
||||
|---|---|---|---|---|
|
||||
|tempDetailId|query|string| 是 |待审核明细ID|
|
||||
|token|header|string| 否 |none|
|
||||
|
||||
> 返回示例
|
||||
|
||||
> 200 Response
|
||||
|
||||
```json
|
||||
{
|
||||
"code": 0,
|
||||
"message": "string",
|
||||
"data": {}
|
||||
}
|
||||
```
|
||||
|
||||
### 返回结果
|
||||
|
||||
|状态码|状态码含义|说明|数据模型|
|
||||
|---|---|---|---|
|
||||
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|OK|[Model.ResponeData](#schemamodel.responedata)|
|
||||
|
||||
<a id="opIdPreWeldingDaily_AuditPendingWeldingDailyTempDetails"></a>
|
||||
|
||||
## POST 批量审核通过焊接日报待审核明细。
|
||||
|
||||
POST /api/PreWeldingDaily/AuditPendingWeldingDailyTempDetails
|
||||
|
||||
> Body 请求参数
|
||||
|
||||
```json
|
||||
{
|
||||
"TempDetailIds": [
|
||||
"string"
|
||||
],
|
||||
"AuditMan": "string"
|
||||
}
|
||||
```
|
||||
|
||||
```yaml
|
||||
TempDetailIds:
|
||||
- string
|
||||
AuditMan: string
|
||||
|
||||
```
|
||||
|
||||
### 请求参数
|
||||
|
||||
|名称|位置|类型|必选|说明|
|
||||
|---|---|---|---|---|
|
||||
|token|header|string| 否 |none|
|
||||
|body|body|[Model.WeldingDailyTempDetailBatchRequest](#schemamodel.weldingdailytempdetailbatchrequest)| 是 |none|
|
||||
|
||||
> 返回示例
|
||||
|
||||
> 200 Response
|
||||
|
||||
```json
|
||||
{
|
||||
"code": 0,
|
||||
"message": "string",
|
||||
"data": {}
|
||||
}
|
||||
```
|
||||
|
||||
### 返回结果
|
||||
|
||||
|状态码|状态码含义|说明|数据模型|
|
||||
|---|---|---|---|
|
||||
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|OK|[Model.ResponeData](#schemamodel.responedata)|
|
||||
|
||||
<a id="opIdPreWeldingDaily_DeletePendingWeldingDailyTempDetails"></a>
|
||||
|
||||
## POST 批量删除焊接日报待审核明细。
|
||||
|
||||
POST /api/PreWeldingDaily/DeletePendingWeldingDailyTempDetails
|
||||
|
||||
> Body 请求参数
|
||||
|
||||
```json
|
||||
{
|
||||
"TempDetailIds": [
|
||||
"string"
|
||||
],
|
||||
"AuditMan": "string"
|
||||
}
|
||||
```
|
||||
|
||||
```yaml
|
||||
TempDetailIds:
|
||||
- string
|
||||
AuditMan: string
|
||||
|
||||
```
|
||||
|
||||
### 请求参数
|
||||
|
||||
|名称|位置|类型|必选|说明|
|
||||
|---|---|---|---|---|
|
||||
|token|header|string| 否 |none|
|
||||
|body|body|[Model.WeldingDailyTempDetailBatchRequest](#schemamodel.weldingdailytempdetailbatchrequest)| 是 |none|
|
||||
|
||||
> 返回示例
|
||||
|
||||
> 200 Response
|
||||
|
||||
```json
|
||||
{
|
||||
"code": 0,
|
||||
"message": "string",
|
||||
"data": {}
|
||||
}
|
||||
```
|
||||
|
||||
### 返回结果
|
||||
|
||||
|状态码|状态码含义|说明|数据模型|
|
||||
|---|---|---|---|
|
||||
|200|[OK](https://tools.ietf.org/html/rfc7231#section-6.3.1)|OK|[Model.ResponeData](#schemamodel.responedata)|
|
||||
|
||||
# 数据模型
|
||||
|
||||
<h2 id="tocS_Model.ResponeData">Model.ResponeData</h2>
|
||||
|
||||
<a id="schemamodel.responedata"></a>
|
||||
<a id="schema_Model.ResponeData"></a>
|
||||
<a id="tocSmodel.responedata"></a>
|
||||
<a id="tocsmodel.responedata"></a>
|
||||
|
||||
```json
|
||||
{
|
||||
"code": 0,
|
||||
"message": "string",
|
||||
"data": {}
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
### 属性
|
||||
|
||||
|名称|类型|必选|约束|中文名|说明|
|
||||
|---|---|---|---|---|---|
|
||||
|code|integer(int32)|false|none||代码 1-正常;0-异常;|
|
||||
|message|string|false|none||消息|
|
||||
|data|object|false|none||数据|
|
||||
|
||||
<h2 id="tocS_Model.WeldingDailyTempDetailBatchRequest">Model.WeldingDailyTempDetailBatchRequest</h2>
|
||||
|
||||
<a id="schemamodel.weldingdailytempdetailbatchrequest"></a>
|
||||
<a id="schema_Model.WeldingDailyTempDetailBatchRequest"></a>
|
||||
<a id="tocSmodel.weldingdailytempdetailbatchrequest"></a>
|
||||
<a id="tocsmodel.weldingdailytempdetailbatchrequest"></a>
|
||||
|
||||
```json
|
||||
{
|
||||
"TempDetailIds": [
|
||||
"string"
|
||||
],
|
||||
"AuditMan": "string"
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
焊接日报待审核批量操作参数。
|
||||
|
||||
### 属性
|
||||
|
||||
|名称|类型|必选|约束|中文名|说明|
|
||||
|---|---|---|---|---|---|
|
||||
|TempDetailIds|[string]|false|none||待审核明细ID集合。|
|
||||
|AuditMan|string|false|none||审核人ID,批量删除时无需填写。|
|
||||
|
||||
Reference in New Issue
Block a user