{"Message":"优化预算申请流程","MessageType":2,"Modules":[{"State":1,"Type":23,"Name":"TableView/View_项目统计信息"},{"State":1,"Type":1,"Name":"PCPage/项目成员统计"},{"State":1,"Type":1,"Name":"PCPage/项目成员"},{"State":1,"Type":1,"Name":"PCPage/项目岗位配置"},{"State":1,"Type":1,"Name":"PCPage/预算申请"},{"State":1,"Type":1,"Name":"PCPage/项目预算申请历史"},{"State":1,"Type":1,"Name":"PCPage/任务首页"},{"State":1,"Type":1,"Name":"PCPage/任务-基本信息"},{"State":1,"Type":1,"Name":"PCPage/任务-任务信息"},{"State":1,"Type":1,"Name":"PCPage/切换任务状态"},{"State":1,"Type":15,"Name":"ServerCommand/变更任务状态"},{"State":1,"Type":15,"Name":"ServerCommand/修改任务预算工时"},{"State":1,"Type":15,"Name":"ServerCommand/批准项目预算申请"},{"State":1,"Type":15,"Name":"ServerCommand/新增或修改项目"},{"State":1,"Type":36,"Name":"ShareCommandContainer/发起预算申请"},{"State":1,"Type":28,"Name":"ProcessItem/预算申请"},{"State":1,"Type":15,"Name":"ServerCommand/计算报工数据"},{"State":1,"Type":15,"Name":"ServerCommand/任务发起流程前校验"},{"State":1,"Type":28,"Name":"ProcessItem/新增任务流程"}],"Version":"v1"}

This commit is contained in:
超哥
2024-06-26 16:14:52 +08:00
parent 43e6235b0b
commit c365b35dbc
22 changed files with 1447 additions and 1489 deletions

View File

