commit
bcddaf6705
@ -648,7 +648,9 @@ func (h *Handle) HandleWorkOrder(
|
|||||||
|
|
||||||
// 是否可写,只有可写的模版可以更新数据
|
// 是否可写,只有可写的模版可以更新数据
|
||||||
updateStatus := false
|
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:
|
tplListTag:
|
||||||
for _, writeTplId := range writeTplList.([]interface{}) {
|
for _, writeTplId := range writeTplList.([]interface{}) {
|
||||||
if writeTplId == t["tplId"] { // 可写
|
if writeTplId == t["tplId"] { // 可写
|
||||||
|
0
template/web/index.html
Normal file
0
template/web/index.html
Normal file
Loading…
x
Reference in New Issue
Block a user