diff --git a/pkg/service/handle.go b/pkg/service/handle.go index 3da4c44..f1297c1 100644 --- a/pkg/service/handle.go +++ b/pkg/service/handle.go @@ -648,7 +648,9 @@ func (h *Handle) HandleWorkOrder( // 是否可写,只有可写的模版可以更新数据 updateStatus := false - if writeTplList, writeOK := h.stateValue["writeTpls"]; writeOK { + if h.stateValue["clazz"].(string) == "start" { + updateStatus = true + } else if writeTplList, writeOK := h.stateValue["writeTpls"]; writeOK { tplListTag: for _, writeTplId := range writeTplList.([]interface{}) { if writeTplId == t["tplId"] { // 可写 diff --git a/template/web/index.html b/template/web/index.html new file mode 100644 index 0000000..e69de29