{"Message":"修改项目概况图表","MessageType":2,"Modules":[{"State":1,"Type":7,"Name":"Table/项目岗位"},{"State":1,"Type":7,"Name":"Table/项目表"},{"State":1,"Type":1,"Name":"PCPage/修改报工"},{"State":1,"Type":1,"Name":"PCPage/新增报工"},{"State":1,"Type":1,"Name":"PCPage/FGC_任务详情"},{"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":2,"Type":15,"Name":"ServerCommand/新增项目"},{"State":1,"Type":28,"Name":"ProcessItem/立项流程"},{"State":1,"Type":11,"Name":"UserService"},{"State":1,"Type":12,"Name":"CustomLibrary"},{"State":1,"Type":40,"Name":"Plugin"},{"State":1,"Type":1,"Name":"PCPage/任务成员详情"},{"State":1,"Type":1,"Name":"PCPage/项目成员详情"},{"State":3,"Type":15,"Name":"ServerCommand/新增或修改项目"}],"Version":"v1"}
This commit is contained in:
@@ -117,7 +117,7 @@
|
||||
"ColumnName": "任务时薪",
|
||||
"GUID": "93b2f1d8-fd53-468a-9211-87f51b6a5494"
|
||||
},
|
||||
"ColumnName": "任务默认时薪"
|
||||
"ColumnName": "任务成员时薪"
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
@@ -130,7 +130,7 @@
|
||||
"DisplayColumn": "默认时薪"
|
||||
}
|
||||
},
|
||||
"ColumnName": "岗位默认时薪"
|
||||
"ColumnName": "任务岗位时薪"
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
@@ -178,7 +178,70 @@
|
||||
"NullFormulaValueQueryPolicy": 0,
|
||||
"TopCount": "1"
|
||||
},
|
||||
"ID": "28feaa57524d4b629c887584e8943b68"
|
||||
"ID": "565209b7bd154c90b096249545dfa352"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "项目成员",
|
||||
"TableValue": {
|
||||
"TableName": "项目成员表",
|
||||
"TableValueType": 1,
|
||||
"BindingInfos": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目成员表",
|
||||
"ColumnName": "岗位ID",
|
||||
"GUID": "e72fecb8-c4b6-4ef0-a802-f18cb6d6ba24",
|
||||
"RelationBinding": {
|
||||
"RelatedTable": "项目岗位",
|
||||
"RelatedColumn": "ID",
|
||||
"DisplayColumn": "默认时薪"
|
||||
}
|
||||
},
|
||||
"ColumnName": "项目岗位时薪"
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目成员表",
|
||||
"ColumnName": "默认时薪",
|
||||
"GUID": "90991267-4d34-4537-8be3-0ef990118f3e"
|
||||
},
|
||||
"ColumnName": "项目成员时薪"
|
||||
}
|
||||
],
|
||||
"SqlCondition": {
|
||||
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
||||
"SubConditions": [
|
||||
{
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "项目成员表",
|
||||
"ColumnName": "项目ID",
|
||||
"GUID": "25c7933c-8b27-4163-ad03-a22d7efe88fb"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=任务信息.项目ID"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "项目成员表",
|
||||
"ColumnName": "项目成员",
|
||||
"GUID": "02b01205-9bbb-4e4f-8534-f52ea963c907"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=执行人"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"NullFormulaValueQueryPolicy": 0,
|
||||
"TopCount": "1"
|
||||
},
|
||||
"ID": "99e42cdcf1d74dc2aa15b8fadb9d87e5"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||||
@@ -288,19 +351,6 @@
|
||||
},
|
||||
"ColumnName": "项目预算费用"
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "任务表",
|
||||
"ColumnName": "项目ID",
|
||||
"GUID": "17b7e0ce-f6c5-4095-93e6-637aa62440a7",
|
||||
"RelationBinding": {
|
||||
"RelatedTable": "项目表",
|
||||
"RelatedColumn": "ID",
|
||||
"DisplayColumn": "工时核定方式"
|
||||
}
|
||||
},
|
||||
"ColumnName": "工时核定方式"
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "任务表",
|
||||
@@ -346,7 +396,7 @@
|
||||
"NullFormulaValueQueryPolicy": 0,
|
||||
"TopCount": "1"
|
||||
},
|
||||
"ID": "fd009643b2374e2fbc54775cf4ebe137"
|
||||
"ID": "a9121deede5e47809d0a7e3a37a1befc"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||||
@@ -365,16 +415,194 @@
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "计算时薪",
|
||||
"ParameterValue": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=IF(任务成员.任务默认时薪>0,任务成员.任务默认时薪,IF(任务成员.岗位默认时薪>0,任务成员.岗位默认时薪,IF(任务成员.参与人默认时薪>0,任务成员.参与人默认时薪,0)))"
|
||||
},
|
||||
"ID": "03fde63189d94667ae6d5c6a1979a5bb"
|
||||
"$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.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "计算时薪",
|
||||
"ParameterValue": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=任务成员.任务默认时薪"
|
||||
},
|
||||
"ID": "068f4611d05f4d0f8c97425c44bea1f0"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "时薪计算来源",
|
||||
"ParameterValue": "任务成员时薪",
|
||||
"ID": "59b966a6d5e042b79fba6d9e1f659758"
|
||||
}
|
||||
],
|
||||
"ID": "e82fc3fd-1f12-4671-a8db-c281d9a508d6"
|
||||
},
|
||||
{
|
||||
"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.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "计算时薪",
|
||||
"ParameterValue": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=任务成员.岗位默认时薪"
|
||||
},
|
||||
"ID": "c661840bf7dd4209b486efc6b9eebf59"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "时薪计算来源",
|
||||
"ParameterValue": "任务岗位时薪",
|
||||
"ID": "05df8d3ef9fa454b8ec03882ddda515f"
|
||||
}
|
||||
],
|
||||
"ID": "beacabcf-3bb9-4323-bbf4-a7fae4f5ba83"
|
||||
},
|
||||
{
|
||||
"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": "%Null%",
|
||||
"compareType": 1
|
||||
},
|
||||
{
|
||||
"$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.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "计算时薪",
|
||||
"ParameterValue": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目成员.项目成员时薪"
|
||||
},
|
||||
"ID": "3c9b1a387c9942f68be78e905f6efe7f"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "时薪计算来源",
|
||||
"ParameterValue": "项目成员时薪",
|
||||
"ID": "25ff3a82fd57430b94e16b296b77c513"
|
||||
}
|
||||
],
|
||||
"ID": "21f7227a-17fb-4cbb-a041-e28ee5e26b34"
|
||||
},
|
||||
{
|
||||
"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": "%Null%",
|
||||
"compareType": 1
|
||||
},
|
||||
{
|
||||
"$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.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "计算时薪",
|
||||
"ParameterValue": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目成员.项目岗位时薪"
|
||||
},
|
||||
"ID": "7851dbe270c34767aeeb95f619c1f52b"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "时薪计算来源",
|
||||
"ParameterValue": "项目岗位时薪",
|
||||
"ID": "22bb1104b90b4467b078e638f3f4aa51"
|
||||
}
|
||||
],
|
||||
"ID": "cfaf4dbf-85a9-4bd8-afbc-b133edf12a79"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "计算时薪",
|
||||
"ParameterValue": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=任务成员.参与人默认时薪"
|
||||
},
|
||||
"ID": "ca126f12d798410491c2eae2674f0ec6"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "时薪计算来源",
|
||||
"ParameterValue": "用户默认时薪",
|
||||
"ID": "fd64e93a07ae4ca2820422202ad6e7a4"
|
||||
}
|
||||
],
|
||||
"ID": "323a99c1-f431-4171-adf2-bd1011494ea2"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "1be0fa3d-4226-478b-9916-63423673dea2"
|
||||
"ID": "4a4bd5f5-6079-4b28-b3e2-95aaa77a2972"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
@@ -385,10 +613,16 @@
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=指定时薪单价"
|
||||
},
|
||||
"ID": "6fc649ddfae843caa1f555278ace195d"
|
||||
"ID": "f2849da5adc443fb92b3dbb9bb1779fb"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "时薪计算来源",
|
||||
"ParameterValue": "特殊指定",
|
||||
"ID": "a8b2f1ff8b9c4519b5e80575c9550bed"
|
||||
}
|
||||
],
|
||||
"ID": "ae194b64-06f0-4113-8c61-89b159094f8a"
|
||||
"ID": "d998a80f-60c4-4412-ae82-9a3353b0fe0e"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -433,6 +667,71 @@
|
||||
"value": "1"
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "项目统计信息",
|
||||
"TableValue": {
|
||||
"TableName": "View_项目统计信息",
|
||||
"TableValueType": 1,
|
||||
"BindingInfos": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "View_项目统计信息",
|
||||
"ColumnName": "工时核定方式",
|
||||
"GUID": "b31caaa2-8cbc-4f56-8e9e-0597c91d89da"
|
||||
},
|
||||
"ColumnName": "工时核定方式"
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "View_项目统计信息",
|
||||
"ColumnName": "项目预算费用",
|
||||
"GUID": "1f23c586-e318-41f8-9e2c-f9fc47949199"
|
||||
},
|
||||
"ColumnName": "项目预算费用"
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "View_项目统计信息",
|
||||
"ColumnName": "项目预算工时",
|
||||
"GUID": "45110ee2-aa57-4a49-bea6-a94586f164ba"
|
||||
},
|
||||
"ColumnName": "项目预算工时"
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "View_项目统计信息",
|
||||
"ColumnName": "总核定工时",
|
||||
"GUID": "a4773f83-2817-4be0-9e7d-4b5b3cd36ed5"
|
||||
},
|
||||
"ColumnName": "总核定工时"
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "View_项目统计信息",
|
||||
"ColumnName": "总成本",
|
||||
"GUID": "7c3a493f-d2ac-49b3-957f-7a772d5138bf"
|
||||
},
|
||||
"ColumnName": "总成本"
|
||||
}
|
||||
],
|
||||
"SqlCondition": {
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "View_项目统计信息",
|
||||
"ColumnName": "项目ID",
|
||||
"GUID": "0aa2d908-82fb-4233-a1e8-eb5a36cecaa2"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=任务信息.项目ID"
|
||||
}
|
||||
},
|
||||
"TopCount": "1"
|
||||
},
|
||||
"ID": "8f20e26c0c7f468f93fd1112fda69cb7",
|
||||
"Comments": "从视图统计项目的信息"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||||
"ConditionAndCommandPairList": [
|
||||
@@ -443,7 +742,7 @@
|
||||
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
||||
"ParamObject": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=工时类型"
|
||||
"SerializeProperty": "=项目统计信息.工时核定方式"
|
||||
}
|
||||
},
|
||||
"value": {
|
||||
@@ -452,63 +751,6 @@
|
||||
}
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "项目统计信息",
|
||||
"TableValue": {
|
||||
"TableName": "View_项目统计信息",
|
||||
"TableValueType": 1,
|
||||
"BindingInfos": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "View_项目统计信息",
|
||||
"ColumnName": "项目预算费用",
|
||||
"GUID": "1f23c586-e318-41f8-9e2c-f9fc47949199"
|
||||
},
|
||||
"ColumnName": "项目预算费用"
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "View_项目统计信息",
|
||||
"ColumnName": "总成本",
|
||||
"GUID": "7c3a493f-d2ac-49b3-957f-7a772d5138bf"
|
||||
},
|
||||
"ColumnName": "总成本"
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "View_项目统计信息",
|
||||
"ColumnName": "项目预算工时",
|
||||
"GUID": "45110ee2-aa57-4a49-bea6-a94586f164ba"
|
||||
},
|
||||
"ColumnName": "项目预算工时"
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "View_项目统计信息",
|
||||
"ColumnName": "总核定工时",
|
||||
"GUID": "a4773f83-2817-4be0-9e7d-4b5b3cd36ed5"
|
||||
},
|
||||
"ColumnName": "总核定工时"
|
||||
}
|
||||
],
|
||||
"SqlCondition": {
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "View_项目统计信息",
|
||||
"ColumnName": "项目ID",
|
||||
"GUID": "0aa2d908-82fb-4233-a1e8-eb5a36cecaa2"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=任务信息.项目ID"
|
||||
}
|
||||
},
|
||||
"TopCount": "1"
|
||||
},
|
||||
"ID": "9a972b19262c4b819a666d6c442c6d6b",
|
||||
"Comments": "从视图统计项目的信息"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||||
"ConditionAndCommandPairList": [
|
||||
@@ -534,12 +776,12 @@
|
||||
"ErrorCode": "400",
|
||||
"Message": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=\"计划工时总时长(\"&工时数&\"h)超过项目预算工时时长(\"&项目统计信息.项目预算工时&\"h),请修改后提交!\""
|
||||
"SerializeProperty": "=\"项目工时预算不足,请申请预算后提交!\""
|
||||
}
|
||||
}
|
||||
],
|
||||
"Comments": "如果加上本次提交的工时>预算的工时,则拦截",
|
||||
"ID": "18583b21-d2a0-428e-996a-3cfc62fd4887"
|
||||
"ID": "518a9271-6e46-4a9a-9b18-41f4bf2a7a31"
|
||||
},
|
||||
{
|
||||
"Condition": {
|
||||
@@ -561,11 +803,14 @@
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "400",
|
||||
"Message": "预算超过项目限制,请申请预算后再尝试提交!"
|
||||
"Message": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=\"项目费用预算不足,请申请预算后提交!\""
|
||||
}
|
||||
}
|
||||
],
|
||||
"Comments": "先算出本次提交产生的成本,如果>预算的费用,则拦截",
|
||||
"ID": "d4cd3b02-8a6f-41dc-bf86-9773da9f0fb4"
|
||||
"ID": "4109f03a-956f-422b-be68-13d8edf1f4c7"
|
||||
},
|
||||
{
|
||||
"Condition": {
|
||||
@@ -610,7 +855,7 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"ID": "9d97ee1dd7d0410b9602c3373d41759c"
|
||||
"ID": "f7ed048b6276441b8981d5758a1bf56a"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||||
@@ -639,25 +884,25 @@
|
||||
}
|
||||
],
|
||||
"Comments": "如果任务当前工时+本次报工工时大于预算,则拦截",
|
||||
"ID": "c3edd061-47b0-48f1-924e-f0b3a7250f6a"
|
||||
"ID": "18e16fe3-8d87-4306-900f-cf0b7ab17100"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"Comments": "如果上面两条项目都没超标,就检查是否设置了任务预算工时。",
|
||||
"ID": "b3bfc6b0-689a-45a4-99ca-7b07d8b03653"
|
||||
"ID": "7b3a035b-cbd4-4beb-ba34-3b0da0a8b25c"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"Comments": "如果提交的工时类型等于项目工时的核定方式",
|
||||
"ID": "5c34c921-a5f1-434e-a589-050799038608"
|
||||
"ID": "3e24d042-00d3-46e1-b07f-9134849cc28c"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"Comments": "严格模式下,需要校验工时和费用是否超标",
|
||||
"ID": "dae3bbb7-7b4e-48d3-8b08-fecf28a357c1"
|
||||
"ID": "6884a15a-1da6-4a79-9d98-42f406e6b48b"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -762,7 +1007,7 @@
|
||||
},
|
||||
"NullFormulaValueQueryPolicy": 0
|
||||
},
|
||||
"ID": "fbb132d33b854e1aaf0d772bc3a8dbef"
|
||||
"ID": "5bbe6bbbe41642e19df09b58c7b289c3"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||||
@@ -794,7 +1039,7 @@
|
||||
"ID": "44b51db4c6be470dbc468d4a9abfa061"
|
||||
}
|
||||
],
|
||||
"ID": "6bdf772f-22a4-4f5b-b055-9f6536541fd0"
|
||||
"ID": "3e265f58-f9c4-4380-a74c-a0a3ac089b8b"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
@@ -808,7 +1053,7 @@
|
||||
"ID": "de7c26c08e4e4086bfa6f4d8dbcaa4fe"
|
||||
}
|
||||
],
|
||||
"ID": "69e6f7b6-a80f-4d1e-907c-e6a189bd95f7"
|
||||
"ID": "69598862-13bb-447e-afaa-39457f3d44e3"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -838,7 +1083,7 @@
|
||||
"ID": "03f94c6a676740b799eddd0aafce2fe5"
|
||||
}
|
||||
],
|
||||
"ID": "cd001833-22d4-4525-bcf3-0692f8a4164f"
|
||||
"ID": "549f42fc-cbe4-422c-a493-02d7ce693210"
|
||||
},
|
||||
{
|
||||
"Condition": {
|
||||
@@ -860,7 +1105,7 @@
|
||||
"ID": "f998993f4e8f4778a448ca19dc771a2b"
|
||||
}
|
||||
],
|
||||
"ID": "2c656595-72a8-4019-b45a-26b2f75d103c"
|
||||
"ID": "baab28eb-8a70-4c8c-97c9-769d468934be"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -915,7 +1160,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "项目ID",
|
||||
"GUID": "48030a9d-d571-48e1-ba20-5a07fde2d76d"
|
||||
"GUID": "344588f5-2837-40af-ac17-16ba8d1d493a"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -926,7 +1171,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "任务ID",
|
||||
"GUID": "f560a7a1-56da-43f4-81ed-4fcbd46e74b0"
|
||||
"GUID": "b3e83a46-79ec-4561-ba4f-7943d9ee7e71"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -937,7 +1182,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "工时日期",
|
||||
"GUID": "f75337d0-3045-47db-b89f-91e723bb678b"
|
||||
"GUID": "5b5d6e91-43a2-44bf-85b9-ba2d2954465a"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -948,7 +1193,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "工时类型",
|
||||
"GUID": "5eaa88d9-791e-429d-b63a-a33127b143d6"
|
||||
"GUID": "e0186f85-f462-44d1-84dc-b78871d946b0"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -959,7 +1204,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "执行人",
|
||||
"GUID": "c0a03cd6-8949-45ab-b55a-112f8350a866"
|
||||
"GUID": "0eafacff-e048-48f3-b48f-0ca82a89d73d"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -970,7 +1215,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "执行内容",
|
||||
"GUID": "7a34035c-a6c0-4c86-9ee2-ffce0a7ecd21"
|
||||
"GUID": "6ca1d705-d57c-44f2-914b-eff4774fa49a"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -981,7 +1226,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "工时",
|
||||
"GUID": "26d2cda5-0221-4f00-bbf3-af07b8a1fa39"
|
||||
"GUID": "6dcb7e08-7e02-4c85-9264-453d97833ba6"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -992,7 +1237,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "时薪单价",
|
||||
"GUID": "59ceb364-5bae-44c0-8ad5-c6a86452cb45"
|
||||
"GUID": "f7409fd9-e56a-4767-bc33-06b0010d71cd"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -1003,12 +1248,23 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "提成系数",
|
||||
"GUID": "f8051ee9-3d0a-4ca2-930b-118a5f359c71"
|
||||
"GUID": "78395ee2-2002-4354-9309-d5aeab731ad0"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=任务信息.提成系数"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "任务工时表",
|
||||
"ColumnName": "时薪来源",
|
||||
"GUID": "99f983c0-c3bc-48c0-a98e-9754e62d5268"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=时薪计算来源"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -1053,7 +1309,7 @@
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "dfad8684-4662-48c9-a44b-d8c82d1ce252"
|
||||
"ID": "c13c63bd-75ed-4fd4-9e63-9c5b780a49e4"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
@@ -1066,7 +1322,7 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
"ID": "f238fec4-27aa-4f24-b2b6-3096a1e12d58"
|
||||
"ID": "421b11ec-1f58-4993-bfae-5fa734979761"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1080,7 +1336,7 @@
|
||||
"Message": "提交工时成功"
|
||||
}
|
||||
],
|
||||
"ID": "70d852be-8d93-43a3-a7b5-edcab6981caf"
|
||||
"ID": "93db7169-bcca-429d-aacf-3fa2b546ee52"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
@@ -1093,12 +1349,12 @@
|
||||
}
|
||||
}
|
||||
],
|
||||
"ID": "01558a83-dd2d-4cfe-90af-5bf8d94845be"
|
||||
"ID": "bee19115-020f-4c50-8e0b-4a87f2e00ef3"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "82029e6a-99c0-49a5-9646-0fc534133b8b"
|
||||
"ID": "6f0e4d07-319b-4f31-8384-aa5b2f618f5f"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
@@ -1108,7 +1364,7 @@
|
||||
"Message": "成员不在任务内,无法报工!"
|
||||
}
|
||||
],
|
||||
"ID": "58aede58-95c2-47ac-a465-d08f0a32da5c"
|
||||
"ID": "60999756-b879-4cc0-93c2-1658179e46f2"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
866
ServerCommands/项目/新增或修改项目.json
Normal file
866
ServerCommands/项目/新增或修改项目.json
Normal file
@@ -0,0 +1,866 @@
|
||||
{
|
||||
"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": {}
|
||||
},
|
||||
{
|
||||
"Name": "封面",
|
||||
"DataValidationInfo": {}
|
||||
},
|
||||
{
|
||||
"Name": "项目名称",
|
||||
"DataValidationInfo": {
|
||||
"IgnoreBlank": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "项目简介",
|
||||
"DataValidationInfo": {}
|
||||
},
|
||||
{
|
||||
"Name": "项目方案",
|
||||
"DataValidationInfo": {}
|
||||
},
|
||||
{
|
||||
"Name": "预算方案",
|
||||
"DataValidationInfo": {}
|
||||
},
|
||||
{
|
||||
"Name": "所属客户",
|
||||
"DataValidationInfo": {
|
||||
"IgnoreBlank": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "所属客户部门",
|
||||
"DataValidationInfo": {}
|
||||
},
|
||||
{
|
||||
"Name": "管理员",
|
||||
"DataValidationInfo": {
|
||||
"IgnoreBlank": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "工时核定方式",
|
||||
"DataValidationInfo": {
|
||||
"IgnoreBlank": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "权限",
|
||||
"DataValidationInfo": {}
|
||||
},
|
||||
{
|
||||
"Name": "分组",
|
||||
"DataValidationInfo": {}
|
||||
},
|
||||
{
|
||||
"Name": "预算工时",
|
||||
"DataValidationInfo": {}
|
||||
},
|
||||
{
|
||||
"Name": "预算金额",
|
||||
"DataValidationInfo": {}
|
||||
},
|
||||
{
|
||||
"Name": "严格模式",
|
||||
"DataValidationInfo": {}
|
||||
},
|
||||
{
|
||||
"Name": "开始日期",
|
||||
"DataValidationInfo": {}
|
||||
},
|
||||
{
|
||||
"Name": "结束日期",
|
||||
"DataValidationInfo": {}
|
||||
},
|
||||
{
|
||||
"Name": "网络资源",
|
||||
"DataValidationInfo": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"Commands": [
|
||||
{
|
||||
"$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon",
|
||||
"TryCommandPart": {
|
||||
"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": "=ID"
|
||||
}
|
||||
},
|
||||
"value": "%Null%"
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
||||
"TableName": "项目表",
|
||||
"UpdateType": "add",
|
||||
"ShowConfirm": false,
|
||||
"UpdateBindingValues": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "项目名称",
|
||||
"GUID": "d789054a-705a-48a4-8eb6-909c8245d8a2"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目名称"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "项目简介",
|
||||
"GUID": "304c8e44-8048-46e4-b2c1-8c11042d535d"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目简介"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "项目封面",
|
||||
"GUID": "a1b25d5f-6e92-4618-8bbc-91e616972a74"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=封面"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "项目经理",
|
||||
"GUID": "5ca1ef62-9af5-4455-9977-5f623bea1241"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=管理员"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "项目分组",
|
||||
"GUID": "3fbc301c-7a1c-4bde-b99b-1d8768a03ca6"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=分组"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "所属客户",
|
||||
"GUID": "b7bffd3a-ee4d-434b-a709-b48b3a8436c1"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=所属客户"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "所属客户部门",
|
||||
"GUID": "ee8ba706-1a9f-4822-a5ca-3805c1309893"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=所属客户部门"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "工时核定方式",
|
||||
"GUID": "9f70eec9-8a7f-43c4-b9fb-809711b6fb91"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=工时核定方式"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "项目预算工时",
|
||||
"GUID": "6a35b2f1-1d4f-4c62-9d4e-ee9ac4a263b5"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=预算工时"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "项目预算费用",
|
||||
"GUID": "c8d40ab7-529a-42d0-8e51-544ec00fa861"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=预算金额"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "公开",
|
||||
"GUID": "86d2976c-aa02-4f34-b8b5-87fab4176c2f"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=权限"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "严格模式",
|
||||
"GUID": "fdf59c78-310c-4dc8-bcf7-658e413f21ab"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=严格模式"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "项目方案",
|
||||
"GUID": "2ffc1113-d22f-431f-9575-aa26f842b24d"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目方案"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "预算方案",
|
||||
"GUID": "68a709b4-8855-4cab-94c0-1a53526a445d"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=预算方案"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "计划开始日期",
|
||||
"GUID": "cacd203d-aaa6-44bd-b326-156a3403919d"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=开始日期"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "计划完成日期",
|
||||
"GUID": "590db402-19fb-4c45-8b80-30e15e32cb57"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=结束日期"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "网络资源",
|
||||
"GUID": "41c9ff18-6fd7-4c5c-980e-e8d789132770"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=网络资源"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "项目状态",
|
||||
"GUID": "b2a367b5-d63b-4dd7-8074-c1ae6ba65314"
|
||||
},
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "删除",
|
||||
"GUID": "8b5ece8c-48c3-42e9-b041-0274e710d9db"
|
||||
},
|
||||
"Value": "0"
|
||||
}
|
||||
],
|
||||
"ParamNameToSaveNewRowValue": "新项目"
|
||||
},
|
||||
{
|
||||
"$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": "2aeae676-f1b4-4bfd-bfa9-12ec0f173380"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=新项目.ID"
|
||||
}
|
||||
},
|
||||
"Initiator": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=管理员"
|
||||
},
|
||||
"ReturnResultName": "发起流程结果"
|
||||
},
|
||||
{
|
||||
"$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": "%Null%",
|
||||
"compareType": 1
|
||||
},
|
||||
{
|
||||
"$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.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "0",
|
||||
"Message": "项目创建成功,请等待审批"
|
||||
}
|
||||
],
|
||||
"ID": "144671ba-cc32-438f-af46-e141f0c353c9"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "400",
|
||||
"Message": "项目已创建,但未能发起审批,请手动发起审批流程!"
|
||||
}
|
||||
],
|
||||
"ID": "4219b6b1-bf48-403d-a253-906f2fff5cec"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "78fb41d1-913a-47dc-a7ac-08b6379b6870"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "项目信息",
|
||||
"TableValue": {
|
||||
"TableName": "项目表",
|
||||
"TableValueType": 1,
|
||||
"BindingInfos": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "严格模式",
|
||||
"GUID": "b8486155-4f64-4dd8-b85c-16543680907f"
|
||||
},
|
||||
"ColumnName": "严格模式"
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "工时核定方式",
|
||||
"GUID": "394415d4-b1ba-4c8e-851a-0e427e1ec361"
|
||||
},
|
||||
"ColumnName": "工时核定方式"
|
||||
}
|
||||
],
|
||||
"SqlCondition": {
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "ID",
|
||||
"GUID": "2c0631c8-c61b-431a-bdf4-13f968834089"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=ID"
|
||||
}
|
||||
},
|
||||
"NullFormulaValueQueryPolicy": 0,
|
||||
"TopCount": "1"
|
||||
},
|
||||
"ID": "7d341adfdcbd425a8fea4594af49b2e9"
|
||||
},
|
||||
{
|
||||
"$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": "1"
|
||||
},
|
||||
{
|
||||
"$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": "=项目信息.工时核定方式"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "项目统计信息",
|
||||
"TableValue": {
|
||||
"TableName": "View_项目统计信息",
|
||||
"TableValueType": 1,
|
||||
"BindingInfos": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "View_项目统计信息",
|
||||
"ColumnName": "项目预算工时",
|
||||
"GUID": "020613fe-5e4a-47bc-82ee-e2ede6fb5737"
|
||||
},
|
||||
"ColumnName": "项目预算工时"
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "View_项目统计信息",
|
||||
"ColumnName": "项目预算费用",
|
||||
"GUID": "b5e66ce2-c04f-45e2-9ef8-cb6f1be2534d"
|
||||
},
|
||||
"ColumnName": "项目预算费用"
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "View_项目统计信息",
|
||||
"ColumnName": "总核定工时",
|
||||
"GUID": "712fd696-cb7a-4afe-ab22-c22061fd0c83"
|
||||
},
|
||||
"ColumnName": "总核定工时"
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "View_项目统计信息",
|
||||
"ColumnName": "总成本",
|
||||
"GUID": "82679dce-9071-486f-9eb5-9a36171e90a2"
|
||||
},
|
||||
"ColumnName": "总核定成本"
|
||||
}
|
||||
],
|
||||
"SqlCondition": {
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "View_项目统计信息",
|
||||
"ColumnName": "项目ID",
|
||||
"GUID": "ecc83868-39ca-446f-afde-d95c38fe55d5"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=ID"
|
||||
}
|
||||
},
|
||||
"TopCount": "1"
|
||||
},
|
||||
"ID": "c9d76c19accd4bdb9637342bd8efe42f"
|
||||
},
|
||||
{
|
||||
"$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": "计划"
|
||||
},
|
||||
{
|
||||
"$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": "0d133ce7-06f7-4678-8a0b-e708636d7f62"
|
||||
},
|
||||
{
|
||||
"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": "实际"
|
||||
},
|
||||
{
|
||||
"$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": "6915f6a5-544a-4494-a3a1-275f1e67256d"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"Comments": "如果是更新项目,且改变了工时核定方式、严格模式,那么就要校验。超标就不允许切换",
|
||||
"ID": "6c18ae88-cdb1-4b49-9d5c-a52fa713b0e8"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
||||
"TableName": "项目表",
|
||||
"ShowConfirm": false,
|
||||
"RowsToUpdate": 1,
|
||||
"RowsToUpdateCondition": {
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "ID",
|
||||
"GUID": "a8a27903-2609-49d7-8f9c-318870a24d2a"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=ID"
|
||||
}
|
||||
},
|
||||
"UpdateBindingValues": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "项目名称",
|
||||
"GUID": "d86f9206-3342-4ed2-b561-4b3cddb33579"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目名称"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "项目简介",
|
||||
"GUID": "c8c387b4-a86d-4e0c-bd4e-c0ffb03b8b7e"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目简介"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "项目封面",
|
||||
"GUID": "2ab448ad-6d8a-4215-af51-b3978fd23077"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=封面"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "项目经理",
|
||||
"GUID": "f6ed5ea6-d803-4991-bf54-08b29889a6c0"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=管理员"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "项目分组",
|
||||
"GUID": "5c70da10-1fe1-473f-9abb-9ea5c2b70498"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=分组"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "所属客户",
|
||||
"GUID": "03e20733-6451-4018-b51a-0107ce0a98b2"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=所属客户"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "所属客户部门",
|
||||
"GUID": "17c99024-ddeb-404e-aa45-a60acfc53fab"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=所属客户部门"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "工时核定方式",
|
||||
"GUID": "020b5096-5705-4b0b-9a6e-e7a59da2e25b"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=工时核定方式"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "公开",
|
||||
"GUID": "695bed47-145c-4876-802d-3e97df9e4a21"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=权限"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "严格模式",
|
||||
"GUID": "b6897f1f-e70c-4f8e-b733-5b927a3cb191"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=严格模式"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "计划开始日期",
|
||||
"GUID": "7baffe04-7c4a-4ce9-ab22-49c4e0a46211"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=开始日期"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "计划完成日期",
|
||||
"GUID": "d60ca66a-d1e8-4310-83e4-f0ea077cc89d"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=结束日期"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "项目方案",
|
||||
"GUID": "f44d7a80-bfb3-4f8f-8fb7-8c266a283cab"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目方案"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "预算方案",
|
||||
"GUID": "438bd730-d6b2-46fc-814c-f7cb51eedbaf"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=预算方案"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "网络资源",
|
||||
"GUID": "dea2f069-b6fa-4052-adff-5158cd68670a"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=网络资源"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "34654d41-a858-49cc-83f2-282414978f42"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"CatchCommandPart": {
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=ExceptionCode"
|
||||
},
|
||||
"Message": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=ExceptionMessage"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,447 +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": "封面",
|
||||
"DataValidationInfo": {}
|
||||
},
|
||||
{
|
||||
"Name": "项目名称",
|
||||
"DataValidationInfo": {
|
||||
"IgnoreBlank": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "项目简介",
|
||||
"DataValidationInfo": {}
|
||||
},
|
||||
{
|
||||
"Name": "项目方案",
|
||||
"DataValidationInfo": {}
|
||||
},
|
||||
{
|
||||
"Name": "预算方案",
|
||||
"DataValidationInfo": {}
|
||||
},
|
||||
{
|
||||
"Name": "所属客户",
|
||||
"DataValidationInfo": {
|
||||
"IgnoreBlank": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "所属客户部门",
|
||||
"DataValidationInfo": {}
|
||||
},
|
||||
{
|
||||
"Name": "管理员",
|
||||
"DataValidationInfo": {
|
||||
"IgnoreBlank": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "工时核定方式",
|
||||
"DataValidationInfo": {
|
||||
"IgnoreBlank": false
|
||||
}
|
||||
},
|
||||
{
|
||||
"Name": "权限",
|
||||
"DataValidationInfo": {}
|
||||
},
|
||||
{
|
||||
"Name": "分组",
|
||||
"DataValidationInfo": {}
|
||||
},
|
||||
{
|
||||
"Name": "预算工时",
|
||||
"DataValidationInfo": {}
|
||||
},
|
||||
{
|
||||
"Name": "预算金额",
|
||||
"DataValidationInfo": {}
|
||||
},
|
||||
{
|
||||
"Name": "严格模式",
|
||||
"DataValidationInfo": {}
|
||||
},
|
||||
{
|
||||
"Name": "开始日期",
|
||||
"DataValidationInfo": {}
|
||||
},
|
||||
{
|
||||
"Name": "结束日期",
|
||||
"DataValidationInfo": {}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"Commands": [
|
||||
{
|
||||
"$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon",
|
||||
"TryCommandPart": {
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
||||
"TableName": "项目表",
|
||||
"UpdateType": "add",
|
||||
"ShowConfirm": false,
|
||||
"UpdateBindingValues": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "项目名称",
|
||||
"GUID": "7d44e7fb-2f57-4398-9913-47c13ba3ede5"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目名称"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "项目简介",
|
||||
"GUID": "c0dbc623-caa8-48a9-853e-293b121d02ba"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目简介"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "项目封面",
|
||||
"GUID": "c4986896-874c-4390-b1d9-1fd3c4d5aa4f"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=封面"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "项目经理",
|
||||
"GUID": "a27309e7-9b4f-4a4e-b40f-e486f13cd648"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=管理员"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "项目分组",
|
||||
"GUID": "c6663b7e-52d8-4ef1-94de-eeb8b4b01a62"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=分组"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "所属客户",
|
||||
"GUID": "d411c883-4d33-4c77-84ad-1166308cdd2a"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=所属客户"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "所属客户部门",
|
||||
"GUID": "35d5b962-ac5e-4436-bf26-c1f7b3be283b"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=所属客户部门"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "工时核定方式",
|
||||
"GUID": "c103543f-0857-4ce1-847e-e430e5c30a26"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=工时核定方式"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "项目预算工时",
|
||||
"GUID": "27fe208a-5383-4b1a-bb93-975731a1439b"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=预算工时"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "项目预算费用",
|
||||
"GUID": "eba047f9-6322-4098-a2bf-4ea0241b40f9"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=预算金额"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "公开",
|
||||
"GUID": "e47f39ff-3c43-4eab-86c8-06e7357398b7"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=权限"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "严格模式",
|
||||
"GUID": "a7ec3bb1-3012-42b3-a783-7cbb6126189d"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=严格模式"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "项目方案",
|
||||
"GUID": "008ecc95-dd41-4f4b-8467-a2bf4d528c1d"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目方案"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "预算方案",
|
||||
"GUID": "ac909c75-9860-4acb-a13d-f51ff4a1c194"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=预算方案"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "计划开始日期",
|
||||
"GUID": "6b917f28-f2ad-4cd0-9279-559d645a68a1"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=开始日期"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "计划完成日期",
|
||||
"GUID": "536387b2-3798-4f9a-b908-81be340772cc"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=结束日期"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "计划工期",
|
||||
"GUID": "bab97b96-79f6-4933-8512-f1e81f7871eb"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=DATEDIF(开始日期,结束日期,\"d\")"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "项目状态",
|
||||
"GUID": "883a98a1-c130-45fe-ba21-41e4b89720b6"
|
||||
},
|
||||
"Value": "0"
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "删除",
|
||||
"GUID": "08d83ec3-6999-4c9e-bb0f-b4d27faa6567"
|
||||
},
|
||||
"Value": "0"
|
||||
}
|
||||
],
|
||||
"ParamNameToSaveNewRowValue": "新项目"
|
||||
},
|
||||
{
|
||||
"$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": "2aeae676-f1b4-4bfd-bfa9-12ec0f173380"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=新项目.ID"
|
||||
}
|
||||
},
|
||||
"Initiator": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=管理员"
|
||||
},
|
||||
"ReturnResultName": "发起流程结果"
|
||||
},
|
||||
{
|
||||
"$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": "%Null%",
|
||||
"compareType": 1
|
||||
},
|
||||
{
|
||||
"$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.UpdateDataTableCommand, ServerDesignerCommon",
|
||||
"TableName": "项目表",
|
||||
"ShowConfirm": false,
|
||||
"RowsToUpdate": 1,
|
||||
"RowsToUpdateCondition": {
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "ID",
|
||||
"GUID": "d7f9fab2-4b0f-482a-ac2e-73d7385293bc"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=新项目.ID"
|
||||
}
|
||||
},
|
||||
"UpdateBindingValues": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目表",
|
||||
"ColumnName": "立项流程示例ID",
|
||||
"GUID": "8d753fcc-7af7-4cf2-9e4b-d33e6a7acb60"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=发起流程结果.ID"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "0",
|
||||
"Message": "项目创建成功,请等待审批"
|
||||
}
|
||||
],
|
||||
"ID": "c3a57801-8218-4fea-96ee-d5d1a4ba03dd"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "400",
|
||||
"Message": "项目已创建,但未能发起审批,请手动发起审批流程!"
|
||||
}
|
||||
],
|
||||
"ID": "ca82d067-c2e4-494f-bda6-6a258d2fa2df"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"CatchCommandPart": {
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=ExceptionCode"
|
||||
},
|
||||
"Message": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=ExceptionMessage"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user