{"Message":"修改工时表,将人员ID绑定到成员表","MessageType":2,"Modules":[{"State":1,"Type":7,"Name":"Table/项目表"},{"State":1,"Type":1,"Name":"PCPage/项目列表"},{"State":1,"Type":1,"Name":"PCPage/项目标题"},{"State":1,"Type":7,"Name":"Table/任务工时表"},{"State":1,"Type":1,"Name":"PCPage/工时详情"},{"State":1,"Type":1,"Name":"PCPage/新增报工"},{"State":1,"Type":15,"Name":"ServerCommand/新增工时"},{"State":2,"Type":15,"Name":"ServerCommand/删除指定人员工时"},{"State":1,"Type":1,"Name":"PCPage/修改报工"},{"State":1,"Type":15,"Name":"ServerCommand/修改工时"},{"State":2,"Type":1,"Name":"PCPage/新增项目"},{"State":3,"Type":1,"Name":"PCPage/项目信息"},{"State":3,"Type":15,"Name":"ServerCommand/删除任务成员所有工时"},{"State":3,"Type":15,"Name":"ServerCommand/移除任务成员"}],"Version":"v1"}
This commit is contained in:
@@ -43,7 +43,7 @@
|
||||
"TestData": "2024-03-10"
|
||||
},
|
||||
{
|
||||
"Name": "执行者",
|
||||
"Name": "成员ID",
|
||||
"DataValidationInfo": {
|
||||
"IgnoreBlank": false
|
||||
},
|
||||
@@ -89,7 +89,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "任务表",
|
||||
"ColumnName": "项目ID",
|
||||
"GUID": "36a0694f-32c4-4a5d-86b1-da1a65563db3"
|
||||
"GUID": "d6b6824a-a3d5-44d3-bef2-34b3561cbe6a"
|
||||
},
|
||||
"ColumnName": "项目ID"
|
||||
},
|
||||
@@ -97,7 +97,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "任务表",
|
||||
"ColumnName": "任务状态",
|
||||
"GUID": "cbe473f3-ee2b-4642-aec2-84ec97ef77e4"
|
||||
"GUID": "be3c9952-34a3-4915-97ac-340dca60f67a"
|
||||
},
|
||||
"ColumnName": "任务状态"
|
||||
},
|
||||
@@ -105,7 +105,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "任务表",
|
||||
"ColumnName": "任务状态",
|
||||
"GUID": "12dcebf1-d5e1-4a05-b259-3628d2003f9b",
|
||||
"GUID": "89014ca0-175a-4817-9b63-9d1d819f777a",
|
||||
"RelationBinding": {
|
||||
"RelatedTable": "任务状态",
|
||||
"RelatedColumn": "状态码",
|
||||
@@ -114,24 +114,11 @@
|
||||
},
|
||||
"ColumnName": "任务状态文本"
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "任务表",
|
||||
"ColumnName": "执行者",
|
||||
"GUID": "c2b0ef94-b9ac-45d8-875b-56579f08b417",
|
||||
"AttachType": {
|
||||
"$type": "ForguncyDataAccess.UserColumnAttachObj, ForguncyDataAccess",
|
||||
"UserColumnAttachType": 5,
|
||||
"AttachTypeTag": "负荷"
|
||||
}
|
||||
},
|
||||
"ColumnName": "执行者负荷"
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "任务表",
|
||||
"ColumnName": "项目ID",
|
||||
"GUID": "58da35e6-75ed-4ace-9b10-28dedc13ed08",
|
||||
"GUID": "3b56f3a2-20fc-47ea-bc61-2de38614800a",
|
||||
"RelationBinding": {
|
||||
"RelatedTable": "项目表",
|
||||
"RelatedColumn": "ID",
|
||||
@@ -144,7 +131,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "任务表",
|
||||
"ColumnName": "项目ID",
|
||||
"GUID": "f363707a-74b8-46a4-935c-ea52eeae0aab",
|
||||
"GUID": "8b21bb41-cba8-4063-bce6-654ce97c4208",
|
||||
"RelationBinding": {
|
||||
"RelatedTable": "项目表",
|
||||
"RelatedColumn": "ID",
|
||||
@@ -152,6 +139,32 @@
|
||||
}
|
||||
},
|
||||
"ColumnName": "项目预算工时"
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "任务表",
|
||||
"ColumnName": "项目ID",
|
||||
"GUID": "b3370de2-8e76-453c-956c-66ee0e4fbf16",
|
||||
"RelationBinding": {
|
||||
"RelatedTable": "项目表",
|
||||
"RelatedColumn": "ID",
|
||||
"DisplayColumn": "项目预算费用"
|
||||
}
|
||||
},
|
||||
"ColumnName": "项目预算费用"
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "任务表",
|
||||
"ColumnName": "项目ID",
|
||||
"GUID": "19d450ec-d2ee-4640-b4f5-0cb10cd2d797",
|
||||
"RelationBinding": {
|
||||
"RelatedTable": "项目表",
|
||||
"RelatedColumn": "ID",
|
||||
"DisplayColumn": "默认工时核定方式"
|
||||
}
|
||||
},
|
||||
"ColumnName": "默认工时核定方式"
|
||||
}
|
||||
],
|
||||
"SqlCondition": {
|
||||
@@ -159,7 +172,7 @@
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "任务表",
|
||||
"ColumnName": "ID",
|
||||
"GUID": "a411452d-d49e-4d87-aea9-ffe528a11127"
|
||||
"GUID": "54cd58a8-21ad-4171-91d5-3b122e25bcf1"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -169,7 +182,53 @@
|
||||
"NullFormulaValueQueryPolicy": 0,
|
||||
"TopCount": "1"
|
||||
},
|
||||
"ID": "2adb2826506a4367a08cea1a22dc2c88"
|
||||
"ID": "da510110eedd4b1b9707dfd37852471a"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "任务成员",
|
||||
"TableValue": {
|
||||
"TableName": "任务成员表",
|
||||
"TableValueType": 1,
|
||||
"BindingInfos": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "任务成员表",
|
||||
"ColumnName": "参与人",
|
||||
"GUID": "9a5e191a-1702-4e0e-9aa3-9bde3875efe8"
|
||||
},
|
||||
"ColumnName": "参与人"
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "任务成员表",
|
||||
"ColumnName": "参与人",
|
||||
"GUID": "fbd6dea1-5ca9-47ff-96eb-b9940b927304",
|
||||
"AttachType": {
|
||||
"$type": "ForguncyDataAccess.UserColumnAttachObj, ForguncyDataAccess",
|
||||
"UserColumnAttachType": 5,
|
||||
"AttachTypeTag": "负荷"
|
||||
}
|
||||
},
|
||||
"ColumnName": "参与人负荷"
|
||||
}
|
||||
],
|
||||
"SqlCondition": {
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "任务成员表",
|
||||
"ColumnName": "ID",
|
||||
"GUID": "6efd1b18-859e-4ec6-a731-bf8fd9bcfe02"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=成员ID"
|
||||
}
|
||||
},
|
||||
"NullFormulaValueQueryPolicy": 0,
|
||||
"TopCount": "1"
|
||||
},
|
||||
"ID": "5392853d39164a9eb658391557796b84"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||||
@@ -203,52 +262,6 @@
|
||||
"value": "1"
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "总计划工时",
|
||||
"TableValue": {
|
||||
"TableName": "任务工时表",
|
||||
"OnlyGetValue": true,
|
||||
"TableValueType": 0,
|
||||
"BindingInfos": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "总工时",
|
||||
"GUID": "15a53c55-5e66-4742-a71f-1fc64e017a10"
|
||||
},
|
||||
"ColumnName": "总工时"
|
||||
}
|
||||
],
|
||||
"SqlCondition": {
|
||||
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
||||
"SubConditions": [
|
||||
{
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "ID",
|
||||
"GUID": "64a6f2c9-8782-4c12-9164-b2636c815cc3"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=任务ID"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "工时类型",
|
||||
"GUID": "c97a3bc2-1392-4cb9-8eba-7965bf4b2fe0"
|
||||
},
|
||||
"Value": "计划"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"ID": "29d508af935d4c97a0aefdf509ff7f30"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||||
"ConditionAndCommandPairList": [
|
||||
@@ -259,31 +272,238 @@
|
||||
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
||||
"ParamObject": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=总计划工时+工时数"
|
||||
"SerializeProperty": "=工时类型"
|
||||
}
|
||||
},
|
||||
"value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=任务信息.项目预算工时"
|
||||
},
|
||||
"compareType": 2
|
||||
"SerializeProperty": "=任务信息.默认工时核定方式"
|
||||
}
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "400",
|
||||
"Message": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=\"计划工时总时长(\"&工时数&\"h)超过项目预算工时时长(\"&任务信息.项目预算工时&\"h),请修改后提交!\""
|
||||
}
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "总计划工时",
|
||||
"TableValue": {
|
||||
"TableName": "任务工时表",
|
||||
"OnlyGetValue": true,
|
||||
"TableValueType": 0,
|
||||
"BindingInfos": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "总工时",
|
||||
"GUID": "ed609fb6-3202-43b6-b725-5bf94aed3446"
|
||||
},
|
||||
"ColumnName": "总工时"
|
||||
}
|
||||
],
|
||||
"SqlCondition": {
|
||||
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
||||
"SubConditions": [
|
||||
{
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "ID",
|
||||
"GUID": "db82b94a-603e-42c9-94fb-64b10011c044"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=任务ID"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "工时类型",
|
||||
"GUID": "8ea1007d-e0f2-4a14-98d2-8dbbbf6037cf"
|
||||
},
|
||||
"Value": "计划"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"ID": "8a326bb3f5e14ad4a1d0f195ba26c5f6",
|
||||
"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": 2
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "400",
|
||||
"Message": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=\"计划工时总时长(\"&工时数&\"h)超过项目预算工时时长(\"&任务信息.项目预算工时&\"h),请修改后提交!\""
|
||||
}
|
||||
}
|
||||
],
|
||||
"ID": "c5c7aac0-dd9d-4706-8ee4-c005ce24d766"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "计划消耗列表",
|
||||
"TableValue": {
|
||||
"TableName": "任务工时表",
|
||||
"BindingInfos": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "成员ID",
|
||||
"GUID": "e2865898-e911-4984-af03-a632533958f1",
|
||||
"RelationBinding": {
|
||||
"RelatedTable": "任务成员表",
|
||||
"RelatedColumn": "ID",
|
||||
"DisplayColumn": "参与人"
|
||||
}
|
||||
},
|
||||
"ColumnName": "参与人"
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "成员ID",
|
||||
"GUID": "de51f79d-6019-4e75-8385-023cc8e19249",
|
||||
"RelationBinding": {
|
||||
"RelatedTable": "任务成员表",
|
||||
"RelatedColumn": "ID",
|
||||
"DisplayColumn": "任务时薪"
|
||||
}
|
||||
},
|
||||
"ColumnName": "任务时薪"
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "总工时",
|
||||
"GUID": "6462a6b8-bb0b-41c9-8483-7a006ffbc538"
|
||||
},
|
||||
"ColumnName": "总工时"
|
||||
}
|
||||
],
|
||||
"SqlCondition": {
|
||||
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
||||
"SubConditions": [
|
||||
{
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "ID",
|
||||
"GUID": "56e375d1-b201-4b44-9aac-2621262c6e29"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=任务ID"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "工时类型",
|
||||
"GUID": "9021677f-d0bd-48a5-8462-cefd2ff6e02a"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=IF(任务信息.默认工时核定方式=1,\"计划\",\"实际\")"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"ID": "df6f78761b1249f78144e101115282e7",
|
||||
"Comments": "检查预算是否超支"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "总消耗金额",
|
||||
"ParameterValue": "0",
|
||||
"ID": "3443b1c570584aaea455f4f7fb79eed1"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.LoopCommand, ServerDesignerCommon",
|
||||
"LoopInfo": {
|
||||
"$type": "Forguncy.Model.CountLoopInfo, ServerDesignerCommon",
|
||||
"LoopCount": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=计划消耗列表"
|
||||
},
|
||||
"LoopItemParamName": "Item"
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "总消耗金额",
|
||||
"ParameterValue": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=总消耗金额+(Item.任务时薪*Item.总工时)"
|
||||
},
|
||||
"ID": "504fbfc09a2b4656b4bbcc9f38604960"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"$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": 2
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "400",
|
||||
"Message": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=\"计划工时总预算超过项目预算金额(\"&任务信息.项目预算费用&\"元),请修改后提交!\""
|
||||
}
|
||||
}
|
||||
],
|
||||
"ID": "47bf4734-aece-421e-b41a-a6d0eff5fc1a"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "6f1e3391-cb31-4999-b19c-5f912adb6a29"
|
||||
"Comments": "如果提交的工时类型等于项目工时的核定方式",
|
||||
"ID": "1534bc82-d82f-4186-967d-c3bac1031f0c"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "d755b8c1-d2ad-42d9-9d93-41bd67b58c39"
|
||||
"ID": "404ab964-9c86-46e2-bdf4-9366a7d6f2f3"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -294,7 +514,7 @@
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=工时数"
|
||||
},
|
||||
"ID": "5b24b76c69a14a0d9031135d1f8e11ce"
|
||||
"ID": "181e4cf6c6f14d98b7bbad5f1a76839c"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
@@ -303,7 +523,7 @@
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=DATEDIF(开始日期,结束日期,\"d\")+1"
|
||||
},
|
||||
"ID": "09b4f9a0f25c48edb56edcf77966ebee"
|
||||
"ID": "eb8e1b79731e4e8f91be8550ffa3e68b"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ServerTransactionCommand, ServerDesignerCommon",
|
||||
@@ -327,7 +547,7 @@
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=开始日期+(index-1)"
|
||||
},
|
||||
"ID": "261d1560d2d04104b760349265aa9212"
|
||||
"ID": "b9b5ba8e100b4e46940ad640cdb69a1a"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
@@ -340,7 +560,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "总工时",
|
||||
"GUID": "39d3e8c6-b36b-4ac5-9b53-203e4f6a1c7d"
|
||||
"GUID": "f911f362-c418-4e69-9cf9-a54058b9ba65"
|
||||
},
|
||||
"ColumnName": "总工时"
|
||||
}
|
||||
@@ -353,7 +573,7 @@
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "工时日期",
|
||||
"GUID": "36e54b34-5a5a-4543-9abb-2c8602bc1d72"
|
||||
"GUID": "3c3ddeda-accd-4fa6-bfcc-3a7ec1211ada"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -365,11 +585,11 @@
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "执行人",
|
||||
"GUID": "bdd49d3f-eb98-4fc6-baee-8352828d50c7"
|
||||
"GUID": "5cd28f80-f30d-405a-a8a9-5a055ce78348"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=执行者"
|
||||
"SerializeProperty": "=成员ID"
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -377,7 +597,7 @@
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "工时类型",
|
||||
"GUID": "619d9834-f4b6-430a-9ba8-2b32fcd82df4"
|
||||
"GUID": "9da43b76-13c1-4475-85f7-b3d3f21a7969"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -388,7 +608,7 @@
|
||||
},
|
||||
"NullFormulaValueQueryPolicy": 0
|
||||
},
|
||||
"ID": "05785ad08042483fb9e59d05853898aa"
|
||||
"ID": "0c1eccf143b14acbab9d4f4a3e3851b6"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||||
@@ -417,10 +637,10 @@
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=ROUNDUP(工时数/分配天数,1)"
|
||||
},
|
||||
"ID": "727872ced2d14737b0da0bbf25b79bca"
|
||||
"ID": "740a550bb158456e8be9a90f65ca36c3"
|
||||
}
|
||||
],
|
||||
"ID": "d075d749-01ed-4381-a0b9-415105afb341"
|
||||
"ID": "302c7551-ea18-47fe-bb85-aa7b43c3a752"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
@@ -431,10 +651,10 @@
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=待分配工时"
|
||||
},
|
||||
"ID": "7c9e9ffb15eb431aa10c0ee6fabd7454"
|
||||
"ID": "fc07533dafce4f5aaeaa7eaf961939f1"
|
||||
}
|
||||
],
|
||||
"ID": "9c71d8e3-9dca-4bcb-9b6e-64125790b6bb"
|
||||
"ID": "63594e0b-c901-480e-a2d0-d03a28a78dea"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -459,12 +679,12 @@
|
||||
"ParameterName": "执行人负荷",
|
||||
"ParameterValue": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=IF(OR(任务信息.执行者负荷=\"\",任务信息.执行者负荷=0,任务信息.执行者负荷>24),24,任务信息.执行者负荷)"
|
||||
"SerializeProperty": "=IF(OR(任务成员.参与人负荷=\"\",任务成员.参与人负荷=0,任务成员.参与人负荷>24),24,任务成员.参与人负荷)"
|
||||
},
|
||||
"ID": "2fc4fb1e599245bdb1e65648e14ad3bd"
|
||||
"ID": "1e53b7b9e8a04c129e342b45e3c47d54"
|
||||
}
|
||||
],
|
||||
"ID": "2a778196-c88a-4c80-a0e9-c928865f4c2e"
|
||||
"ID": "d352a4cd-8204-42d0-80f3-e831bf67125f"
|
||||
},
|
||||
{
|
||||
"Condition": {
|
||||
@@ -483,10 +703,10 @@
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "执行人负荷",
|
||||
"ParameterValue": "24",
|
||||
"ID": "d87617ab7b214ad481ebe98958a76552"
|
||||
"ID": "0f3ac37afb4749209bea30938a910663"
|
||||
}
|
||||
],
|
||||
"ID": "8335a6a7-bc0e-4811-ad71-1508ae57643f"
|
||||
"ID": "be05c5f0-f7c5-4d3f-aa3e-3d82e74bea92"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -497,7 +717,7 @@
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=IF(统计工时.总工时=\"\",0,统计工时.总工时)+计算本次分配工时"
|
||||
},
|
||||
"ID": "ee940c0f58de4d6480c109b32ec635a2"
|
||||
"ID": "98fea5cb661f497bb382b80dde04f07c"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||||
@@ -526,7 +746,7 @@
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=ROUNDUP(待分配工时-计算本次分配工时,1)"
|
||||
},
|
||||
"ID": "10b16e8c91154affa858f537a7595469"
|
||||
"ID": "b9eea0e94cf94ac488b37d8dcdf5edaa"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
||||
@@ -534,11 +754,22 @@
|
||||
"UpdateType": "add",
|
||||
"ShowConfirm": false,
|
||||
"UpdateBindingValues": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "成员ID",
|
||||
"GUID": "b6d5eb08-a115-4f80-9d9e-fa5b7423f967"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=成员ID"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "项目ID",
|
||||
"GUID": "48483244-a5f1-467f-9f33-213ccbf0765c"
|
||||
"GUID": "aed1cf5e-031c-4368-a844-878a85358b4e"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -549,7 +780,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "任务ID",
|
||||
"GUID": "a81043f5-58b2-4d28-ba59-2386b7b98e45"
|
||||
"GUID": "3aba7d32-b856-4517-9cf0-7b47a686cbe0"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -560,7 +791,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "工时日期",
|
||||
"GUID": "0ac58b66-e8c3-44ec-895a-2dd40d1438bb"
|
||||
"GUID": "08a8a09b-0eb6-448c-ade1-ff8fd2a81e20"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -571,7 +802,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "工时类型",
|
||||
"GUID": "0aebba8e-fef3-4471-a0b6-428a290ada8d"
|
||||
"GUID": "8bba0c26-5b4c-491a-8791-b278aca28a67"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -582,18 +813,18 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "执行人",
|
||||
"GUID": "489ed3df-150c-47ad-87c0-914630d2ca63"
|
||||
"GUID": "1e35b016-8e3f-46ee-92c9-71e0ee277d69"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=执行者"
|
||||
"SerializeProperty": "=任务成员.参与人"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "执行内容",
|
||||
"GUID": "806dfe71-8ceb-437d-ab2c-5b4d79adc391"
|
||||
"GUID": "d4f76905-219c-43b0-888f-2bfee023a802"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -604,7 +835,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "工时",
|
||||
"GUID": "599e9d1f-aa89-4865-8062-de9a823bb900"
|
||||
"GUID": "f9998452-573f-4e93-9444-76d1a69dc894"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -614,7 +845,7 @@
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "a819aec2-a9ec-45c1-ae74-432af31c0025"
|
||||
"ID": "6553c41b-585c-45e3-ae30-fde01272f2b1"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
@@ -627,7 +858,7 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
"ID": "eebdd38f-929c-484b-9027-8660567f77c3"
|
||||
"ID": "d73b9976-948d-4d5b-bba9-12310d0a4494"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -641,7 +872,7 @@
|
||||
"Message": "提交工时成功"
|
||||
}
|
||||
],
|
||||
"ID": "eb9e9b05-5af5-4929-9a34-fb3d4698f293"
|
||||
"ID": "5a018d8e-9938-45df-857d-2b9bdb6ffff5"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
@@ -654,7 +885,7 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
"ID": "9b060da7-032d-4f17-b3c9-6fc88a586731"
|
||||
"ID": "e858b937-99d5-4d7a-b2e8-1feb8a808a8d"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user