Merge pull request #74 from lanyulei/dev

审批退回无法编辑
This commit is contained in:
lanyulei 2020-10-14 18:04:31 +08:00 committed by GitHub
commit bcddaf6705
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 1 deletions

View File

@ -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"] { // 可写

0
template/web/index.html Normal file
View File