更新密码找回uniapp

This commit is contained in:
hero920103 committed 2026-11-16 17:22:50 +08:00
1 parent 7f9a66da0f
commit 3fdda89833
1304 files changed
+3503 -26132

No files matched your search

-6
View File
@@ -8,7 +8,6 @@ import (
"github.com/beego/beego/v2/client/orm"
)
// InstanceStatusOf 读取实例当前状态(单据提交后用于判断流程是否已直接结束)。
func InstanceStatusOf(instID uint64) int8 {
var inst models.ApprovalInstance
if err := models.Orm.QueryTable(new(models.ApprovalInstance)).
@@ -18,7 +17,6 @@ func InstanceStatusOf(instID uint64) int8 {
return inst.Status
}
// InstanceBrief 单据详情页展示的审批进度摘要:当前节点、待办人、时间线。
func InstanceBrief(instID uint64) map[string]interface{} {
if instID == 0 {
return nil
@@ -56,7 +54,6 @@ func InstanceBrief(instID uint64) map[string]interface{} {
}
}
// flowNameOf 流程名称(流程被删除时回落为占位文案,不影响单据查看)
func flowNameOf(flowID uint64) string {
if flowID == 0 {
return ""
@@ -97,9 +94,6 @@ func approvalInstanceLabel(status int8) string {
}
}
// CancelInstance 业务单据作废时同步终结在途实例,避免审批中心留下无效待办。
// 不做成「驳回」是因为驳回会让单据回到已驳回态;这里直接按撤回处理,
// 调用方已负责把业务单据置为终态。
func CancelInstance(instID uint64, reason string) {
if instID == 0 {
return