{"Message":"优化任务管理页面","MessageType":2,"Modules":[{"State":1,"Type":7,"Name":"Table/任务表"},{"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":3,"Name":"MasterPCPage/FGC_母版页"},{"State":1,"Type":9,"Name":"Theme"},{"State":1,"Type":12,"Name":"CustomLibrary"},{"State":1,"Type":28,"Name":"ProcessItem/新增任务流程"},{"State":2,"Type":15,"Name":"ServerCommand/发起任务流程"},{"State":1,"Type":15,"Name":"ServerCommand/删除任务"},{"State":1,"Type":27,"Name":"ServerCommandPrivate/递归删除任务"},{"State":1,"Type":27,"Name":"ServerCommandPrivate/初始化填充任务数据"},{"State":1,"Type":1,"Name":"PCPage/任务管理"},{"State":3,"Type":1,"Name":"PCPage/任务管理_列头"},{"State":3,"Type":22,"Name":"Tables/TODO"},{"State":3,"Type":7,"Name":"Table/TODO"},{"State":3,"Type":38,"Name":"Image/float to-do.png"},{"State":3,"Type":38,"Name":"Image/f-todo.svg"},{"State":3,"Type":38,"Name":"Image/todo.svg"},{"State":3,"Type":38,"Name":"Image/oa-todo.svg"},{"State":3,"Type":38,"Name":"Image/今日待办.png"},{"State":3,"Type":38,"Name":"Image/下载 (1).png"},{"State":3,"Type":38,"Name":"Image/下载.png"}],"Version":"v1"}

This commit is contained in:
超哥
2024-06-25 12:22:08 +08:00
parent 25260902da
commit a26a4599c1
32 changed files with 1357 additions and 1249 deletions

View File

@@ -204,17 +204,17 @@
]
}
],
"ID": "0662859e-4b63-4a68-a42c-fed8435d4fb4"
"ID": "5457ed1c-3c5e-495b-b88b-b5a66fbf6bb1"
}
]
}
],
"ID": "13d48185-1d81-453b-963f-9c97cef10a68"
"ID": "b59474ac-98ae-41a7-9788-776e9121c060"
}
]
}
],
"ID": "e3454c0f-d8fb-4315-b8bc-ef8080c4bf69"
"ID": "8fddd989-481d-4d10-bc88-66fe41fa4861"
}
]
},

View File

@@ -161,7 +161,7 @@
}
}
],
"ID": "8da72326-00ca-4f9b-ab61-1a3df0ec921c"
"ID": "974d0df6-c07e-4a0d-828f-e06027a4cd49"
},
{
"CommandList": [
@@ -174,12 +174,12 @@
}
}
],
"ID": "23095e3a-37c2-4895-97aa-20228af4490d"
"ID": "882c6250-7d75-49f3-ac15-95538bf66284"
}
]
}
],
"ID": "8d8a39a1-bd0f-47aa-bce5-d358136756b3"
"ID": "c27e48aa-7990-45fc-b787-a13a85e19927"
}
]
}

View File

