feat: 完成MES工位终端系统全量功能迭代

本次提交包含以下核心变更:
1. 新增按钮级权限控制框架与前端权限校验
2. 新增工位管理、工艺流程、巡检终端等核心业务模块
3. 完善用户体系,支持工位终端专属登录权限
4. 新增文件上传下载、报表查询等配套功能
5. 修复多系统兼容性与交互体验问题
6. 完成所有文档与配置项的规范化更新
This commit is contained in:
SunYF
2026-08-31 08:06:55 +08:00
parent dab03ac0cf
commit 4ec6784629
99 changed files with 17436 additions and 479 deletions
+12
View File
@@ -22,12 +22,16 @@ type Tx struct {
DailyPlan *DailyPlanClient
// EventLog is the client for interacting with the EventLog builders.
EventLog *EventLogClient
// InspectionRecord is the client for interacting with the InspectionRecord builders.
InspectionRecord *InspectionRecordClient
// MaterialRequest is the client for interacting with the MaterialRequest builders.
MaterialRequest *MaterialRequestClient
// Permission is the client for interacting with the Permission builders.
Permission *PermissionClient
// PlcSendLog is the client for interacting with the PlcSendLog builders.
PlcSendLog *PlcSendLogClient
// ProcessFlow is the client for interacting with the ProcessFlow builders.
ProcessFlow *ProcessFlowClient
// ProcessStep is the client for interacting with the ProcessStep builders.
ProcessStep *ProcessStepClient
// ProductType is the client for interacting with the ProductType builders.
@@ -38,6 +42,8 @@ type Tx struct {
ScanRecord *ScanRecordClient
// SemiFlow is the client for interacting with the SemiFlow builders.
SemiFlow *SemiFlowClient
// Station is the client for interacting with the Station builders.
Station *StationClient
// StationProcess is the client for interacting with the StationProcess builders.
StationProcess *StationProcessClient
// StepCriterion is the client for interacting with the StepCriterion builders.
@@ -48,6 +54,8 @@ type Tx struct {
TorqueRecord *TorqueRecordClient
// User is the client for interacting with the User builders.
User *UserClient
// UserStation is the client for interacting with the UserStation builders.
UserStation *UserStationClient
// WorkOrder is the client for interacting with the WorkOrder builders.
WorkOrder *WorkOrderClient
// Workpiece is the client for interacting with the Workpiece builders.
@@ -189,19 +197,23 @@ func (tx *Tx) init() {
tx.BomItem = NewBomItemClient(tx.config)
tx.DailyPlan = NewDailyPlanClient(tx.config)
tx.EventLog = NewEventLogClient(tx.config)
tx.InspectionRecord = NewInspectionRecordClient(tx.config)
tx.MaterialRequest = NewMaterialRequestClient(tx.config)
tx.Permission = NewPermissionClient(tx.config)
tx.PlcSendLog = NewPlcSendLogClient(tx.config)
tx.ProcessFlow = NewProcessFlowClient(tx.config)
tx.ProcessStep = NewProcessStepClient(tx.config)
tx.ProductType = NewProductTypeClient(tx.config)
tx.Role = NewRoleClient(tx.config)
tx.ScanRecord = NewScanRecordClient(tx.config)
tx.SemiFlow = NewSemiFlowClient(tx.config)
tx.Station = NewStationClient(tx.config)
tx.StationProcess = NewStationProcessClient(tx.config)
tx.StepCriterion = NewStepCriterionClient(tx.config)
tx.StepData = NewStepDataClient(tx.config)
tx.TorqueRecord = NewTorqueRecordClient(tx.config)
tx.User = NewUserClient(tx.config)
tx.UserStation = NewUserStationClient(tx.config)
tx.WorkOrder = NewWorkOrderClient(tx.config)
tx.Workpiece = NewWorkpieceClient(tx.config)
tx.WorkpieceProcess = NewWorkpieceProcessClient(tx.config)