{"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

@@ -275,7 +275,7 @@
"Message": "请等待父任务审批后方可发起!"
}
],
"ID": "0be8de78-c7c0-414b-9ea8-21bf727c7826"
"ID": "c66244a0-0b2c-4d80-b302-9d8646e26876"
}
]
},
@@ -301,7 +301,7 @@
"Message": "当前项目未指定项目经理,请指定后再试"
}
],
"ID": "fbf23b28-53c3-4c6e-b04d-8fd2a22e6ff8"
"ID": "bfa64f70-1f93-43cb-b795-c7d544722030"
}
]
},
@@ -327,7 +327,7 @@
"Message": "请指定任务负责人"
}
],
"ID": "d0460f18-1d55-4c08-a921-b6e7b1a9fc0e"
"ID": "2f4170e1-257f-40c3-98a6-17323c4e8ea2"
}
]
},
@@ -353,33 +353,7 @@
"Message": "请指定任务类型"
}
],
"ID": "3a2ec4ad-512f-4ee6-93fd-b25226907433"
}
]
},
{
"$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": "f50a279e-15ee-4d37-82b6-25f971f78c6f"
"ID": "5b83fd48-5d1e-4bdd-ac19-2b1dedb5776a"
}
]
},
@@ -425,7 +399,7 @@
"ID": "0d5ac7332bf942d1998fe6e03c20481e"
}
],
"ID": "1510307d-3f0e-4506-a698-da76ba49d1a3"
"ID": "4661da29-6cba-4137-9ee1-3d33a08eadeb"
},
{
"CommandList": [
@@ -439,7 +413,7 @@
"ID": "b1aff090a96e4e618b49838429706ff5"
}
],
"ID": "f620c048-3338-49db-99c9-19ab316aa4d1"
"ID": "88baa758-743d-49d3-9ee6-b0b22da513df"
}
],
"Comments": "严格模式下,根据是否有父任务来计算本次预算工时的上限"
@@ -473,12 +447,12 @@
}
}
],
"ID": "8bd11489-d35c-4d5c-bd1f-dc8767600961"
"ID": "0a4e2697-1831-44b7-bfc4-f7a5439e046e"
}
]
}
],
"ID": "743e50f1-e5d4-4c01-9c28-f609accef155"
"ID": "7ae391ca-88f5-424d-8756-636d8cd84c69"
}
],
"Comments": "校验工时情况是否通过"

View File