@@ -1,407 +0,0 @@
{
"Name": "发起任务流程",
"Enabled": true,
"Triggers": [
{
"$type": "Forguncy.SaveLoad.PostRequestTriggerSaveData, ServerDesignerCommon",
"Permission": {
"PermissionData": {
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionData, Forguncy.RbacPermission.Core",
"permissionResource": {
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionResource, Forguncy.RbacPermission.Core"
},
"permissionBindings": [
{
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionBinding, Forguncy.RbacPermission.Core",
"roleNames": [
"FGC_LoginUser"
]
}
]
}
},
"Parameters": [
{
"Name": "任务ID",
"DataValidationInfo": {
"IgnoreBlank": false
}
}
]
}
],
"Commands": [
{
"$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon",
"TryCommandPart": {
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "任务",
"TableValue": {
"TableName": "任务表",
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "29ef26eb-d840-4c9a-9c95-7fb94555e468",
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "任务名称",
"GUID": "23b7dbfa-171e-4463-a302-07dcc9e15141"
},
"ColumnName": "任务名称"
},
{
"GUID": "455904f9-0302-4dba-bbb7-9ca41568b71a",
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "任务负责人",
"GUID": "a1fbd5f9-b9e7-48e1-ba59-913b1aee850d"
},
"ColumnName": "执行者"
},
{
"GUID": "30cf70fc-ce55-4877-85d9-ee42f17546d5",
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "项目ID",
"GUID": "2dcf421f-4618-413d-873f-88bb355c8d8e",
"RelationBinding": {
"RelatedTable": "项目表",
"RelatedColumn": "ID",
"DisplayColumn": "项目经理"
}
},
"ColumnName": "项目经理"
},
{
"GUID": "5078d1a6-51b3-4c5a-87a8-4bb42d3bc3c4",
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "项目ID",
"GUID": "6209726f-6934-4ee5-b1ad-98534c6bfa4f",
"RelationBinding": {
"RelatedTable": "项目表",
"RelatedColumn": "ID",
"DisplayColumn": "项目状态"
}
},
"ColumnName": "项目状态"
},
{
"GUID": "6cde8ce1-69da-4f09-95af-5f939077380d",
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "任务状态",
"GUID": "023c19f4-f67f-4a16-ad52-7047a5897f4b"
},
"ColumnName": "任务状态"
},
{
"GUID": "9425dcd6-ee84-4cff-8cb0-32f8e2b5ef9b",
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "流程实例ID",
"GUID": "eb2c2ccd-767e-4d72-a9e7-fb88915964bd"
},
"ColumnName": "流程实例ID"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务表",
"ColumnName": "ID",
"GUID": "4c5addad-85da-4ff4-8b0c-2fe87e45f6ba"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务ID"
}
},
"TopCount": "1"
},
"ID": "3d8ab8d2f0924421bdd75fb25888a8d5"
},
{
"$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%",
"compareType": 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": "2",
"compareType": 1
},
"CommandList": [
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SubConditions": [
{
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务.任务状态"
}
},
"value": "0"
},
{
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务.任务状态"
}
},
"value": "-1"
}
],
"RelationType": 1
},
"CommandList": [
{
"$type": "Forguncy.Model.ProcessStartCommand, ServerDesignerCommon",
"ProcessDefinitionResourceName": "新增任务流程",
"ProcessInstanceName": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务.任务名称"
},
"SelectedTable": "任务表",
"RowsToUpdate": 1,
"RowsToUpdateCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务表",
"ColumnName": "ID",
"GUID": "5890a609-fa92-4828-958b-5b13d2752057"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务ID"
}
},
"ReturnResultName": "发起流程结果"
},
{
"$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": "=任务.流程实例ID"
}
},
"value": "%Null%",
"compareType": 1
},
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "查找任务",
"TableValue": {
"TableName": "ACT_HI_TASKINST_View",
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "a2b011dc-2a16-473b-b3b9-bde26f13bddc",
"BindingInfo": {
"TableName": "ACT_HI_TASKINST_View",
"ColumnName": "ID_",
"GUID": "d0536ada-ff9c-4df5-b489-a0684ae8005a"
},
"ColumnName": "ID"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "ACT_HI_TASKINST_View",
"ColumnName": "PROC_INST_ID_",
"GUID": "ce528664-a069-42b1-b4cf-26f468c181cc"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=发起流程结果.ID"
}
},
"TopCount": "1",
"OrderBySqlCondition": {
"OrderByColumns": [
{
"ColumnBindingInfo": {
"TableName": "ACT_HI_TASKINST_View",
"ColumnName": "START_TIME_",
"GUID": "c84da339-3220-4914-9160-e9893d78bfcf"
},
"Order": 1
}
]
}
},
"ID": "df4ba27143da4ef1926f2b05f3ad6c05"
},
{
"$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%",
"compareType": 1
},
"CommandList": [
{
"$type": "Forguncy.Model.ProcessTaskCommand, ServerDesignerCommon",
"TaskId": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=查找任务.ID"
},
"CustomOperationName": "提交",
"Operator": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务.执行者"
},
"Comment": "系统自动提交"
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "发起流程成功!"
}
],
"ID": "64d64c9a-5cf2-4bd0-9147-a1c087bcfba7"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "发起流程成功,请在任务首页手动提交!"
}
],
"ID": "bf95f9ff-1e1a-4c6a-a2d1-36f05f893849"
}
]
}
],
"ID": "772d64f8-248a-44f4-8835-b36f21a726ef"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": "发起流程失败"
}
],
"ID": "13cfd844-cdea-4367-9c5f-b26441f5062d"
}
]
}
],
"ID": "baba28a2-eaa7-4722-8a21-1af28db0c6c8"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": "当前任务状态不允许发起申请!"
}
],
"ID": "a8693102-87ae-4933-baa4-4e08863df023"
}
]
}
],
"ID": "cdbfe9cc-3d26-4dd1-abb3-dff715732326"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": "当前项目已不在进行中状态,无法提交任务!"
}
],
"ID": "17017d78-03d0-402b-9eff-32086fc1c3a2"
}
]
}
],
"ID": "7b2f67e8-e959-48b7-98ae-6e90a3a2f75b"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": "任务不存在"
}
],
"ID": "3765e1ef-d7d4-42c8-bb7e-5bb000b97a85"
}
]
}
]
},
"CatchCommandPart": {
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ExceptionCode"
},
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ExceptionMessage"
}
}
]
}
}
]
}

