{"Message":"1","MessageType":2,"Modules":[{"State":1,"Type":15,"Name":"ServerCommand/任务发起流程前校验"},{"State":1,"Type":1,"Name":"PCPage/创建项目"},{"State":1,"Type":15,"Name":"ServerCommand/项目流程发起前校验"}],"Version":"v1"}

This commit is contained in:
超哥
2024-07-03 17:27:15 +08:00
parent 99e68b9209
commit 0f021faa86
4 changed files with 99 additions and 89 deletions

View File

@@ -275,7 +275,7 @@
"Message": "请等待父任务审批后方可发起!"
}
],
"ID": "c66244a0-0b2c-4d80-b302-9d8646e26876"
"ID": "c6e846b5-7a58-4aa4-9586-da098bcb80c8"
}
]
},
@@ -301,7 +301,7 @@
"Message": "当前项目未指定项目经理,请指定后再试"
}
],
"ID": "bfa64f70-1f93-43cb-b795-c7d544722030"
"ID": "8a138cde-55be-4875-89a8-ece1875a779a"
}
]
},
@@ -327,7 +327,7 @@
"Message": "请指定任务负责人"
}
],
"ID": "2f4170e1-257f-40c3-98a6-17323c4e8ea2"
"ID": "90b5051c-5cf5-486c-85cf-b24a9202a8bb"
}
]
},
@@ -353,7 +353,7 @@
"Message": "请指定任务类型"
}
],
"ID": "5b83fd48-5d1e-4bdd-ac19-2b1dedb5776a"
"ID": "25a587e9-40ec-4674-ab47-3d1ca0fc54bd"
}
]
},
@@ -396,10 +396,10 @@
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务信息.项目可分配工时"
},
"ID": "0d5ac7332bf942d1998fe6e03c20481e"
"ID": "dce9e9bfa9454e68a44bc81b7559c096"
}
],
"ID": "4661da29-6cba-4137-9ee1-3d33a08eadeb"
"ID": "3b0c61b7-4462-4f4d-9445-8aca9294039c"
},
{
"CommandList": [
@@ -410,10 +410,10 @@
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务信息.父任务可分配工时"
},
"ID": "b1aff090a96e4e618b49838429706ff5"
"ID": "149f6070b4f94a4aa8f1b7106553337a"
}
],
"ID": "88baa758-743d-49d3-9ee6-b0b22da513df"
"ID": "3c3ed4d6-f6bd-40e6-885f-6f0a2c4e09be"
}
],
"Comments": "严格模式下,根据是否有父任务来计算本次预算工时的上限"
@@ -447,12 +447,42 @@
}
}
],
"ID": "0a4e2697-1831-44b7-bfc4-f7a5439e046e"
"ID": "5653b3c9-2877-4aab-8d5a-255ea39acd1e"
}
]
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务信息.任务预算工时"
}
},
"value": "0",
"compareType": 5
},
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=\"开启严格模式下任务预算工时不能为0\""
}
}
],
"ID": "0b140361-0f9d-4242-8475-e109b935c2a6"
}
]
}
],
"ID": "7ae391ca-88f5-424d-8756-636d8cd84c69"
"ID": "c0a5dc55-9938-449a-a6b4-4975853e25bb"
}
],
"Comments": "校验工时情况是否通过"