{"Message":"1. 增加项目、任务平行视图,解决子表成员的权限问题;\r\n2. 重新整理页面绑定,取消原表的统计字段;\r\n3. 优化任务、项目的人员管理;","MessageType":2,"Modules":[{"State":1,"Type":7,"Name":"Table/项目任务分组"},{"State":1,"Type":7,"Name":"Table/任务成员表"},{"State":1,"Type":7,"Name":"Table/任务表"},{"State":1,"Type":7,"Name":"Table/任务进展"},{"State":1,"Type":7,"Name":"Table/任务评论表"},{"State":1,"Type":23,"Name":"TableView/View_任务工时统计"},{"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/项目岗位详情"},{"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":1,"Name":"PCPage/工时详情"},{"State":1,"Type":1,"Name":"PCPage/新增任务"},{"State":4,"Type":1,"Name":"PCPage/参与成员管理"},{"State":2,"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":2,"Type":15,"Name":"ServerCommand/更新任务参与人"},{"State":2,"Type":15,"Name":"ServerCommand/同步任务参与人字段"},{"State":1,"Type":15,"Name":"ServerCommand/上报实际工时"},{"State":1,"Type":15,"Name":"ServerCommand/分配任务工时"},{"State":1,"Type":15,"Name":"ServerCommand/移除项目成员"},{"State":2,"Type":15,"Name":"ServerCommand/同步项目成员"},{"State":1,"Type":27,"Name":"ServerCommandPrivate/后端新增项目反馈"},{"State":1,"Type":36,"Name":"ShareCommandContainer/打开任务详情"},{"State":1,"Type":9,"Name":"Theme"},{"State":1,"Type":40,"Name":"Plugin"},{"State":1,"Type":15,"Name":"ServerCommand/计算报工数据"},{"State":2,"Type":15,"Name":"ServerCommand/上报实际工时(备份)"},{"State":1,"Type":7,"Name":"Table/汇报状态"},{"State":1,"Type":7,"Name":"Table/EmojiTable"},{"State":1,"Type":15,"Name":"ServerCommand/任务发起流程前校验"},{"State":1,"Type":28,"Name":"ProcessItem/新增任务流程"},{"State":1,"Type":15,"Name":"ServerCommand/发起任务流程"},{"State":3,"Type":23,"Name":"TableView/项目平行视图"},{"State":3,"Type":6,"Name":"Pages/任务/任务成员"},{"State":3,"Type":23,"Name":"TableView/任务成员视图"},{"State":3,"Type":23,"Name":"TableView/任务平行视图"},{"State":3,"Type":6,"Name":"Pages/任务/任务类型管理"}],"Version":"v1"}
This commit is contained in:
@@ -1,341 +0,0 @@
|
||||
{
|
||||
"Name": "同步项目成员",
|
||||
"Description": "用户将任务成员反向同步到项目成员内",
|
||||
"Enabled": true,
|
||||
"Triggers": [
|
||||
{
|
||||
"$type": "Forguncy.SaveLoad.PostRequestTriggerSaveData, ServerDesignerCommon",
|
||||
"Permission": {
|
||||
"PermissionData": {
|
||||
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionData, Forguncy.RbacPermission.Core",
|
||||
"permissionResource": {
|
||||
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionResource, Forguncy.RbacPermission.Core"
|
||||
},
|
||||
"permissionBindings": [
|
||||
{
|
||||
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionBinding, Forguncy.RbacPermission.Core",
|
||||
"roleNames": [
|
||||
"FGC_LoginUser"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"Parameters": [
|
||||
{
|
||||
"Name": "项目ID",
|
||||
"DataValidationInfo": {
|
||||
"IgnoreBlank": false
|
||||
},
|
||||
"TestData": "1"
|
||||
}
|
||||
],
|
||||
"InvokeTriggerTestData": {
|
||||
"UserName": "Administrator"
|
||||
}
|
||||
}
|
||||
],
|
||||
"Commands": [
|
||||
{
|
||||
"$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon",
|
||||
"TryCommandPart": {
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ServerTransactionCommand, ServerDesignerCommon",
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "任务成员列表",
|
||||
"TableValue": {
|
||||
"TableName": "任务成员表",
|
||||
"BindingInfos": [
|
||||
{
|
||||
"GUID": "8cf1f697-62bd-4cb2-9e05-31d131806a6c",
|
||||
"BindingInfo": {
|
||||
"TableName": "任务成员表",
|
||||
"ColumnName": "ID",
|
||||
"GUID": "7035b112-fe6a-427f-9078-c93b3323d262"
|
||||
},
|
||||
"ColumnName": "ID"
|
||||
},
|
||||
{
|
||||
"GUID": "554bd2de-cee0-4c26-828a-a058c5460a4e",
|
||||
"BindingInfo": {
|
||||
"TableName": "任务成员表",
|
||||
"ColumnName": "项目成员ID",
|
||||
"GUID": "ac4f4665-cf34-47b6-aae3-7b0e3e4e5879"
|
||||
},
|
||||
"ColumnName": "项目成员ID"
|
||||
},
|
||||
{
|
||||
"GUID": "1caa4317-67d1-4b5d-b945-1e22af54809f",
|
||||
"BindingInfo": {
|
||||
"TableName": "任务成员表",
|
||||
"ColumnName": "参与人",
|
||||
"GUID": "46de6571-6826-4235-976f-a5064c56a1d7"
|
||||
},
|
||||
"ColumnName": "参与人"
|
||||
},
|
||||
{
|
||||
"GUID": "a9835b56-e9e6-426d-bacd-2936c67cac9f",
|
||||
"BindingInfo": {
|
||||
"TableName": "任务成员表",
|
||||
"ColumnName": "参与人",
|
||||
"GUID": "aea84cec-afdf-4efc-a45c-81c5b2771f3e",
|
||||
"AttachType": {
|
||||
"$type": "ForguncyDataAccess.UserColumnAttachObj, ForguncyDataAccess",
|
||||
"UserColumnAttachType": 5,
|
||||
"AttachTypeTag": "默认时薪"
|
||||
}
|
||||
},
|
||||
"ColumnName": "参与人_默认时薪"
|
||||
}
|
||||
],
|
||||
"SqlCondition": {
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "任务成员表",
|
||||
"ColumnName": "任务ID",
|
||||
"GUID": "2cc2c0aa-d496-4ba1-9489-9340529dba7f",
|
||||
"RelationBinding": {
|
||||
"RelatedTable": "任务表",
|
||||
"RelatedColumn": "ID",
|
||||
"DisplayColumn": "项目ID"
|
||||
}
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目ID"
|
||||
}
|
||||
}
|
||||
},
|
||||
"ID": "37b2711a67d04780bee0b2288c369e0b"
|
||||
},
|
||||
{
|
||||
"$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": "项目成员",
|
||||
"TableValue": {
|
||||
"TableName": "项目成员表",
|
||||
"TableValueType": 1,
|
||||
"BindingInfos": [
|
||||
{
|
||||
"GUID": "97fc40b8-3a90-43dc-a474-809f57dc27d0",
|
||||
"BindingInfo": {
|
||||
"TableName": "项目成员表",
|
||||
"ColumnName": "ID",
|
||||
"GUID": "e2af07f5-6c83-46e4-b1ca-5fd4b03bdd74"
|
||||
},
|
||||
"ColumnName": "ID"
|
||||
}
|
||||
],
|
||||
"SqlCondition": {
|
||||
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
||||
"SubConditions": [
|
||||
{
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "项目成员表",
|
||||
"ColumnName": "项目ID",
|
||||
"GUID": "7d33c794-4447-4038-84d0-215ede69a00c"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目ID"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "项目成员表",
|
||||
"ColumnName": "项目成员",
|
||||
"GUID": "958cdb07-86e0-45cc-90f5-f10ddc68fc3f"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=Item.参与人"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"NullFormulaValueQueryPolicy": 0,
|
||||
"TopCount": "1"
|
||||
},
|
||||
"ID": "2ef5575e15a14e598c26b0848f1e49c1"
|
||||
},
|
||||
{
|
||||
"$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.UpdateDataTableCommand, ServerDesignerCommon",
|
||||
"TableName": "项目成员表",
|
||||
"UpdateType": "add",
|
||||
"ShowConfirm": false,
|
||||
"UpdateBindingValues": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目成员表",
|
||||
"ColumnName": "项目ID",
|
||||
"GUID": "4057268f-395b-401d-9689-3f90d1a2084d"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目ID"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目成员表",
|
||||
"ColumnName": "项目成员",
|
||||
"GUID": "75fdfeda-ad50-471d-8f74-2cd5d178cef4"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=Item.参与人"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "项目成员表",
|
||||
"ColumnName": "默认时薪",
|
||||
"GUID": "2b8394e9-3685-4fdd-8470-28350509ac88"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=Item.参与人_默认时薪"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "0902e76f-a01d-4e67-8b67-5f2f62842c28"
|
||||
},
|
||||
{
|
||||
"Condition": {
|
||||
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
||||
"param": {
|
||||
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
||||
"ParamObject": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=Item.项目成员ID"
|
||||
}
|
||||
},
|
||||
"value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目成员.ID"
|
||||
},
|
||||
"compareType": 1
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
||||
"TableName": "任务成员表",
|
||||
"ShowConfirm": false,
|
||||
"RowsToUpdate": 1,
|
||||
"RowsToUpdateCondition": {
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "任务成员表",
|
||||
"ColumnName": "ID",
|
||||
"GUID": "d3e9f378-06c0-475d-9858-23dba71785bd"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=Item.ID"
|
||||
}
|
||||
},
|
||||
"UpdateBindingValues": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "任务成员表",
|
||||
"ColumnName": "项目成员ID",
|
||||
"GUID": "a5b6bfb0-f127-441d-a1f4-e321396a0025"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目成员.ID"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "d5281e72-a15c-41b4-b473-1c474a9e8a48"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"Comments": "查找任务成员表里的成员"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
|
||||
"ServerCommandName": "同步项目参与人列表",
|
||||
"Parameters": [
|
||||
{
|
||||
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
|
||||
"ParamName": "项目ID",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目ID"
|
||||
}
|
||||
}
|
||||
],
|
||||
"ResultErrorCodeTo": {
|
||||
"SerializeProperty": "code"
|
||||
},
|
||||
"ResultMessageTo": {
|
||||
"SerializeProperty": "msg"
|
||||
},
|
||||
"RefreshAfterFinish": true,
|
||||
"CheckDataValidation": true
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "0",
|
||||
"Message": "同步完成"
|
||||
}
|
||||
]
|
||||
},
|
||||
"CatchCommandPart": {
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=ExceptionCode"
|
||||
},
|
||||
"Message": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=ExceptionMessage"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -39,7 +39,7 @@
|
||||
"TableValueType": 1,
|
||||
"BindingInfos": [
|
||||
{
|
||||
"GUID": "a8f998b2-d3c7-4224-9196-3a9dbc555e4d",
|
||||
"GUID": "247e271e-061b-47d1-b6dd-6e9da8ff5ff3",
|
||||
"BindingInfo": {
|
||||
"TableName": "项目成员表",
|
||||
"ColumnName": "项目成员",
|
||||
@@ -48,7 +48,7 @@
|
||||
"ColumnName": "项目成员"
|
||||
},
|
||||
{
|
||||
"GUID": "b6ea5aa7-de25-4c1b-862c-8e5346ab2a91",
|
||||
"GUID": "fd5fd0a6-3e64-49ef-94de-6a0d771ebeb8",
|
||||
"BindingInfo": {
|
||||
"TableName": "项目成员表",
|
||||
"ColumnName": "项目成员",
|
||||
@@ -61,7 +61,7 @@
|
||||
"ColumnName": "项目成员_全名"
|
||||
},
|
||||
{
|
||||
"GUID": "1a6587ac-cd40-47d8-a007-56bc639e3d78",
|
||||
"GUID": "79fcaf5b-8b32-47c7-9686-fb023b96fd05",
|
||||
"BindingInfo": {
|
||||
"TableName": "项目成员表",
|
||||
"ColumnName": "项目ID",
|
||||
@@ -84,7 +84,7 @@
|
||||
},
|
||||
"NullFormulaValueQueryPolicy": 0
|
||||
},
|
||||
"ID": "9f0b430c1d9c4a83b2b1ca8a694335a0"
|
||||
"ID": "1c7009fbd8ba435fab203224f9bc5c7d"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||||
@@ -105,54 +105,85 @@
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "是否参与任务",
|
||||
"ParameterName": "成员任务",
|
||||
"TableValue": {
|
||||
"TableName": "任务成员表",
|
||||
"TableName": "任务成员视图",
|
||||
"TableValueType": 1,
|
||||
"BindingInfos": [
|
||||
{
|
||||
"GUID": "8b01fba1-2393-41c6-972a-9b5958950b91",
|
||||
"GUID": "9490cc5b-8dc8-4fe7-9802-0d1a9c0c89a6",
|
||||
"BindingInfo": {
|
||||
"TableName": "任务成员表",
|
||||
"ColumnName": "任务ID",
|
||||
"GUID": "49609b4d-8df4-4508-a9b8-8072e328756f",
|
||||
"RelationBinding": {
|
||||
"RelatedTable": "任务表",
|
||||
"RelatedColumn": "ID",
|
||||
"DisplayColumn": "任务名称"
|
||||
}
|
||||
"TableName": "任务成员视图",
|
||||
"ColumnName": "总上报工时",
|
||||
"GUID": "e492dc46-1c5e-406f-84dc-1e0f636859bb"
|
||||
},
|
||||
"ColumnName": "任务名称"
|
||||
"ColumnName": "总上报工时"
|
||||
}
|
||||
],
|
||||
"SqlCondition": {
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "任务成员表",
|
||||
"ColumnName": "项目成员ID",
|
||||
"GUID": "c06a2faf-aba9-41bf-bfa1-09d5af3c82eb"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=成员ID"
|
||||
}
|
||||
}
|
||||
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
||||
"SubConditions": [
|
||||
{
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "任务成员视图",
|
||||
"ColumnName": "项目ID",
|
||||
"GUID": "8709dbb7-5dab-4cb9-a842-bf1cd252d5a6"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目成员.项目ID"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "任务成员视图",
|
||||
"ColumnName": "任务成员",
|
||||
"GUID": "2b25e0ed-ceb3-44ac-82d0-a9bdf5720fff"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目成员.项目成员"
|
||||
}
|
||||
}
|
||||
]
|
||||
},
|
||||
"NullFormulaValueQueryPolicy": 0
|
||||
},
|
||||
"ID": "034d791dc35841da884c5517d12c66ae"
|
||||
"ID": "23aefce08fda446c80c821b2df4f62c9"
|
||||
},
|
||||
{
|
||||
"$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": "=是否参与任务.Count"
|
||||
"$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%"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
||||
"param": {
|
||||
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
||||
"ParamObject": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=成员任务.总上报工时"
|
||||
}
|
||||
},
|
||||
"value": "0"
|
||||
}
|
||||
},
|
||||
"value": "0"
|
||||
],
|
||||
"RelationType": 1
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
@@ -181,30 +212,39 @@
|
||||
{
|
||||
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
||||
"TableName": "任务成员表",
|
||||
"ShowConfirm": false,
|
||||
"UpdateType": "delete",
|
||||
"ShowConfirm": true,
|
||||
"ConfirmText": "您确定要删除吗?",
|
||||
"RowsToUpdate": 1,
|
||||
"RowsToUpdateCondition": {
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "任务成员表",
|
||||
"ColumnName": "项目成员ID",
|
||||
"GUID": "79351972-a943-4838-82e6-66a242a90804"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=成员ID"
|
||||
}
|
||||
},
|
||||
"UpdateBindingValues": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "任务成员表",
|
||||
"ColumnName": "项目成员ID",
|
||||
"GUID": "309b81d4-42e8-4f8f-b58b-f796769f37e6"
|
||||
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
||||
"SubConditions": [
|
||||
{
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "任务成员表",
|
||||
"ColumnName": "项目ID",
|
||||
"GUID": "dee3233c-f7b6-48ba-84ad-66df36d63449"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目成员.项目ID"
|
||||
}
|
||||
},
|
||||
"Value": "%Null%"
|
||||
}
|
||||
]
|
||||
{
|
||||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||||
"ColumnBindingInfo": {
|
||||
"TableName": "任务成员表",
|
||||
"ColumnName": "任务成员",
|
||||
"GUID": "fcd533b6-fdd1-4370-a4fc-00f65903f7eb"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目成员.项目成员"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
||||
@@ -216,7 +256,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "项目动态",
|
||||
"ColumnName": "项目ID",
|
||||
"GUID": "73e1b918-1054-463d-a15d-a43deffeb88c"
|
||||
"GUID": "8558df91-10fd-4a93-96d5-140bdcb9b94e"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -227,7 +267,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "项目动态",
|
||||
"ColumnName": "项目动态",
|
||||
"GUID": "ba8b71a5-e9ba-4aa1-a159-3b4dc1a93578"
|
||||
"GUID": "881ff248-0358-43cb-bb26-a13df51fbc88"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
@@ -238,7 +278,7 @@
|
||||
"BindingInfo": {
|
||||
"TableName": "项目动态",
|
||||
"ColumnName": "执行人",
|
||||
"GUID": "9a6d6bb4-0157-4622-b00b-5fa507cc874b"
|
||||
"GUID": "4843a34a-9a5c-49d1-8fb3-5f0bf5270ba8"
|
||||
},
|
||||
"Value": "%CurrentUser%"
|
||||
}
|
||||
@@ -246,58 +286,28 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
|
||||
"ServerCommandName": "同步项目参与人列表",
|
||||
"Parameters": [
|
||||
{
|
||||
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
|
||||
"ParamName": "项目ID",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目成员.项目ID"
|
||||
}
|
||||
}
|
||||
],
|
||||
"RefreshAfterFinish": true,
|
||||
"CheckDataValidation": true
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "0",
|
||||
"Message": "删除成功"
|
||||
}
|
||||
],
|
||||
"ID": "9810f851-b1b5-4c78-bafe-27134840900e"
|
||||
"ID": "7b60477e-b684-479d-961e-debcedacdb47"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
|
||||
"InParamater": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=是否参与任务"
|
||||
},
|
||||
"Operation": 16,
|
||||
"OperationParamaterAName": ",",
|
||||
"OperationParamaterBName": "任务名称",
|
||||
"OutParamaterName": "任务名称拼接"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "400",
|
||||
"Message": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=\"存在已参与任务,无法删除!</br>任务:\"&任务名称拼接"
|
||||
}
|
||||
"Message": "该成员已存在报工,无法删除"
|
||||
}
|
||||
],
|
||||
"ID": "4001df20-5a9a-47f3-88c8-2a0e549b58ad"
|
||||
"ID": "69290026-9213-418f-a28c-1d2c2ad00df7"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "9d140248-4d94-442b-9d4d-4672c09ef848"
|
||||
"ID": "e0e1b4c0-ee82-4f4f-b8df-929d9697212e"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
@@ -307,7 +317,7 @@
|
||||
"Message": "项目成员不存在"
|
||||
}
|
||||
],
|
||||
"ID": "efb5077a-f8fb-4e1f-9f2d-8364be7b96dd"
|
||||
"ID": "5428df69-13e0-4908-a46a-40199845194c"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user