From 296d0db7380a56df99f3fb38a1fcf3408c3f7510 Mon Sep 17 00:00:00 2001 From: cuckooent Date: Tue, 1 Jul 2025 11:15:35 +0800 Subject: [PATCH] =?UTF-8?q?{"Message":"1","MessageType":2,"Modules":[{"Sta?= =?UTF-8?q?te":1,"Type":1,"Name":"PCPage/=E4=BB=BB=E5=8A=A1-=E5=B7=A5?= =?UTF-8?q?=E6=97=B6"},{"State":3,"Type":15,"Name":"ServerCommand/?= =?UTF-8?q?=E9=87=8D=E7=AE=97=E6=8C=87=E5=AE=9A=E6=8A=A5=E5=B7=A5=E6=94=B6?= =?UTF-8?q?=E7=9B=8A"},{"State":3,"Type":1,"Name":"PCPage/=E5=B7=A5?= =?UTF-8?q?=E6=97=B6=E5=BC=B9=E5=87=BA=E8=8F=9C=E5=8D=95"}],"Version":"v1"?= =?UTF-8?q?}?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .collaboration | 26 +- Pages/94f8bae36aee4ae7aec2a063ca731b1.json | 247 ++++++- Pages/共用/工时弹出菜单.json | 211 ++++++ Pages/共用/工时弹出菜单.rd | 5 + .../项目首页-容器页面/任务容器页面/任务-工时.json | 44 +- ServerCommands/工时/重算指定报工收益.json | 618 ++++++++++++++++++ 6 files changed, 1098 insertions(+), 53 deletions(-) create mode 100644 Pages/共用/工时弹出菜单.json create mode 100644 Pages/共用/工时弹出菜单.rd create mode 100644 ServerCommands/工时/重算指定报工收益.json diff --git a/.collaboration b/.collaboration index dda9c775..94b5340a 100644 --- a/.collaboration +++ b/.collaboration @@ -758,19 +758,7 @@ }, { "ModuleName": "PCPage/任务-工时", - "State": 1, - "LockedBy": { - "UserName": "cuckooent", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2025-07-01T11:14:11.3754563+08:00", - "ModuleType": 1, - "ToRemoveFiles": [ - "Pages\\项目\\项目首页\\项目首页-容器页面\\任务容器页面\\任务-工时.json", - "Pages\\项目\\项目首页\\项目首页-容器页面\\任务容器页面\\任务-工时.rd", - "Pages\\94f8bae36aee4ae7aec2a063ca731b1.json", - "Pages\\94f8bae36aee4ae7aec2a063ca731b1.rd" - ] + "ModuleType": 1 }, { "ModuleName": "Pages/项目/项目首页/项目首页-容器页面/项目发布", @@ -2738,22 +2726,10 @@ }, { "ModuleName": "ServerCommand/重算指定报工收益", - "State": 3, - "LockedBy": { - "UserName": "cuckooent", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2025-07-01T10:59:59.6572453+08:00", "ModuleType": 15 }, { "ModuleName": "PCPage/工时弹出菜单", - "State": 3, - "LockedBy": { - "UserName": "cuckooent", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2025-07-01T11:13:04.6677846+08:00", "ModuleType": 1 } ] \ No newline at end of file diff --git a/Pages/94f8bae36aee4ae7aec2a063ca731b1.json b/Pages/94f8bae36aee4ae7aec2a063ca731b1.json index bfcdc54e..286ecbea 100644 --- a/Pages/94f8bae36aee4ae7aec2a063ca731b1.json +++ b/Pages/94f8bae36aee4ae7aec2a063ca731b1.json @@ -142,7 +142,7 @@ "BreakpointIdentity": "76cf85a7-0bd6-46d7-9ce1-9056d3b41cdd" } ], - "ID": "952ecdcf-51d3-46e5-b884-83ba1d2d566e" + "ID": "d1faa036-922f-486f-8e11-b2c7515338b7" }, { "CommandList": [ @@ -197,7 +197,7 @@ "BreakpointIdentity": "279c891f-505a-4e47-9834-f5c7f55f6bca" } ], - "ID": "2cfceed9-0986-457b-a0d3-3a91f74328ec" + "ID": "96d0e014-c153-49ed-b770-17ad7984eebd" }, { "CommandList": [ @@ -212,19 +212,19 @@ "BreakpointIdentity": "a438653b-0d00-4ea5-82ad-1fe365eeb889" } ], - "ID": "906d0dd4-b3a8-4895-ae42-ae099ff55d8f" + "ID": "6c187815-bb67-49d8-ad59-bb8f86c80b3e" } ], "BreakpointIdentity": "384d57bb-22a0-4bca-9571-464f75c35fd1" } ], - "ID": "656832e4-5482-48dc-bc01-d5f99fa1bcb6" + "ID": "03577d99-2be8-459b-886b-723beef126b3" } ], "BreakpointIdentity": "db9dace3-d983-43c9-b0fb-5b122de1b7b1" } ], - "ID": "4eab16ca-7344-4d52-8984-eabd3816531d" + "ID": "261a2af9-3498-4958-9b8e-c5eff976cf12" } ], "BreakpointIdentity": "d83fc4a3-8e3e-4206-82be-d50f1be8fc4a" @@ -237,7 +237,242 @@ }, "PageName": "编辑删除页面", "LoadBindingDataOption": 2, + "Disabled": true, "BreakpointIdentity": "00e071bf-6d56-4b7f-8ca2-99a542d3088d" + }, + { + "$type": "Forguncy.Model.ShowPopupCommand, ServerDesignerCommon", + "PopupDisplayMode": 1, + "Placement": { + "SerializeProperty": "='94f8bae36aee4ae7aec2a063ca731b1'!E2" + }, + "ClosePopupCallbackCommand": { + "Commands": [ + { + "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", + "ConditionAndCommandPairList": [ + { + "Condition": { + "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", + "param": { + "$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon", + "cellLocations": [ + { + "SerializeProperty": "=是否为确定" + } + ] + }, + "value": "1" + }, + "CommandList": [ + { + "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", + "ConditionAndCommandPairList": [ + { + "Condition": { + "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", + "param": { + "$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon", + "cellLocations": [ + { + "SerializeProperty": "='94f8bae36aee4ae7aec2a063ca731b1'!选择项" + } + ] + }, + "value": "编辑" + }, + "CommandList": [ + { + "$type": "Forguncy.Model.ShowPopupCommand, ServerDesignerCommon", + "PageName": "修改报工", + "LoadBindingDataOption": 1, + "BreakpointIdentity": "f341aae6-bddc-4470-a737-09b8c309e6e5" + } + ], + "ID": "6ce46400-0f4e-4fcb-8a1a-63a9ebd7839f" + }, + { + "Condition": { + "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", + "param": { + "$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon", + "cellLocations": [ + { + "SerializeProperty": "=选择项" + } + ] + }, + "value": "重算" + }, + "CommandList": [ + { + "$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon", + "ServerCommandName": "重算指定报工收益", + "Parameters": [ + { + "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", + "ParamName": "报工记录ID", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "='94f8bae36aee4ae7aec2a063ca731b1'!D5" + } + } + ], + "ResultErrorCodeTo": { + "SerializeProperty": "code" + }, + "ResultMessageTo": { + "SerializeProperty": "msg" + }, + "RefreshAfterFinish": true, + "CheckDataValidation": true, + "BreakpointIdentity": "a9590111-de90-47dc-9521-54f70683c191" + }, + { + "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", + "ConditionAndCommandPairList": [ + { + "Condition": { + "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", + "param": { + "$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon", + "cellLocations": [ + { + "SerializeProperty": "='94f8bae36aee4ae7aec2a063ca731b1'!code" + } + ] + }, + "value": "0" + }, + "CommandList": [ + { + "$type": "ElementUI.Commands.ShowMessage, ElementUI", + "Message": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "='94f8bae36aee4ae7aec2a063ca731b1'!msg" + }, + "Type": "success", + "Duration": 3000, + "BreakpointIdentity": "0bbdaa07-47fb-45f9-a79a-c7c4089573a7" + } + ], + "ID": "cfd611eb-0205-4008-909c-adfc62280b20" + }, + { + "CommandList": [ + { + "$type": "ElementUI.Commands.ShowMessage, ElementUI", + "Message": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "='94f8bae36aee4ae7aec2a063ca731b1'!msg" + }, + "Type": "error", + "Duration": 3000, + "BreakpointIdentity": "01254656-3b98-4b2f-8c37-5a157bc97da3" + } + ], + "ID": "47467580-51f8-48de-94ba-a610ade3fa36" + } + ], + "BreakpointIdentity": "74f1d320-cf89-41c2-a180-3a679ae457e3" + } + ], + "ID": "07dbeb63-1692-493d-bd67-3ee324965387" + }, + { + "CommandList": [ + { + "$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon", + "ServerCommandName": "删除指定工时记录", + "Parameters": [ + { + "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", + "ParamName": "报工记录ID", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "='94f8bae36aee4ae7aec2a063ca731b1'!D5" + } + } + ], + "ResultErrorCodeTo": { + "SerializeProperty": "code" + }, + "ResultMessageTo": { + "SerializeProperty": "msg" + }, + "RefreshAfterFinish": true, + "CheckDataValidation": true, + "BreakpointIdentity": "07584334-3244-4e8d-9905-f8b7b2cf5806" + }, + { + "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", + "ConditionAndCommandPairList": [ + { + "Condition": { + "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", + "param": { + "$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon", + "cellLocations": [ + { + "SerializeProperty": "=code" + } + ] + }, + "value": "0" + }, + "CommandList": [ + { + "$type": "ElementUI.Commands.ShowMessage, ElementUI", + "Message": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "='94f8bae36aee4ae7aec2a063ca731b1'!msg" + }, + "Type": "success", + "Duration": 3000, + "BreakpointIdentity": "d64418f1-6db0-444f-b842-87506c3e20bc" + } + ], + "ID": "f18fa50f-dc40-486f-aa72-66d16ff6bfca" + }, + { + "CommandList": [ + { + "$type": "ElementUI.Commands.ShowMessage, ElementUI", + "Message": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "='94f8bae36aee4ae7aec2a063ca731b1'!msg" + }, + "Type": "error", + "Duration": 3000, + "BreakpointIdentity": "051ddeb5-e146-4608-8398-ff2ed4966d4e" + } + ], + "ID": "7278d93b-8381-4c76-b290-0822d2a5df6e" + } + ], + "BreakpointIdentity": "cca6aeb8-7b7b-4aba-b206-326aebb44f83" + } + ], + "ID": "0801c836-ae50-4fe8-9929-7b8605ecbbf9" + } + ], + "BreakpointIdentity": "33406574-ee98-4214-b280-61596640fff6" + } + ], + "ID": "41275d83-1b10-4001-a968-15196b769897" + } + ], + "BreakpointIdentity": "717ab9b0-ca8b-4b1c-bd26-fb261fb33c38" + } + ], + "ParamProperties": { + "IsOK": "是否为确定", + "选择项": "选择项" + } + }, + "PageName": "工时弹出菜单", + "LoadBindingDataOption": 2, + "BreakpointIdentity": "170ad9e0-aa92-4e27-841c-88defc54c2a5" } ], "ToolTip": "操作", @@ -297,4 +532,4 @@ "PaperSize": {}, "Margin": {} } -}//qZ8EycwZwx5YQ10NtCbnIJTeJiwI8nzITc6CZzTRm4NQW8wwf2s9WbwFl+61ngxhYYJRxe/fC2znylppXr4P8bl598T/ls0bmgdjF8JVsS2yatRb1S12KVKeBN9o+e0XO0kwtEhTV/xb1QkvYoib9WLn/CXwePL9NdROaELPvg2fxKqRvng29cDsR4RJ+9ax5a+VBvuW8o28daJnRGBogTSLJhgi8E61TPp1mLMFpA4FaprA90zs3r3KYSVqYVzX38jmKeSLyptRSpRej8IY9ShTqLZKM+zTciU519PCNaM2D1VS++prwqHmZFNbKi3obNSUTr6PVyMgYk3aqiEFFjfUcnSEgaURpxc+2n82k65SnJu+/FA/RbUDoz3C3jZcu2jNsMLX47eRvtwUycgSFdpB2Y6ssC8zz3+uOL4fejcV3b6BybAvusv86AZLkCtbQ60UwFqhVlnnagkX4KCq4Reid3FApimC/NnW6uZ/IusiRgj/YsmIVi25bEZS4jxYtlGo0gql2eVIFtc7wttsJ+poMQha46vD13zrIAGE9R+t28vwKRTnnrhnX74nllH2Y80yanE3xSn/KzqwZjlLLRxJKFxtEaWbQjJEp7y6CSis7QGIoeeuLDgz7BvGborMyiu3UreBOq/F50Xq/GtGKwYUqlY4tJZN16JIxdx0fRj7+w9xV6asR5THxxePFPPpL3n+QC9aPriGw4Y7TMPXOq07Ai/0Z7+sZChjsyhWRKds0b0UsRKjC5rZ0lyFVX94l0IFSTbpYgUDZk/dmR4G1mHZP5Pvp89yks4rVzhJKa4I+xddu5hnD7LuZ1kAgcIgQBi84l3vt8UcmDh+yjyuQUMHsGIGMD/snT61tbEqaxH0QtQURSCsQYyUMCvsoCYPiPaOYFor8ulM8n4zd92hKg==|920 \ No newline at end of file +}//BMtZey2g7KPZfVrCVc/TNDB0h9FbYKuNr5ki3h7ofOQt9j4J0y+g7wt86NemIR98KX1+F1R0kineNjX5+CxUyFCtLr7VChwVKfZ1PwnaPjNc14en2CgNQYFy7Z581HOg/EsDse5Df0dP/Rm00WTfkLd8Gj5ORQozulR3NTGBi9Hvdebv+Ds8OA6fLYIk0mo1KdleObA9xDp4SiKCh5RWfDSqk5QbvrqnyOdtqG+nG05TUDzUbFpX/SwevAyLUfTgtpzAwbQb00FM31gnD9v4ncXVfskFfylSgHBtA8F+9+F33VcoDYf3lyll/RIcZ5ATqLjNu1kEEx9f6PCPokrt/XcdgGIdPUCW3eUFFwP4XU/Ozio68MkQXo7bACaOjsCzvJ53UYSXZEbGnu0myG6TRbqQizassF0L+YlZ6mj0B6TcFGYoobeaZ35FK+4diUShMaVt5Ik3V6yly4gU80L0KVrSTV0GF4h5nOC7elHpDJ41nHth6BJbjjnZZGw+1bWsfF38hE8E/GMZbbFI4Y3i59+Khd1dOH73+FTc5qpj6vVWydTgSCdVEEP+x+/Mjmm4lmQN3ha7rsSFDbS7VUaGKcz20c9QX3rHuXrIYgXwgBx7ZW55i/frYJQKN4lvz3WcnyaJ/0TU5UPsvIki7MrwWfNQejya/W/Q9oo4M40FXO1u5R3b7AvixvqtFRUzrz9RgrTQj14kGEr62yZFp8ZDt5SnulUuWUqz5q2isLeiqB2zS9jop+ucvUkQj7kwTKjBYNzLmGs99TtFiUYtRaYCOLAhR/PnoyinPvkHWMIVBQS7imB71cLUwMA1cku7uJbJ8g2+eu8HF4dTu+PfPDxWCLHFrfxcIrYNluoGC7vr9KXZsJ7hR6/WWZjm21di08sY17V2vBethtVep7wGDuNYzg==|920 \ No newline at end of file diff --git a/Pages/共用/工时弹出菜单.json b/Pages/共用/工时弹出菜单.json new file mode 100644 index 00000000..9ee2b102 --- /dev/null +++ b/Pages/共用/工时弹出菜单.json @@ -0,0 +1,211 @@ +{ + "Rows": { + "RowColumnAttachedInfos": { + "0": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 10.0 + } + }, + "1": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 30.0 + } + }, + "3": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 30.0 + } + }, + "4": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 10.0 + } + } + }, + "Count": 5, + "DefaultSize": 30.0 + }, + "Cols": { + "RowColumnAttachedInfos": { + "0": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 15.0 + } + }, + "1": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 61.0, + "Mode": 1 + } + }, + "2": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 15.0 + } + } + }, + "Count": 3, + "DefaultSize": 15.0 + }, + "Values": { + "1,1": "编辑", + "2,1": "重算", + "3,1": "删除" + }, + "AttachInfos": { + "1,1": { + "CellType": { + "$type": "Forguncy.ButtonCellType, ServerDesignerCommon", + "CommandList": [ + { + "$type": "Forguncy.Model.ClosePopupCommand, ServerDesignerCommon", + "ClosePopupReturnValues": [ + { + "Name": "选择项", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=工时弹出菜单!B2" + } + } + ], + "BreakpointIdentity": "ec2c2ddc-3460-49de-8f6c-a7f6cc46739e" + } + ], + "Text": "编辑", + "TemplateKey": "链接样式", + "Icon": { + "Name": "编辑.svg", + "Color": "Accent 1", + "UseCellTypeForeColor": true + }, + "IconSize": 14.0 + } + }, + "2,1": { + "CellType": { + "$type": "Forguncy.ButtonCellType, ServerDesignerCommon", + "CommandList": [ + { + "$type": "Forguncy.Model.ClosePopupCommand, ServerDesignerCommon", + "ClosePopupReturnValues": [ + { + "Name": "选择项", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=工时弹出菜单!B3" + } + } + ], + "BreakpointIdentity": "351f0201-3d8e-4ef4-97e7-0e7518129324" + } + ], + "Text": "重算", + "TemplateKey": "链接样式", + "Icon": { + "Name": "财务中心.svg", + "Color": "Accent 1", + "UseCellTypeForeColor": true + }, + "IconSize": 14.0 + } + }, + "3,1": { + "CellType": { + "$type": "Forguncy.ButtonCellType, ServerDesignerCommon", + "CommandList": [ + { + "$type": "Forguncy.Model.ClosePopupCommand, ServerDesignerCommon", + "ClosePopupReturnValues": [ + { + "Name": "选择项", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=工时弹出菜单!B4" + } + } + ], + "BreakpointIdentity": "9f3c87b3-4c0a-49ce-a939-5bec6694290e" + } + ], + "Text": "删除", + "TemplateKey": "链接样式", + "Icon": { + "Name": "回收站.svg", + "Color": "Accent 1", + "UseCellTypeForeColor": true + }, + "IconSize": 14.0 + } + } + }, + "StyleDatas": { + "Styles": [ + { + "FontFamily": 0, + "FontSize": 13.333333333333332, + "HorizontalAlignment": 1 + }, + { + "FontFamily": 0, + "FontSize": 13.333333333333332, + "TextIndent": 15, + "HorizontalAlignment": 1, + "Underline": false + }, + { + "FontFamily": 0, + "FontSize": 13.333333333333332, + "Foreground": 2, + "HorizontalAlignment": 1 + }, + { + "FontFamily": 0, + "FontSize": 13.333333333333332, + "Foreground": 3, + "HorizontalAlignment": 1 + } + ], + "Types": { + "Strs": [ + "Body", + "Left", + "Accent 1 0", + "Accent 5 0" + ] + }, + "CellStyles": { + "1,1": 0, + "1,2": 1, + "2,1": 2, + "2,2": 1, + "3,1": 3, + "3,2": 1 + }, + "SheetStyle": { + "FontFamily": 0 + } + }, + "PageInfo": { + "$type": "Forguncy.Model.Pages.NormalPage, ServerDesignerCommon", + "PermissionData": { + "$type": "Forguncy.RbacPermission.Core.Impl.Page.PagePermissionData, Forguncy.RbacPermission.Core", + "permissionResource": { + "$type": "Forguncy.RbacPermission.Core.Impl.Page.PagePermissionResource, Forguncy.RbacPermission.Core" + }, + "permissionBindings": [ + { + "$type": "Forguncy.RbacPermission.Core.Impl.Page.PagePermissionBinding, Forguncy.RbacPermission.Core", + "roleNames": [ + "FGC_LoginUser" + ] + } + ] + }, + "RowBreakLines": [], + "RepeatRangeSettings": [] + }, + "PrintInfo": { + "PaperSize": {}, + "Margin": {} + } +}//eyIH6VsejHMz3LGnuvV5C3RlfYIYC8kiZS2w2CrZKrUmWx7ZXF2sgjSm72+4Ado3gI3tC8hUMHnE/RFB3QVy/+fLrUHzUGnww2woSnWAnAhrpZAVf9BgozaQNT6zZMXY3s0nm8Je7qZvZsDhiTslisQeufFywcGFsiAd/ArFRupwdkbPp7p9I/LxF2uMUUJ8EIjJcWmDY+pCQYjmGinDpTpeqaiLLLTLoRBDtFPXbHUKobevZ18CCYMuyx8jn214Ptvq8dInHvbkhxdKmDrkpsIEj4TTAkRyOunBm5i7BqIPtWGP5+STnoReHfA9y6/Ky6Xgk3uY33UlJIAg6lFGwjdlZX2fUqXdxW4PMqfwubqJkIgmzLMx2X5qF88jEyTrgdhBJpuhN697SLQ6k+S3qLCPGWsL62EigyAq3rfSg+JUZugOi/c1uqSUHcbc6lYHOrJK3lIVuMwvvByxFwa0FV9Nfkzq2aBadcStWL5KIKjYxZmBy3aAxEomblfQuwcu74nAeZjY/mDa542xBiKBABQ0hPKyOzNyHDs5keCj5+P3xH6ePES2ZnsNWe3gpm8uOzVtwP/bKcSdViOSTz1kgGlSVOiHDuq5MZqKBfKk+DAUoAHMNDZadcQiXZmg5KN2paSN4uqgxhKR13bNRPFaJTKd11tpmrX9fMiiRZHemXcN1VZKAPJxRrzM6DZBkyZAEahgEdnwKS9OefsMI8BTOPVSpsGb3CsEyq53wVC+an8rlPGvqzgxuNdsqUUZrbh+HOwqOjHa+o/qNOvHBraHOxiErUn6Ja6utoV/KtlvA0Qjde4d7daC+yCC9NMf21T8GIQVz1/PeyPYwo16ya+FHNSN6VM1PCu5nES6pjQXahB5KBdAf1VPu7reYAZwYVEFIkcn3Zt8ZoKI5zZOTIYt9Q==|920 \ No newline at end of file diff --git a/Pages/共用/工时弹出菜单.rd b/Pages/共用/工时弹出菜单.rd new file mode 100644 index 00000000..18490e17 --- /dev/null +++ b/Pages/共用/工时弹出菜单.rd @@ -0,0 +1,5 @@ +{ + "PageType": 0, + "ColumnCount": 3, + "RowCount": 5 +} \ No newline at end of file diff --git a/Pages/项目/项目首页/项目首页-容器页面/任务容器页面/任务-工时.json b/Pages/项目/项目首页/项目首页-容器页面/任务容器页面/任务-工时.json index b3f0dada..aa97fde7 100644 --- a/Pages/项目/项目首页/项目首页-容器页面/任务容器页面/任务-工时.json +++ b/Pages/项目/项目首页/项目首页-容器页面/任务容器页面/任务-工时.json @@ -325,7 +325,7 @@ "BreakpointIdentity": "c63ddde1-6b38-48ff-af2d-f94f339ad339" } ], - "ID": "5a576b7d-d3b1-44d7-8001-0a0df6e16e9f" + "ID": "d8435d34-0e99-481d-b3d6-6c67e664d944" }, { "CommandList": [ @@ -366,13 +366,13 @@ "BreakpointIdentity": "1c6065dd-6956-4224-b96d-e66cb64facef" } ], - "ID": "acef38ae-4fa6-4d7f-afe5-6f6d219f1e8d" + "ID": "562da2f1-be9c-4967-8055-ecead0b88496" } ], "BreakpointIdentity": "c8f7fd26-9140-4588-bc62-cd101078273b" } ], - "ID": "e2ac2b2a-23a6-4e8f-98c1-b68591534b81" + "ID": "494e6b4c-3f97-4dce-af2c-8db08b2e1acd" } ], "BreakpointIdentity": "14d49222-8aac-44b5-b857-242bbadcf023" @@ -429,7 +429,7 @@ "BreakpointIdentity": "b48fc0a4-ffae-4c92-9133-0b0194355db4" } ], - "ID": "5eb1dfc3-d267-4123-80d4-ea1e02d2c7a2" + "ID": "c72b3951-3c5a-4596-b8bc-44d366e37cb7" }, { "CommandList": [ @@ -440,13 +440,13 @@ "BreakpointIdentity": "9e8860a0-cf0e-4157-8f2c-cd1e267ef988" } ], - "ID": "3f12232f-4821-47a0-bf4b-f1bc3a7397be" + "ID": "50cf37be-54db-4321-b366-96d4c911dcca" } ], "BreakpointIdentity": "1a6dd2e2-c39d-41f0-a3f9-7e2f14ed04b3" } ], - "ID": "fa21a1ac-be2b-46fe-8e9c-faf2e1bf1fa1" + "ID": "dd6f1a18-40db-48f3-b9a4-c6684ce59ba8" }, { "CommandList": [ @@ -487,13 +487,13 @@ "BreakpointIdentity": "52173cd6-8405-49a1-bac5-0206cf2ea95e" } ], - "ID": "935bb931-a8ff-407d-95c2-d508b418250f" + "ID": "bbf11d2b-5318-4e1c-85ab-1c9a493f4ef9" } ], "BreakpointIdentity": "2452925f-ace5-4060-9029-82b1edcfa3d2" } ], - "ID": "016a5527-4fe6-4348-b6bc-395f04e5bb7e" + "ID": "91e205c2-1123-40f2-9fc8-9878d6a15482" } ], "BreakpointIdentity": "ed9f0cbb-8437-4480-b247-5b98cd6150ec" @@ -548,7 +548,7 @@ "BreakpointIdentity": "2358f00c-24d0-4e1c-b44a-64b275a6b15f" } ], - "ID": "7c5c024c-d4de-46b4-ad32-a19ae0f81396" + "ID": "d1bef53f-b488-4733-ae0b-116d766c05da" }, { "CommandList": [ @@ -589,13 +589,13 @@ "BreakpointIdentity": "07bd0b3e-53b3-4b9e-9ee0-fee908472bdf" } ], - "ID": "193f7218-c100-4db5-bfb1-9e3fc9a3f833" + "ID": "a1967e52-3caf-4827-895e-7ea325d7c349" } ], "BreakpointIdentity": "88ef1769-aa83-4e93-b80c-34cf6ca29567" } ], - "ID": "84ecda9b-519d-4f06-9ea7-928bd6665eb6" + "ID": "a716acb9-8645-4d99-bccf-d31ee5aff59e" } ], "BreakpointIdentity": "f694ea40-2bc0-4336-aa84-a5480a953f61" @@ -677,7 +677,7 @@ "BreakpointIdentity": "621db91f-4b69-474f-a51e-7ee310e7f0d0" } ], - "ID": "6604a572-91e3-4965-b380-f5825f37a29a" + "ID": "f4b7dc4b-e2d3-4154-a854-b2a89760bdeb" }, { "CommandList": [ @@ -688,13 +688,13 @@ "BreakpointIdentity": "d332dc0c-91d3-42b4-8e47-60c560eb75f9" } ], - "ID": "cecb5a37-0b77-45c8-b94a-ac5158cd41cb" + "ID": "69d96a63-daa8-4319-a9a5-61f4afdc2067" } ], "BreakpointIdentity": "57241bb1-46b0-4ac3-8f43-01ba33cfce3a" } ], - "ID": "e1a8c8e1-ea97-4510-9531-f8cfe2b5e8c8" + "ID": "884d03d3-fa1d-42bf-bed6-353ce6eca0e3" }, { "CommandList": [ @@ -735,19 +735,19 @@ "BreakpointIdentity": "56972b78-27b3-4197-82f4-cb1287a1f44d" } ], - "ID": "9f53714d-ad5e-405d-8567-f03f26f7f898" + "ID": "d7bf7470-edba-497f-93e4-708815ba3a97" } ], "BreakpointIdentity": "30b9a8e7-1eb0-4648-942a-528bf3267c97" } ], - "ID": "44c3ae09-0d02-4c20-af57-21ca3e93c145" + "ID": "ff2f6c3f-a668-4bf9-9db0-80059cf67d67" } ], "BreakpointIdentity": "5a51bbd2-7d60-4944-a8e3-f3d65e357955" } ], - "ID": "1f2eb3e4-7be2-4986-917f-a7fed237f98d" + "ID": "9886989c-06ef-4e53-8090-60a15d825a14" }, { "CommandList": [ @@ -758,7 +758,7 @@ "BreakpointIdentity": "25c20408-229f-43c8-97be-d0dacc9ec10c" } ], - "ID": "50639dc4-4f50-4d90-8df1-fd4bf9836a48" + "ID": "71e72405-d5ed-415d-9529-197cf13da129" } ], "BreakpointIdentity": "b3aaa4f4-a5cc-421d-82f1-cbed0d38d932" @@ -1000,7 +1000,7 @@ "BreakpointIdentity": "a7e86905-a9f8-4602-9f1f-50def1968cb9" } ], - "ID": "d377a6a8-27f2-42ee-afd9-91d800041100" + "ID": "055e1071-2ca4-4a0a-bc92-c06daec05675" }, { "CommandList": [ @@ -1021,7 +1021,7 @@ "BreakpointIdentity": "9c0973ea-b868-4743-9bed-4acb707cd122" } ], - "ID": "0a54b4dd-96a8-4b2f-aa9a-aacd948a308b" + "ID": "da42334d-6a7e-43c9-9320-2857fc7dae9c" } ], "BreakpointIdentity": "776196f0-06d0-4593-8cac-76350cd25e39" @@ -1059,7 +1059,7 @@ "BreakpointIdentity": "2e34506e-5ea1-4134-a6fd-bdbc4d2387e1" } ], - "ID": "01f75832-0753-47a1-906d-a2f72e708703" + "ID": "cb12f221-a519-4c02-85fc-99eaa0bcc348" } ], "BreakpointIdentity": "5e2975f6-f6a2-4e44-9a9d-dcfc5fabe671" @@ -1432,4 +1432,4 @@ "Formula": "'任务-工时'!$V$14" } ] -}//L6Nv9axDArE3G7qZhrZ/wg9VGCg/PkoV/9glEAEdma47RG+VU2z+O4mQNGViBiYC+UwQEmk6Z50kok5gKBaww7oM+qUezD37sMayi+fWhZ6nPjhbJTCMkk0RkyZGWPZME5PVeiQUivd+827Cuf3m1q5mXq+JSDfTmzdxtewyiFvK4RhELYShmlr6CTanOYF5omPasfEKayr0wt9C/clkkdF19jXdKwtpdVz/OFbPYmwV3RjVAsrV64FgJMU56wYUipQMUO6n+Qdcy3Sk0gep7+gO727aLSdR/qateHKFp5uOraFyYVTDOBe2NfZRxzaRgXF50pixQaP6LuEmC4ANfg+UrqIRchY3ZVL1mys05/RSGzPBt4KOi9PmyOpwhnoMJKHEBcI4L+tjbhJrwkcuI/LKwExNCZQmM933trpbQqMNHAj33SNMYZnTazE3WmbNemWPSfl9/A7OMDiKFC1LNppurb1pxIOMuJ68JXVPBnEnscz4VD7Pz90KnEvG3leDCo2tqnm6KYMTI1k3zVXe88ypwO9FFwFzmi0xecwim89x4DvdFHxazFQTJQpM5a4xt4C/SAchhefYjMNrCbUl11KybmmytygypwFdK7Eod0qxXDKXj5mszSWeCfaz1j4WUyJn7r/mO7AYlNYq83swkyarY2coQycKtmpujjOymaABayTzOIeyE91uKcR30P7MabhWEiRBy3RmRep5/lpN6JH+mWCA5rRExTPii8E6mhWmDVLSN6wOShrRzokidGoWVEKDpcqzotDjW+CYzwodCKsaLpGxdLeCHsKJS9qPmHH2E5/sMCD8OrJkkz+xRvxJV5/in/lAKjIWatZxJmHvdNuENwZAwJ2M9IxcBfntd27MPsusepPBwOHzAHAnK4ojnEmVccK7wyA7fB2YKZDEfw==|920 \ No newline at end of file +}//XpTwXCzsp4Gjp0zNyPLPF1lAAfB9eVELVtdlNTIkhU8lK+eomNMQXnDrsd9cYDRatNebDWFV9mOZaAPA4wXBwwjrk7R6yRaVa+EXTtJeFmvs1g4FNplIPM2dGv0cH0IQffG7ZMRqUuv/AlIpdVFE2fvI3Um0hpUqCDSx2/eBwrWtXfgqxlXuywhUW/Xa0odkBt4maprie//owamOPxayFkcZxINsUDUpjZ87K9Wa4mlRIZtaaEQ3l5/5Av3O7bNaIsBka1mvEVzD5olL51e9IinjwQEOLpIn+8D1aOtg1Nv40eCXIMTSkk9qn2DfCEFeAkI0zPo8TRFYK5Mwffpqj56hkQDpGRf/ymF5PMT79p5PYt3R1Fhd4sFbAGKyzE3F8mkHhMPPrESR3/JainPgq7byNL3GSrG+JqbrERfJFEYPdHMbBZn+t0DbrSkZxH3peXQYUQ2MaU4uaHILYtkeUYwx+zji/qUKG0ASWDAA/m4hbUqy/r5Qy8oZC5t/T5pIdPKd/C+qRVkeVhCVf7OklCslRGICWZ5Mo9i7D27npCOgMeB5TOcg2S1tLX1QbOB+nw29+WVzOs6NO5uO9PGZJVBDrzRph0+Nv+V6VtshzIqUioq5M3dlu+L+CzuU4Lr8nPFAI49wRUxmQiM9wMOwQmbtheuYAHeHZS2xE3i8aLF95nDMzhKRSfi4RnHzbVF/PUX8bVvJIKmzoLwDqrlMDQ9NQvyOJw4znQ8XrYGxBUXZWLqNl/P6G7EJJ76W0anj8ucjMHRd1JV1CFFsy8F7PHE3YH0zANQmGK4DzF3wVBuU3WEacEmoZpWwPYHIh2qg7EXMJfBtjcDdrw29io0cWT36u5VBWAwqHeAgbRvvJEbG+g8qnp5ki349EDiTbQQVKbQquV7lyRWW6qgtUmcIXQ==|920 \ No newline at end of file diff --git a/ServerCommands/工时/重算指定报工收益.json b/ServerCommands/工时/重算指定报工收益.json new file mode 100644 index 00000000..5f31374b --- /dev/null +++ b/ServerCommands/工时/重算指定报工收益.json @@ -0,0 +1,618 @@ +{ + "$type": "Forguncy.SaveLoad.ServerCommandSaveData, ServerDesignerCommon", + "Name": "重算指定报工收益", + "Enabled": true, + "Triggers": { + "$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.TriggerSaveDataBase, ServerDesignerCommon]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.SaveLoad.PostRequestTriggerSaveData, ServerDesignerCommon", + "Permission": { + "$type": "Forguncy.SaveLoad.ServerCommandPermissionSaveData, ServerDesignerCommon", + "PermissionData": { + "$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionData, Forguncy.RbacPermission.Core", + "permissionResource": { + "$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionResource, Forguncy.RbacPermission.Core" + }, + "permissionBindings": { + "$type": "System.Collections.Generic.List`1[[Forguncy.RbacPermission.Core.Impl.ServerCommand.IServerCommandPermissionBinding, Forguncy.RbacPermission.Core]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionBinding, Forguncy.RbacPermission.Core", + "roleNames": { + "$type": "System.Collections.Generic.List`1[[System.String, System.Private.CoreLib]], System.Private.CoreLib", + "$values": [ + "FGC_LoginUser" + ] + } + } + ] + } + } + }, + "Parameters": { + "$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon", + "Name": "报工记录ID", + "DataValidationInfo": { + "$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon", + "IgnoreBlank": false + } + } + ] + }, + "InvokeTriggerTestData": { + "$type": "Forguncy.SaveLoad.InvokeTriggerTestDataSaveData, ServerDesignerCommon", + "UserName": "Administrator" + } + } + ] + }, + "Commands": { + "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon", + "TryCommandPart": { + "$type": "Forguncy.Model.ExceptionCommandBaseNode, ServerDesignerCommon", + "CommandList": { + "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", + "ParameterName": "工时记录", + "TableValue": { + "$type": "Forguncy.Model.Commands.ParameterTableValue, ServerDesignerCommon", + "TableName": "任务工时表", + "TableValueType": 1, + "BindingInfos": { + "$type": "System.Collections.Generic.List`1[[Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", + "GUID": "54977a84-bb39-45d9-8d93-8b034db06b35", + "BindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "任务工时表", + "ColumnName": "任务ID", + "GUID": "e95d52bc-fe68-4008-bf5e-78a2d0d39245" + }, + "ColumnName": "任务ID" + }, + { + "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", + "GUID": "18979713-70dd-4a5e-a3fb-621f006f2e44", + "BindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "任务工时表", + "ColumnName": "任务ID", + "GUID": "5c62d2b6-163e-4c44-9b72-eb79b0498459", + "RelationBinding": { + "$type": "ForguncyDataAccess.RelationBinding, ForguncyDataAccess", + "RelatedTable": "任务平行视图", + "RelatedColumn": "ID", + "DisplayColumn": "任务状态" + } + }, + "ColumnName": "任务状态" + }, + { + "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", + "GUID": "7ab7386d-1877-45b5-b27f-8eb3f52fdf38", + "BindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "任务工时表", + "ColumnName": "请款单ID", + "GUID": "4f2d20c8-e23e-4a5e-8312-6ae0adfdcce4" + }, + "ColumnName": "请款单ID" + }, + { + "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", + "GUID": "2832cf6a-6643-4235-9f67-44e17836144c", + "BindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "任务工时表", + "ColumnName": "请款单ID", + "GUID": "882c4a68-ab6d-4cae-beba-4c9c219fedb9", + "RelationBinding": { + "$type": "ForguncyDataAccess.RelationBinding, ForguncyDataAccess", + "RelatedTable": "收益请款单表", + "RelatedColumn": "ID", + "DisplayColumn": "状态" + } + }, + "ColumnName": "请款单状态" + }, + { + "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", + "GUID": "e8460b17-edd3-40eb-a803-a3003ebdd9a0", + "BindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "任务工时表", + "ColumnName": "执行人", + "GUID": "4a4304a9-cfc0-4d0f-9c0f-ac259510f38e" + }, + "ColumnName": "执行人" + }, + { + "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", + "GUID": "e8b96c09-5ec8-4300-83f1-5d705da2133f", + "BindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "任务工时表", + "ColumnName": "上报工时", + "GUID": "513310a1-4285-4218-b6e7-33e6fcdde4e5" + }, + "ColumnName": "上报工时" + }, + { + "$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon", + "GUID": "1668a251-2c35-4bc3-ad48-ce905a1ffe1f", + "BindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "任务工时表", + "ColumnName": "工时日期", + "GUID": "c74c8b77-cfc7-4d53-afd1-964f7a5b79a6" + }, + "ColumnName": "工时日期" + } + ] + }, + "SqlCondition": { + "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", + "ColumnBindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "任务工时表", + "ColumnName": "ID", + "GUID": "167514eb-c3b5-49e5-a3b7-8723a02bdc11" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=报工记录ID" + } + }, + "NullFormulaValueQueryPolicy": 0 + }, + "ID": "3f1d1671b4d34c82b26b030b23ce2d89", + "BreakpointIdentity": "4fa5b7d1-7257-47ae-a134-977fe512bea8" + }, + { + "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", + "ConditionAndCommandPairList": { + "$type": "System.Collections.Generic.List`1[[Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", + "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": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", + "ConditionAndCommandPairList": { + "$type": "System.Collections.Generic.List`1[[Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", + "Condition": { + "$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess", + "SubConditions": { + "$type": "System.Collections.Generic.List`1[[ForguncyDataAccess.ISqlCondition, ForguncyDataAccess]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", + "param": { + "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", + "ParamObject": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=工时记录.请款单ID" + } + }, + "value": "%Null%" + }, + { + "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", + "param": { + "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", + "ParamObject": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=工时记录.请款单状态" + } + }, + "value": "4" + } + ] + }, + "RelationType": 1 + }, + "CommandList": { + "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", + "ConditionAndCommandPairList": { + "$type": "System.Collections.Generic.List`1[[Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", + "Condition": { + "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", + "param": { + "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", + "ParamObject": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=工时记录.任务状态" + } + }, + "value": "2" + }, + "CommandList": { + "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon", + "ServerCommandName": "计算报工数据", + "Parameters": { + "$type": "System.Collections.Generic.List`1[[Forguncy.Model.RequestServerCommandParamBase, ServerDesignerCommon]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", + "ParamName": "任务ID", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=工时记录.任务ID" + } + }, + { + "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", + "ParamName": "执行人", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=工时记录.执行人" + } + }, + { + "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", + "ParamName": "工时数", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=工时记录.上报工时" + } + }, + { + "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", + "ParamName": "指定时薪单价" + } + ] + }, + "ResultErrorCodeTo": { + "$type": "Forguncy.Common.FormulaCellLocation, ServerDesignerCommon", + "SerializeProperty": "code" + }, + "ResultMessageTo": { + "$type": "Forguncy.Common.FormulaCellLocation, ServerDesignerCommon", + "SerializeProperty": "msg" + }, + "ReturnPropertiesTo": { + "$type": "System.Collections.Generic.List`1[[Forguncy.Model.ReturnPropertyTo, ServerDesignerCommon]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.ReturnPropertyTo, ServerDesignerCommon", + "ResultPropertyName": "提交工时", + "ResultTo": { + "$type": "Forguncy.Common.FormulaCellLocation, ServerDesignerCommon", + "SerializeProperty": "提交工时" + } + }, + { + "$type": "Forguncy.Model.ReturnPropertyTo, ServerDesignerCommon", + "ResultPropertyName": "核定工时", + "ResultTo": { + "$type": "Forguncy.Common.FormulaCellLocation, ServerDesignerCommon", + "SerializeProperty": "核定工时" + } + }, + { + "$type": "Forguncy.Model.ReturnPropertyTo, ServerDesignerCommon", + "ResultPropertyName": "提成系数", + "ResultTo": { + "$type": "Forguncy.Common.FormulaCellLocation, ServerDesignerCommon", + "SerializeProperty": "提成系数" + } + }, + { + "$type": "Forguncy.Model.ReturnPropertyTo, ServerDesignerCommon", + "ResultPropertyName": "计算时薪", + "ResultTo": { + "$type": "Forguncy.Common.FormulaCellLocation, ServerDesignerCommon", + "SerializeProperty": "计算时薪" + } + }, + { + "$type": "Forguncy.Model.ReturnPropertyTo, ServerDesignerCommon", + "ResultPropertyName": "核定收益", + "ResultTo": { + "$type": "Forguncy.Common.FormulaCellLocation, ServerDesignerCommon", + "SerializeProperty": "核定收益" + } + }, + { + "$type": "Forguncy.Model.ReturnPropertyTo, ServerDesignerCommon", + "ResultPropertyName": "时薪来源", + "ResultTo": { + "$type": "Forguncy.Common.FormulaCellLocation, ServerDesignerCommon", + "SerializeProperty": "时薪来源" + } + }, + { + "$type": "Forguncy.Model.ReturnPropertyTo, ServerDesignerCommon", + "ResultPropertyName": "核定工时说明", + "ResultTo": { + "$type": "Forguncy.Common.FormulaCellLocation, ServerDesignerCommon", + "SerializeProperty": "工时核定说明" + } + }, + { + "$type": "Forguncy.Model.ReturnPropertyTo, ServerDesignerCommon", + "ResultPropertyName": "报工人姓名" + } + ] + }, + "RefreshAfterFinish": true, + "CheckDataValidation": true, + "BreakpointIdentity": "ce0381bf-abaa-40be-8373-2ef454859e05" + }, + { + "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", + "ConditionAndCommandPairList": { + "$type": "System.Collections.Generic.List`1[[Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", + "Condition": { + "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", + "param": { + "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", + "ParamObject": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=code" + } + }, + "value": "0" + }, + "CommandList": { + "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon", + "TableName": "任务工时表", + "ShowConfirm": false, + "RowsToUpdate": 1, + "RowsToUpdateCondition": { + "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", + "ColumnBindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "任务工时表", + "ColumnName": "ID", + "GUID": "a143e0e1-5d9e-44e8-9483-9e349bb3f7b6" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=报工记录ID" + } + }, + "UpdateBindingValues": { + "$type": "System.Collections.Generic.List`1[[Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", + "BindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "任务工时表", + "ColumnName": "工时", + "GUID": "8bfc497f-0a59-4c48-9049-e32921863299" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=核定工时" + } + }, + { + "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", + "BindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "任务工时表", + "ColumnName": "时薪来源", + "GUID": "82e6ff39-c475-4219-bdf2-2f37e46dc182" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=时薪来源" + } + }, + { + "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", + "BindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "任务工时表", + "ColumnName": "提成系数", + "GUID": "0fb30435-cee5-4bca-9a5a-a0e4c7215b71" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=提成系数" + } + }, + { + "$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon", + "BindingInfo": { + "$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess", + "TableName": "任务工时表", + "ColumnName": "时薪单价", + "GUID": "4f6714ab-2c61-4eae-8789-536470fded2c" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=计算时薪" + } + } + ] + }, + "BreakpointIdentity": "15b6cfb2-831c-4088-ac0c-0b230bd1450f" + }, + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": "0", + "Message": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=\"重算完成,核算收益为:\"&核定收益" + }, + "BreakpointIdentity": "a9452100-0d79-496a-97b9-46c16f460798" + } + ] + }, + "ID": "c3300e0f-db40-42fc-885f-63a6ea298f99" + }, + { + "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", + "CommandList": { + "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=code" + }, + "Message": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=msg" + }, + "BreakpointIdentity": "a09c09e4-4581-4c11-9979-0c8081c8539f" + } + ] + }, + "ID": "58f44c8e-d6b1-4dc1-8076-701bd1c43b6d" + } + ] + }, + "BreakpointIdentity": "2bd8f246-981b-4780-aeb3-9959bd06d877" + } + ] + }, + "ID": "ffa918e4-8661-419f-8ffa-be1f02245e09" + }, + { + "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", + "CommandList": { + "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": "400", + "Message": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=\"当前任务状态为[\"&任务信息.任务状态文本&\"],无法提交工时!\"" + }, + "BreakpointIdentity": "69464752-4250-4bae-8d7e-f6ab97f36221" + } + ] + }, + "ID": "61316e03-d388-4fb0-a049-29f63821b9a9" + } + ] + }, + "BreakpointIdentity": "62cded65-eedf-41ba-a9d2-57ed72216e76" + } + ] + }, + "ID": "5ac97496-a5a7-4e83-8a3b-0f55227c8d56" + }, + { + "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", + "CommandList": { + "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": "400", + "Message": "该报工已申请结算,无法重算", + "BreakpointIdentity": "0966b5cb-9d7f-4248-b8b6-9cd8feee7ad9" + } + ] + }, + "ID": "939ac55b-79d0-4e97-9b6f-538307fd1f86" + } + ] + }, + "BreakpointIdentity": "962b2a01-8a34-4e0b-9586-c417ca47754f" + } + ] + }, + "ID": "e27c20f7-5418-4441-af78-119b846192d3" + }, + { + "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", + "CommandList": { + "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": "400", + "Message": "记录不存在", + "BreakpointIdentity": "ecfb1fe6-239f-44e0-9fbe-9ca65d35e9c9" + } + ] + }, + "ID": "2340cedf-1711-4dab-b8d1-0f08ee874e5c" + } + ] + }, + "BreakpointIdentity": "be868864-34fb-4eea-8cd1-d3438c4b95f8" + } + ] + } + }, + "CatchCommandPart": { + "$type": "Forguncy.Model.CatchCommandNode, ServerDesignerCommon", + "CommandList": { + "$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib", + "$values": [ + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=ExceptionCode" + }, + "Message": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=ExceptionMessage" + }, + "BreakpointIdentity": "46135b5c-7133-4520-8325-18ca62cf2cf2" + } + ] + } + }, + "BreakpointIdentity": "12d3dd64-24f2-44e3-b671-ccd40bace1d4" + } + ] + }, + "ReturnProperties": { + "$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.ReturnPropertySaveData, ServerDesignerCommon]], System.Private.CoreLib", + "$values": [] + } +} \ No newline at end of file