View File

@@ -28,7 +28,7 @@
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "ab0b3107-6f6f-443f-850b-10f93cfefe1a",
"GUID": "1bef4f5c-93e6-49e1-84d4-57ac2c5ea76e",
"BindingInfo": {
"TableName": "任务平行视图",
"ColumnName": "流程实例ID",
@@ -37,7 +37,7 @@
"ColumnName": "流程实例ID"
},
{
"GUID": "76925871-b928-493c-a6f1-b2d1ebdcd078",
"GUID": "8852e438-5ae9-4045-b10b-7b1672245ab7",
"BindingInfo": {
"TableName": "任务平行视图",
"ColumnName": "流程实例ID",
@@ -51,7 +51,7 @@
"ColumnName": "结束时间"
},
{
"GUID": "fb2debed-e617-479e-8e45-47c7276ed383",
"GUID": "d8431770-4ae5-4659-bcc6-bbfe73c2b08f",
"BindingInfo": {
"TableName": "任务平行视图",
"ColumnName": "实际工时",
@@ -60,7 +60,7 @@
"ColumnName": "实际工时"
},
{
"GUID": "09eef33e-b2ac-4ed3-bbf8-a6066bd027a7",
"GUID": "b9556cca-29c7-4726-9e8e-2d8140022b5d",
"BindingInfo": {
"TableName": "任务平行视图",
"ColumnName": "任务名称",
@@ -69,9 +69,21 @@
"ColumnName": "任务名称"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务平行视图",
"ColumnName": "ID",
"GUID": "776f034a-aa70-4001-af32-1aeb75baf29d"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ID"
}
},
"TopCount": "1"
},
"ID": "622de484f4b14c3b96374587bbe83e67"
"ID": "7f2136b193f547cf800445bb54cc677e"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
@@ -198,7 +210,7 @@
"TableName": "任务表",
"BindingInfos": [
{
"GUID": "f23e208f-c4ed-4aac-a039-96e410ba7c17",
"GUID": "a007a0d8-1c34-431c-90c0-60b3ea318005",
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "ID",
@@ -222,7 +234,7 @@
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "a94c7abbb5e1498d8a22ca152b067c3b"
"ID": "45978cfa1a404530a2bfeeb6b3695a89"
},
{
"$type": "Forguncy.Model.LoopCommand, ServerDesignerCommon",
@@ -265,7 +277,7 @@
"Message": "删除完成"
}
],
"ID": "8c1f2073-1e8b-4dde-82a0-d6c599c2f852"
"ID": "3df9fb9a-53eb-488a-b72d-80b55a7a7969"
},
{
"CommandList": [
@@ -278,12 +290,12 @@
}
}
],
"ID": "a5fd3c9f-3ab5-4a15-a0de-25818784bd49"
"ID": "3c64ecee-138b-4a31-a8a0-1dd131ad714f"
}
]
}
],
"ID": "bbbc9006-bd53-47b4-b986-9eabca5a8d7f"
"ID": "6a99473d-0c24-4811-9d15-5dbf012c34f4"
},
{
"CommandList": [
@@ -293,7 +305,7 @@
"Message": "任务不存在"
}
],
"ID": "a9412af3-edcb-46c1-b751-dcf134a936c5"
"ID": "0da77591-4d10-4ce6-90e8-e654317e002a"
}
]
}