@@ -45,7 +45,7 @@
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "63b4e781-32d6-4f9d-b558-8da92670cbdb",
"GUID": "b41170ef-8882-411d-bf6c-3590f4ec537b",
"BindingInfo": {
"TableName": "任务平行视图",
"ColumnName": "项目ID",
@@ -54,7 +54,7 @@
"ColumnName": "项目ID"
},
{
"GUID": "f88b0aae-fe38-4484-821c-a8bb82bf1bd0",
"GUID": "abc4fdee-b86b-4311-9850-1e04eefce172",
"BindingInfo": {
"TableName": "任务平行视图",
"ColumnName": "项目ID",
@@ -68,7 +68,7 @@
"ColumnName": "严格模式"
},
{
"GUID": "08bfd598-0427-4fbc-9861-ab54645ae3fb",
"GUID": "8be7c72a-0bbe-4013-9fa2-793cdab46361",
"BindingInfo": {
"TableName": "任务平行视图",
"ColumnName": "项目ID",
@@ -82,7 +82,7 @@
"ColumnName": "项目预算工时"
},
{
"GUID": "ab0089b9-365f-429f-8afc-b4cbe79f6daf",
"GUID": "31914297-58ea-48e9-bde6-f442ea43940b",
"BindingInfo": {
"TableName": "任务平行视图",
"ColumnName": "项目ID",
@@ -96,7 +96,21 @@
"ColumnName": "项目总分配工时"
},
{
"GUID": "fd0ab476-0a14-44a5-9be5-189b79249777",
"GUID": "1ccf9321-bb0f-4b36-b882-91fddac00857",
"BindingInfo": {
"TableName": "任务平行视图",
"ColumnName": "项目ID",
"GUID": "196e858f-ae77-4c8b-b383-8990780d75b3",
"RelationBinding": {
"RelatedTable": "项目平行视图",
"RelatedColumn": "ID",
"DisplayColumn": "工时分配方式"
}
},
"ColumnName": "工时分配方式"
},
{
"GUID": "e92d4545-3b50-4c38-b871-f02a7403c6d2",
"BindingInfo": {
"TableName": "任务平行视图",
"ColumnName": "任务名称",
@@ -105,7 +119,7 @@
"ColumnName": "任务名称"
},
{
"GUID": "83d79cc9-f5f2-4913-a854-f060e8001686",
"GUID": "83c3fc51-0e13-4e4f-bb13-e87cee55450c",
"BindingInfo": {
"TableName": "任务平行视图",
"ColumnName": "总分配工时",
@@ -114,7 +128,7 @@
"ColumnName": "总分配工时"
},
{
"GUID": "5ea965f0-5ff0-4b4d-b95c-add43366edfa",
"GUID": "866e108f-0e48-41a8-8d08-ccbbccb87ced",
"BindingInfo": {
"TableName": "任务平行视图",
"ColumnName": "已分配工时",
@@ -123,7 +137,7 @@
"ColumnName": "已分配工时"
},
{
"GUID": "819304f3-ad63-4855-af23-d171ed5cba94",
"GUID": "cef7b6e7-62ce-4273-b3c9-27cc7eccc50e",
"BindingInfo": {
"TableName": "任务平行视图",
"ColumnName": "父任务ID",
@@ -132,7 +146,7 @@
"ColumnName": "父任务ID"
},
{
"GUID": "a20185ef-1a3a-4617-bcbc-fa569b9612a1",
"GUID": "44fce238-52b6-4279-8349-67ead4cdde00",
"BindingInfo": {
"TableName": "任务平行视图",
"ColumnName": "父任务ID",
@@ -146,7 +160,7 @@
"ColumnName": "父任务可分配工时"
},
{
"GUID": "aa6ed496-b14c-45ba-8c49-e05ef55583c1",
"GUID": "54aac56a-a596-4bd4-972d-51b7ac2cba6a",
"BindingInfo": {
"TableName": "任务平行视图",
"ColumnName": "本任务已分配工时",
@@ -169,16 +183,7 @@
},
"TopCount": "1"
},
"ID": "6b6b64f68f064deaa1cd5773df8e8c9a"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "项目可分配工时",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务表.项目预算工时-任务表.项目总分配工时"
},
"ID": "23a8904191ab4dc486ac16c1ba70cd5b"
"ID": "a451c4f01e354cd397cdcdd6487450e8"
},
{
"$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon",
@@ -194,12 +199,22 @@
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务表.严格模式"
"SerializeProperty": "=任务表.工时分配方式"
}
},
"value": "1"
"value": "4",
"compareType": 1
},
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "项目可分配工时",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务表.项目预算工时-任务表.项目总分配工时"
},
"ID": "2b08b895ad5b4f2697d6045bcb03f0c1"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
@@ -209,225 +224,265 @@
"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": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务表.本任务已分配工时"
},
"compareType": 4
},
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=\"任务已被分配消耗\"&任务表.本任务已分配工时&\"小时,修改后工时,不可低于此值。\""
},
"CustomReturns": [
{
"ReturnPropertyName": "新工时",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务表.总分配工时"
}
}
]
}
],
"ID": "6b0aa3aa-56a9-4239-9cf8-a7cbd1c4bb6c"
}
]
},
{
"$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%"
},
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "上级剩余工时",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目可分配工时"
},
"ID": "31c222793f824eb3a84d00f1e0e3811f",
"Comments": "如果没有父任务,则将项目可分配工时+任务当前的总分配工时 (相当于这个任务没有分)"
}
],
"ID": "6e74a7be-eb9a-4408-b67b-ca21492fd483"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "上级剩余工时",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务表.父任务可分配工时"
},
"ID": "56a7d8ee803449268e0e8eccd66dc689",
"Comments": "如果没有父任务,则将项目可分配工时+任务当前的总分配工时 (相当于这个任务没有分)"
}
],
"ID": "c4efc85f-e4f2-44b5-b1e6-fbce69f5de0e"
}
],
"Comments": "严格模式下,根据是否有父任务来计算本次预算工时的上限"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "预算工时上限",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=上级剩余工时+任务表.总分配工时"
},
"ID": "bf6bea055267461f804613fa476f0ea0",
"Comments": "上级任务剩余可用的工时+当前任务的总工时,相当于没有分给它"
},
{
"$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": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=新预算工时"
},
"compareType": 4
},
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=\"任务工时超标,无法修改,当前任务最大上线为:\"&预算工时上限&\"小时\""
},
"CustomReturns": [
{
"ReturnPropertyName": "新工时"
}
]
}
],
"ID": "759b97cb-3f2d-4ea1-9ebd-d16964c057bb"
}
]
}
],
"ID": "8465578f-e102-4c1d-91d3-7b1323ae3650"
}
]
},
{
"$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": "36cde956-3506-4020-942d-ca6bb7016a8e"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务ID"
}
},
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "任务预算工时",
"GUID": "87d0d5c7-6093-4548-8f03-96d4714af78b"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=新预算工时"
}
},
"value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务表.本任务已分配工时"
},
"compareType": 4
},
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=\"任务已被分配消耗\"&任务表.本任务已分配工时&\"小时,修改后工时,不可低于此值。\""
},
"CustomReturns": [
{
"ReturnPropertyName": "新工时",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务表.总分配工时"
}
}
]
}
],
"ID": "92793fbb-474c-4651-bf6c-219ee0a2c38d"
}
]
},
{
"$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%"
},
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "上级剩余工时",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目可分配工时"
},
"ID": "0ef5c7f20704410eabf21c4b868fe64b",
"Comments": "如果没有父任务,则将项目可分配工时+任务当前的总分配工时 (相当于这个任务没有分)"
}
],
"ID": "a49e5ab0-3ddc-459a-9d75-8fb66f87f532"
"ParamNameToSaveNewRowValue": "新任务"
},
{
"CommandList": [
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "项目动态",
"UpdateType": "add",
"ShowConfirm": false,
"UpdateBindingValues": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "上级剩余工时",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务表.父任务可分配工时"
"BindingInfo": {
"TableName": "项目动态",
"ColumnName": "项目ID",
"GUID": "0714186a-58f5-45a1-938f-d2d93c1cc690"
},
"ID": "37e3b8c29aa54194a07548cd3ba217ce",
"Comments": "如果没有父任务,则将项目可分配工时+任务当前的总分配工时 (相当于这个任务没有分)"
}
],
"ID": "3678e11f-48e1-4074-a7fa-fe41f8906a69"
}
],
"Comments": "严格模式下,根据是否有父任务来计算本次预算工时的上限"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "预算工时上限",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=上级剩余工时+任务表.总分配工时"
},
"ID": "fc23623d44294e18935812304bbb80ee",
"Comments": "上级任务剩余可用的工时+当前任务的总工时,相当于没有分给它"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=预算工时上限"
"SerializeProperty": "=任务表.项目ID"
}
},
"value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=新预算工时"
},
"compareType": 4
},
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=\"任务工时超标,无法修改,当前任务最大上线为:\"&预算工时上限&\"小时\""
"BindingInfo": {
"TableName": "项目动态",
"ColumnName": "项目动态",
"GUID": "a2cbc92d-02bb-40e4-81ce-2f9d87c7139a"
},
"CustomReturns": [
{
"ReturnPropertyName": "工时"
}
]
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=\"调整了任务[\"&任务表.任务名称&\"]的预算工时,\"&任务表.项目预算工时&\"=>\"&新预算工时"
}
},
{
"BindingInfo": {
"TableName": "项目动态",
"ColumnName": "执行人",
"GUID": "616a4c98-401a-4cc1-bdcf-5f70ba8a4cc5"
},
"Value": "%CurrentUser%"
}
],
"ID": "b3096e68-d3ff-4a72-b3fb-7a6a3551140c"
]
}
]
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "新增成功",
"CustomReturns": [
{
"ReturnPropertyName": "新工时",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=新预算工时"
}
}
]
}
],
"ID": "10e6dd03-d092-4259-b5ba-1f34b8add596"
}
]
},
{
"$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": "36cde956-3506-4020-942d-ca6bb7016a8e"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务ID"
}
},
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "任务预算工时",
"GUID": "fec39811-ef5c-459b-9a2a-cf3de8e3f5dd"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=新预算工时"
}
}
],
"ParamNameToSaveNewRowValue": "新任务"
"ID": "7bbbfcd6-8aa3-4496-8b2d-e803f0ec9fd1"
},
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "项目动态",
"UpdateType": "add",
"ShowConfirm": false,
"UpdateBindingValues": [
"CommandList": [
{
"BindingInfo": {
"TableName": "项目动态",
"ColumnName": "项目ID",
"GUID": "7859703a-b22f-4b2f-a468-853085bb1e2a"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务表.项目ID"
}
},
{
"BindingInfo": {
"TableName": "项目动态",
"ColumnName": "项目动态",
"GUID": "3dcc1d83-66d3-4331-99fa-b37735c410ac"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=\"调整了任务[\"&任务表.任务名称&\"]的预算工时,\"&任务表.项目预算工时&\"=>\"&新预算工时"
}
},
{
"BindingInfo": {
"TableName": "项目动态",
"ColumnName": "执行人",
"GUID": "7e31e6a5-cf58-4e66-9b51-bc7eeda5ba54"
},
"Value": "%CurrentUser%"
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "项目已设置为“不分配”工时模式,无法修改!",
"CustomReturns": [
{
"ReturnPropertyName": "新工时",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务表.总分配工时"
}
}
]
}
]
}
]
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "新增成功",
"CustomReturns": [
{
"ReturnPropertyName": "新工时",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=新预算工时"
}
],
"ID": "1a41098e-e66a-4c90-8be9-02aa7e59efa8"
}
]
}
@@ -456,66 +511,6 @@
]
}
]
},
"FinallyCommandPart": {
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "项目统计",
"TableValue": {
"TableName": "View_项目统计信息",
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "e712cac8-db4c-4e49-bbf4-22db3754f7be",
"BindingInfo": {
"TableName": "View_项目统计信息",
"ColumnName": "项目ID",
"GUID": "e2c10b48-d276-43ff-92d3-6982554995d3",
"RelationBinding": {
"RelatedTable": "项目表",
"RelatedColumn": "ID",
"DisplayColumn": "严格模式"
}
},
"ColumnName": "严格模式"
},
{
"GUID": "0f378adc-4c2f-4583-9380-29ab9162a247",
"BindingInfo": {
"TableName": "View_项目统计信息",
"ColumnName": "项目预算工时",
"GUID": "df4b665e-bf05-415f-b1d6-44ef6268356f"
},
"ColumnName": "项目预算工时"
},
{
"GUID": "365bbef0-0c71-4147-8ca1-6fae9781df36",
"BindingInfo": {
"TableName": "View_项目统计信息",
"ColumnName": "已分配任务工时",
"GUID": "e0b92957-2058-4acf-8f85-c8cb21e7751c"
},
"ColumnName": "已分配任务工时"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "View_项目统计信息",
"ColumnName": "项目ID",
"GUID": "a21318d5-5050-4baa-a025-483041bba932"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务表.项目ID"
}
},
"TopCount": "1"
},
"ID": "62875afcfcce4e3995ac1f427b544e8c"
}
]
}
}
],

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"
}
]
}

