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
@@ -13,6 +13,8 @@ const (
Label = "process_step"
// FieldID holds the string denoting the id field in the database.
FieldID = "id"
// FieldFlowId holds the string denoting the flowid field in the database.
FieldFlowId = "flow_id"
// FieldProcessCode holds the string denoting the processcode field in the database.
FieldProcessCode = "process_code"
// FieldSeq holds the string denoting the seq field in the database.
@@ -34,6 +36,7 @@ const (
// Columns holds all SQL columns for processstep fields.
var Columns = []string{
FieldID,
FieldFlowId,
FieldProcessCode,
FieldSeq,
FieldName,
@@ -82,6 +85,11 @@ func ByID(opts ...sql.OrderTermOption) OrderOption {
return sql.OrderByField(FieldID, opts...).ToFunc()
}
// ByFlowId orders the results by the flowId field.
func ByFlowId(opts ...sql.OrderTermOption) OrderOption {
return sql.OrderByField(FieldFlowId, opts...).ToFunc()
}
// ByProcessCode orders the results by the processCode field.
func ByProcessCode(opts ...sql.OrderTermOption) OrderOption {
return sql.OrderByField(FieldProcessCode, opts...).ToFunc()