{"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:
@@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user