View File

@@ -413,7 +413,7 @@
}
],
"Comments": "项目成员设置的时薪",
"ID": "84eb4913-28ae-4ea8-b302-f9452ecf8e8d"
"ID": "1622d6da-4a84-4d29-8c40-4e7f5c1413e9"
},
{
"Condition": {
@@ -446,7 +446,7 @@
}
],
"Comments": "项目岗位设置的时薪",
"ID": "468771ce-d2a8-4b33-8555-559a881eb843"
"ID": "ade0e4db-b029-4d18-b33b-d6a7a6312db1"
},
{
"Condition": {
@@ -479,7 +479,7 @@
}
],
"Comments": "成员用户的默认时薪",
"ID": "96658d89-b617-4dc5-a5a7-33bd6553b420"
"ID": "6f9d7a37-7338-473b-860c-11c8cfeab7fc"
},
{
"CommandList": [
@@ -496,13 +496,13 @@
"ID": "1034a8bcf12a49328a31314e519829f0"
}
],
"ID": "3571b336-7011-433f-a851-ac9f09aeaae4"
"ID": "e9d9c695-f0f1-437b-a4ec-4a68e9fc9585"
}
]
}
],
"Comments": "优先使用手动指定的提成金额",
"ID": "418a0bd3-4fc0-445a-9c0b-5d2fc5e45f93"
"ID": "8157b13f-b540-4c4c-bfdd-60ab5f41d4d7"
},
{
"CommandList": [
@@ -522,7 +522,7 @@
"ID": "c9b6eb8cb30e4eaa839a7e1e28ee50a1"
}
],
"ID": "77da7dca-237a-4d22-a5b1-0d2bb6ca5f55"
"ID": "b514935e-9661-48ee-812d-70e334d4f4f8"
}
],
"Comments": "计算成员的时薪"
@@ -681,13 +681,13 @@
}
],
"Comments": "先检查个人工时余额够不够如果不够直接提成为0",
"ID": "54dd6f5e-3b7e-4ba1-83da-93e90f04e981"
"ID": "c24b9026-c18c-4950-a1a5-91980ebf5404"
}
]
}
],
"Comments": "如果分配到人头,则判断该人总计划工时还够不够",
"ID": "7d11cf3f-fb7c-4336-b12d-76a718cdb842"
"ID": "4e551833-82e6-4e4a-9b80-ed39ef6d1f30"
},
{
"Condition": {
@@ -739,13 +739,13 @@
}
],
"Comments": "先检查个人工时余额够不够如果不够直接提成为0",
"ID": "2609606a-f5a9-4617-b822-1f559a93e78b"
"ID": "d4d24aea-150a-4797-b410-8ff6601c6f90"
}
]
}
],
"Comments": "如果是共用任务工时,则查看任务计划工时够不够",
"ID": "5cd15c42-d06a-420a-b13a-6263fbb67379"
"ID": "05ecd057-a8c6-4c11-8edf-67424ccb7c22"
}
]
},
@@ -878,7 +878,7 @@
]
}
],
"ID": "86f0c8b9-8ac6-419e-8290-067631c63fe7"
"ID": "97cafc32-6501-4fc7-92fb-fd54ecee0fba"
},
{
"CommandList": [
@@ -939,12 +939,12 @@
]
}
],
"ID": "0a01bf3e-0108-445b-892b-822c27abc942"
"ID": "dbdf8595-2183-4cda-9929-be8921639ea9"
}
]
}
],
"ID": "6564b59c-450a-4099-9836-d28c9981849d"
"ID": "2f33833d-21ea-4509-ae48-11dff2c6b452"
},
{
"CommandList": [
@@ -977,13 +977,13 @@
]
}
],
"ID": "2c171798-c5d7-4f6e-a2cd-199c6771c1a2"
"ID": "94d11f39-180c-433a-a040-c76bb1aaf58d"
}
]
}
],
"Comments": "如果提交的工时类型等于项目工时的核定方式且开启严格模式就校验本次有没有超标",
"ID": "1ffdcfc2-b9c3-4de8-bbad-b53366ae2a55"
"ID": "e4cae573-9b03-45a7-af22-228accb1c09a"
},
{
"CommandList": [
@@ -1040,12 +1040,12 @@
]
}
],
"ID": "f9c323aa-aa6a-445f-bb0e-b67eb59ac59b"
"ID": "7cd4db74-9852-4309-941d-f72e46074ed0"
}
]
}
],
"ID": "30d58d38-eb4a-49fb-b9e8-371934cd5d37"
"ID": "e4a9468a-adaf-4be2-ae35-9cc94cfa2c5c"
},
{
"CommandList": [
@@ -1078,7 +1078,7 @@
]
}
],
"ID": "50115f34-3cd6-48f3-b4ad-6b579236578f"
"ID": "66c86e72-c97f-4be8-b9a3-dbf0033d2638"
}
]
}