@@ -50,7 +50,7 @@
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "56bf3a1a-b506-4531-9d01-f209f6e2f7b3",
"GUID": "040b7e18-4298-4ef0-b6cc-1b7bb2aec85f",
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "项目ID",
@@ -59,7 +59,7 @@
"ColumnName": "项目ID"
},
{
"GUID": "a2c50e9a-2c0f-4d7e-b43e-19456cb3c5ef",
"GUID": "97c09999-a93d-42a9-a5d1-fb5f4ee489a7",
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "任务名称",
@@ -68,7 +68,7 @@
"ColumnName": "任务名称"
},
{
"GUID": "c5ee4845-58d1-4e51-95c0-aef99ba9da4c",
"GUID": "85821668-8b53-4bc5-8864-e3e6a3093c6b",
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "任务状态",
@@ -77,7 +77,7 @@
"ColumnName": "任务状态"
},
{
"GUID": "f0106ccd-42db-42c2-862f-a612166fa173",
"GUID": "f8c364be-a0ef-4103-a63b-5548e9b392c2",
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "任务状态",
@@ -91,7 +91,7 @@
"ColumnName": "任务状态文本"
},
{
"GUID": "63a4f69f-e22f-4f00-a188-6ffbb5607a6a",
"GUID": "0fbac508-af88-4952-9d91-0ef3c4fa97a4",
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "任务负责人",
@@ -100,7 +100,7 @@
"ColumnName": "任务负责人"
},
{
"GUID": "e6246a80-54cc-403c-9f9b-566de00dc7b1",
"GUID": "744ba217-aca5-4267-a69e-9fdc4fa8bc8e",
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "开始时间",
@@ -109,7 +109,7 @@
"ColumnName": "开始时间"
},
{
"GUID": "5ffd390a-0c35-4cca-a52b-af7231ea8381",
"GUID": "2bd5f4e1-452a-4198-a1fd-c27007ee513a",
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "结束时间",
@@ -118,7 +118,7 @@
"ColumnName": "结束时间"
},
{
"GUID": "3206d98b-fd30-41e5-8041-bfd090722e03",
"GUID": "920c5f86-f188-48fe-8663-c7fae7dd80b0",
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "任务类型",
@@ -142,7 +142,7 @@
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "3573b52ffc3742a7bab1dc862b262276"
"ID": "0626fb25bcc8447fbc4d740f1354d568"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
@@ -183,18 +183,17 @@
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "新任务状态",
"ParameterName": "状态",
"TableValue": {
"TableName": "任务状态",
"OnlyGetValue": true,
"TableValueType": 0,
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "b31ec5c9-8a86-4148-8e7c-232ccc011d6a",
"GUID": "7f8cbdd1-5ad5-45a7-bd6c-7838abcb23d5",
"BindingInfo": {
"TableName": "任务状态",
"ColumnName": "任务状态",
"GUID": "263a2a05-e711-4f5c-90ac-5114c2367ddc"
"GUID": "035b217c-625c-4d7e-8c3a-b43419938da6"
},
"ColumnName": "任务状态"
}
@@ -210,9 +209,11 @@
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=状态码"
}
}
},
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "d13f627dec7147d68c48a6324b2316ff"
"ID": "95159dc8a1b14128ace3e2acc322a54f"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
@@ -224,234 +225,244 @@
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=状态"
"SerializeProperty": "=状态"
}
},
"value": "0"
"value": "%Null%",
"compareType": 1
},
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "任务工时",
"TableValue": {
"TableName": "任务工时表",
"TableValueType": 3,
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务工时表",
"ColumnName": "任务ID",
"GUID": "aeafd224-f511-481e-8355-8d0f79ac733a"
"$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"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务ID"
}
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "任务工时",
"TableValue": {
"TableName": "任务工时表",
"TableValueType": 3,
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务工时表",
"ColumnName": "任务ID",
"GUID": "aeafd224-f511-481e-8355-8d0f79ac733a"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务ID"
}
},
"NullFormulaValueQueryPolicy": 0
},
"ID": "d27269e4264d4915b390ea9460421bf0"
},
{
"$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": 2
},
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=\"该任务已报工,无法切换至\"&状态表.任务状态&\"状态\""
}
}
],
"ID": "0fd97c73-cc15-469c-8021-0370a82e6d86"
}
]
}
],
"ID": "dfb51789-4950-486f-92f0-f2cac27b52b4"
},
"NullFormulaValueQueryPolicy": 0
},
"ID": "ff207234ca244312adfeb7866e96d51c"
},
{
"$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": "=任务工时"
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SubConditions": [
{
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=状态码"
}
},
"value": "1"
},
{
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=状态码"
}
},
"value": "2"
}
},
"value": "0",
"compareType": 2
],
"RelationType": 1
},
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=\"该任务已报工,无法切换至\"&任务信息.任务状态文本&\"状态\""
}
"$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": "%Null%"
},
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=\"任务执行者为空,不能切换至\"&状态表.任务状态&\"状态!\""
}
}
],
"ID": "675ce254-2eb8-4007-aa6f-3dd54ee620d6"
}
]
}
],
"ID": "7307f9cb-0a43-4b3d-9335-72465015f8e2"
"ID": "d72e4cd3-1522-4523-a27e-77a412366329"
}
]
},
{
"$type": "Forguncy.Model.ServerTransactionCommand, ServerDesignerCommon",
"CommandList": [
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "任务表",
"ShowConfirm": false,
"RowsToUpdate": 1,
"RowsToUpdateCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务表",
"ColumnName": "ID",
"GUID": "8cd30f24-ad8d-43c1-9342-2c7f001d137f"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务ID"
}
},
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "任务状态",
"GUID": "3dd1ced8-9f74-49ce-9345-d7f35bc09d32"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=状态码"
}
}
]
},
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "项目动态",
"UpdateType": "add",
"ShowConfirm": false,
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "项目动态",
"ColumnName": "项目ID",
"GUID": "0c5bb9ea-ed45-4f61-b076-62ad86c4c9d1"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务信息.项目ID"
}
},
{
"BindingInfo": {
"TableName": "项目动态",
"ColumnName": "项目动态",
"GUID": "a20272a7-3c69-4969-afda-37ada037c74b"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=\"任务[\"&任务信息.任务名称&\"]从\"&任务信息.任务状态文本&\"状态变更为\"&状态表.任务状态"
}
},
{
"BindingInfo": {
"TableName": "项目动态",
"ColumnName": "执行人",
"GUID": "4d346a81-83f3-45bc-ab72-50b1f39025f5"
},
"Value": "%CurrentUser%"
}
]
}
]
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "操作成功"
}
],
"ID": "6833cd39-b4c3-44f1-ac37-e7fc1e7556dd"
"ID": "dbe03881-92a1-425a-9146-bdda6b88f817"
},
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=状态码"
}
},
"value": "1"
},
"CommandList": [
{
"$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": "%Null%"
},
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": "任务执行者不能为空"
}
],
"ID": "9f576937-8c65-4748-a948-5cc1b9aa9da2"
}
]
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": "状态码无效"
}
],
"ID": "483b270e-e6e6-4280-990e-9140fafef969"
},
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=状态码"
}
},
"value": "2"
},
"CommandList": [
{
"$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": "%Null%"
},
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": "任务执行者不能为空"
}
],
"ID": "b1922fb3-0f59-462d-ac9c-b9dadab1b4c6"
}
]
}
],
"ID": "c6047401-1633-4822-9376-4de5021f3017"
"ID": "f0a89697-4026-47d5-9c10-83aa20ad2b7d"
}
]
},
{
"$type": "Forguncy.Model.ServerTransactionCommand, ServerDesignerCommon",
"CommandList": [
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "任务表",
"ShowConfirm": false,
"RowsToUpdate": 1,
"RowsToUpdateCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务表",
"ColumnName": "ID",
"GUID": "8cd30f24-ad8d-43c1-9342-2c7f001d137f"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务ID"
}
},
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "任务状态",
"GUID": "6edbee6e-922a-4904-b1f8-0bc7b5a7eccd"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=状态码"
}
}
]
},
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "项目动态",
"UpdateType": "add",
"ShowConfirm": false,
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "项目动态",
"ColumnName": "项目ID",
"GUID": "47dbb777-470d-4222-b8ce-3290bf908349"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务信息.项目ID"
}
},
{
"BindingInfo": {
"TableName": "项目动态",
"ColumnName": "项目动态",
"GUID": "46dff42e-9185-48a4-a09c-b1b42df875bb"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=\"任务[\"&任务信息.任务名称&\"]从\"&任务信息.任务状态文本&\"状态变更为\"&新任务状态"
}
},
{
"BindingInfo": {
"TableName": "项目动态",
"ColumnName": "执行人",
"GUID": "70d9cdae-463b-44d4-97ef-dedf26616565"
},
"Value": "%CurrentUser%"
}
]
}
]
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "操作成功"
}
],
"ID": "94ecbaa9-2b7f-4aff-9c77-305d5e58a983"
"ID": "fe5f233f-f003-47e8-b70e-d0b4b3cfe059"
},
{
"CommandList": [
@@ -461,12 +472,12 @@
"Message": "操作成功"
}
],
"ID": "e9a1e04e-c47f-4eca-aabd-b60cbe20bcde"
"ID": "75750cc3-5c89-4526-8a9d-83ac590fa4b0"
}
]
}
],
"ID": "fd32ee3d-f7dd-4030-a4f0-3fce9ced5372"
"ID": "9db3cb38-b9d2-4516-a253-4a6af21b1143"
},
{
"CommandList": [
@@ -479,7 +490,7 @@
}
}
],
"ID": "7f6ab919-fd03-43b0-a234-c9bd5299c7c9"
"ID": "461064bf-a991-48ef-a6ad-64f3770ec773"
}
]
}