feat: 新增收集式校验错误弹窗及工位报警语音播报
新增 ErrorListDialog 组件用于统一展示结构化校验错误信息,实现报错一次收全;新增工位报警语音播报功能,通过浏览器 SpeechSynthesis 播放本工位相关报警;调整物料类别及序列号字段文案,移除「其他」类别;新增工单实际开始字段及采集方式配置;优化 AGV 及 PlcSend 页签刷新逻辑;新增看板物料追溯及工位报警接口;删除 PLC 强制写 M 位及相关测试代码;同步数据库字段注释及补丁。
This commit is contained in:
@@ -21,8 +21,6 @@ const (
|
||||
FieldName = "name"
|
||||
// FieldCollectType holds the string denoting the collecttype field in the database.
|
||||
FieldCollectType = "collect_type"
|
||||
// FieldIsTorque holds the string denoting the istorque field in the database.
|
||||
FieldIsTorque = "is_torque"
|
||||
// FieldNeedCheck holds the string denoting the needcheck field in the database.
|
||||
FieldNeedCheck = "need_check"
|
||||
// FieldNeedOperatorSign holds the string denoting the needoperatorsign field in the database.
|
||||
@@ -50,7 +48,6 @@ var Columns = []string{
|
||||
FieldSeq,
|
||||
FieldName,
|
||||
FieldCollectType,
|
||||
FieldIsTorque,
|
||||
FieldNeedCheck,
|
||||
FieldNeedOperatorSign,
|
||||
FieldNeedInspectorSign,
|
||||
@@ -80,8 +77,6 @@ var (
|
||||
DefaultCollectType string
|
||||
// CollectTypeValidator is a validator for the "collectType" field. It is called by the builders before save.
|
||||
CollectTypeValidator func(string) error
|
||||
// DefaultIsTorque holds the default value on creation for the "isTorque" field.
|
||||
DefaultIsTorque bool
|
||||
// DefaultNeedCheck holds the default value on creation for the "needCheck" field.
|
||||
DefaultNeedCheck bool
|
||||
// DefaultNeedOperatorSign holds the default value on creation for the "needOperatorSign" field.
|
||||
@@ -132,11 +127,6 @@ func ByCollectType(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldCollectType, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByIsTorque orders the results by the isTorque field.
|
||||
func ByIsTorque(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldIsTorque, opts...).ToFunc()
|
||||
}
|
||||
|
||||
// ByNeedCheck orders the results by the needCheck field.
|
||||
func ByNeedCheck(opts ...sql.OrderTermOption) OrderOption {
|
||||
return sql.OrderByField(FieldNeedCheck, opts...).ToFunc()
|
||||
|
||||
Reference in New Issue
Block a user