View File

@@ -416,7 +416,7 @@
]
}
],
"ID": "e207fec9-b98b-496f-bdd8-d11434b78590"
"ID": "7c748272-2a89-4188-8196-3aab84cbf81d"
},
{
"CommandList": [
@@ -462,7 +462,7 @@
]
}
],
"ID": "96fd42ed-1e5d-41ec-816d-af2ca08bbba6"
"ID": "dd6eac18-587c-430d-8d91-30338f4607a5"
}
]
}
@@ -474,7 +474,7 @@
"Message": "应用成功"
}
],
"ID": "038546ca-0ed8-4276-9392-6bd6d7aafe95"
"ID": "f7b66a25-4021-42c8-9d23-1efc2628cb31"
},
{
"CommandList": [
@@ -484,7 +484,7 @@
"Message": "找不到该申请记录"
}
],
"ID": "87b083cf-1bde-42df-9b48-cab552e51e30"
"ID": "ab0b6fdd-c451-411f-8b75-e311e004b538"
}
]
}

View File

@@ -125,7 +125,7 @@
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "9dec62d0-d26b-4ddd-a56a-d9c3da5811af",
"GUID": "a96a1a27-41ca-4fe0-9359-4bcb525d7176",
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "严格模式",
@@ -134,7 +134,7 @@
"ColumnName": "严格模式"
},
{
"GUID": "5ff8a8f1-9153-465f-867c-30e3f8144ddf",
"GUID": "b5b6bed0-a125-481e-a258-0f0edd8fbe94",
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目经理",
@@ -158,7 +158,7 @@
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "0cb16c10e8b545d3bbf6ab166d5024f9"
"ID": "4c7b4834021b431183f23672f24716e0"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
@@ -184,7 +184,7 @@
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "a9663649-7844-4b42-b900-4a4329814754",
"GUID": "66853927-3ca9-4e53-aa1e-6db438d697dd",
"BindingInfo": {
"TableName": "View_项目统计信息",
"ColumnName": "项目预算工时",
@@ -193,16 +193,16 @@
"ColumnName": "项目预算工时"
},
{
"GUID": "bf4d1923-97b1-4d84-b35f-07e2b188d5b3",
"GUID": "8a0247fc-a0b1-4422-9a50-f35a6b3a8594",
"BindingInfo": {
"TableName": "View_项目统计信息",
"ColumnName": "总实际工时",
"GUID": "5a3c8588-de2e-4e88-8116-09021dc36bd8"
"ColumnName": "总核定工时",
"GUID": "152697ce-8438-42b5-8e47-92f899bbbfcf"
},
"ColumnName": "总实际工时"
"ColumnName": "总核定工时"
},
{
"GUID": "59b81edc-7159-49ab-baf0-ad68eb7cf4cd",
"GUID": "7937310f-a08c-4ef1-9d44-effa6068f237",
"BindingInfo": {
"TableName": "View_项目统计信息",
"ColumnName": "项目预算费用",
@@ -211,7 +211,7 @@
"ColumnName": "项目预算费用"
},
{
"GUID": "17d281db-75b4-4d67-a2cf-90fed5d36f1c",
"GUID": "e471e91a-4313-4550-80e4-c1554be3c455",
"BindingInfo": {
"TableName": "View_项目统计信息",
"ColumnName": "总成本",
@@ -234,7 +234,7 @@
},
"TopCount": "1"
},
"ID": "9a0d206ca31946abb32fc405009a367a"
"ID": "ad29d68902fd4f8c9adedd07c1339b41"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
@@ -246,7 +246,7 @@
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目统计信息.总实际工时"
"SerializeProperty": "=项目统计信息.总核定工时"
}
},
"value": {
@@ -261,11 +261,11 @@
"ErrorCode": "400",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=\"项目实际工时已超标,无法为您切换为严格模式!\""
"SerializeProperty": "=\"项目总核定工时已超标,无法为您切换为严格模式!\""
}
}
],
"ID": "e56ce1ee-3c4f-477f-bd59-71f22e926d85"
"ID": "2bfe9f9c-3d33-44a8-ae36-d9a913767457"
},
{
"Condition": {
@@ -293,13 +293,13 @@
}
}
],
"ID": "81d60b93-52d5-45a3-acc8-1a52d9537b88"
"ID": "c0006edb-4bea-4893-81a2-7fc390c96a75"
}
]
}
],
"Comments": "如果是更新项目,且改变了严格模式,那么就要校验。超标就不允许切换",
"ID": "c40817c0-9e84-41b3-8e15-67e1393fb838"
"ID": "117ac471-e667-4550-99c4-40f829747f54"
}
]
},
@@ -325,7 +325,7 @@
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目名称",
"GUID": "c98a0226-00eb-4ab4-8390-97ee923e5c29"
"GUID": "1d7359df-f80a-488e-b303-6fe4bc9540c7"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -336,7 +336,7 @@
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目代号",
"GUID": "b3e08060-71e1-4450-b99e-a2fdabb1ae8e"
"GUID": "12e7894e-e818-42da-916e-6da239ac7b0d"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -347,7 +347,7 @@
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目简介",
"GUID": "36d6a0fb-1012-41c4-b873-bf49b3ad518b"
"GUID": "ed4fedf0-97cf-4397-b0b7-0c747d30c449"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -358,7 +358,7 @@
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目封面",
"GUID": "39d31d57-02a9-4d61-8169-105602a03c42"
"GUID": "02c361e1-40bb-4ebc-8a8d-7d3d258fda4f"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -369,7 +369,7 @@
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目经理",
"GUID": "6435ad2c-7b52-43d9-8779-d980b297b148"
"GUID": "ca2bd577-a0f5-4ee2-9ffe-0988ff829ef3"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -380,7 +380,7 @@
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目分组",
"GUID": "85789292-7b6f-43c4-959c-5ce07acbbdfd"
"GUID": "4ce9236a-7f32-47ea-8e70-89bfbabe063a"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -391,7 +391,7 @@
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "所属客户",
"GUID": "dd1418ee-7dba-48c5-b00b-4705e031ad21"
"GUID": "1bfc41d8-714b-4996-a47c-e770aedc69eb"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -402,7 +402,7 @@
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "所属客户部门",
"GUID": "eae8417b-5d85-464a-b473-d22862357628"
"GUID": "91c39c63-d4cb-438e-8694-3cdc77112140"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -413,7 +413,7 @@
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "公开",
"GUID": "c1032e78-c942-4e4d-bda5-bc05676cd905"
"GUID": "2ed99546-b4fb-46b9-83e1-280a670ded81"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -424,7 +424,7 @@
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "严格模式",
"GUID": "dddd0103-b52f-4198-b4c1-7b12e734a891"
"GUID": "2de689f4-3eb2-406b-a45e-a02458e0fcc7"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -435,7 +435,7 @@
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "计划开始日期",
"GUID": "394fd86a-c79f-4a59-b6c9-3d2d6961fbd9"
"GUID": "197303b1-7b6a-4ba4-b284-84dffb188b88"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -446,7 +446,7 @@
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "计划完成日期",
"GUID": "fdc25fd4-3082-4b58-947f-fe3ed9e112ad"
"GUID": "00f6346d-3328-43c1-8ec8-6319b86b09d5"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -457,7 +457,7 @@
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目方案",
"GUID": "919fcde7-c5d4-41fc-964b-0f56d0706949"
"GUID": "76152f46-0000-4f73-be9d-4c8ae754f3d2"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -468,7 +468,7 @@
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "预算方案",
"GUID": "c8cd7641-43bd-4e30-bdf5-cd452e2046ac"
"GUID": "54ddeb64-0d33-4c21-aef1-08425106954a"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -479,7 +479,7 @@
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "网络资源",
"GUID": "a6c22966-f8d7-4cfc-b4ac-f5fd2c484ea8"
"GUID": "f82ccea4-28b4-4e67-8760-ca4c5a6ea439"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -490,7 +490,7 @@
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "开启反馈收集",
"GUID": "b02c470f-2386-4d53-b21f-65641e6c5740"
"GUID": "95d2286b-588a-4233-9470-f31e07142d7a"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",