From c7550cc2cf374051032a06d77fc813313642b14f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B6=85=E5=93=A5?= Date: Wed, 3 Jul 2024 19:00:29 +0800 Subject: [PATCH] =?UTF-8?q?{"Message":"=E6=9B=B4=E6=96=B0=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E6=96=B0=E5=A2=9E=E9=80=BB=E8=BE=91","MessageType":2,?= =?UTF-8?q?"Modules":[{"State":1,"Type":1,"Name":"PCPage/=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E5=8F=91=E5=B8=83=E5=8E=86=E5=8F=B2"},{"State":1,"Typ?= =?UTF-8?q?e":1,"Name":"PCPage/=E7=89=88=E6=9C=AC=E5=8F=91=E5=B8=83?= =?UTF-8?q?=E8=AF=A6=E6=83=85"},{"State":3,"Type":15,"Name":"ServerCommand?= =?UTF-8?q?/=E6=96=B0=E5=A2=9E=E9=A1=B9=E7=9B=AE=E5=8F=91=E5=B8=83?= =?UTF-8?q?=E8=AE=B0=E5=BD=95"}],"Version":"v1"}?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .collaboration | 32 +- Pages/86a6b47fab804262a2be25140e7ff23.json | 339 +++++++++------ Pages/86a6b47fab804262a2be25140e7ff23.rd | 4 +- .../项目首页-容器页面/项目发布/版本发布详情.json | 200 ++++++--- .../项目首页-容器页面/项目发布/项目发布历史.json | 116 ++--- .../项目首页-容器页面/项目发布/项目发布历史.rd | 2 +- ServerCommands/项目/新增项目发布记录.json | 397 ++++++++++++++++++ 7 files changed, 767 insertions(+), 323 deletions(-) create mode 100644 ServerCommands/项目/新增项目发布记录.json diff --git a/.collaboration b/.collaboration index c5882a51..5cccfc57 100644 --- a/.collaboration +++ b/.collaboration @@ -2226,19 +2226,7 @@ }, { "ModuleName": "PCPage/项目发布历史", - "State": 1, - "LockedBy": { - "UserName": "超哥", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-07-03T18:41:19.6686749+08:00", - "ModuleType": 1, - "ToRemoveFiles": [ - "Pages\\项目\\项目首页\\项目首页-容器页面\\项目发布\\项目发布历史.json", - "Pages\\项目\\项目首页\\项目首页-容器页面\\项目发布\\项目发布历史.rd", - "Pages\\86a6b47fab804262a2be25140e7ff23.json", - "Pages\\86a6b47fab804262a2be25140e7ff23.rd" - ] + "ModuleType": 1 }, { "ModuleName": "ServerCommand/GetLastVersion", @@ -2258,17 +2246,7 @@ }, { "ModuleName": "PCPage/版本发布详情", - "State": 1, - "LockedBy": { - "UserName": "超哥", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-07-03T18:50:23.1414039+08:00", - "ModuleType": 1, - "ToRemoveFiles": [ - "Pages\\项目\\项目首页\\项目首页-容器页面\\项目发布\\版本发布详情.json", - "Pages\\项目\\项目首页\\项目首页-容器页面\\项目发布\\版本发布详情.rd" - ] + "ModuleType": 1 }, { "ModuleName": "ServerCommandPrivate/自动更新版本号", @@ -2288,12 +2266,6 @@ }, { "ModuleName": "ServerCommand/新增项目发布记录", - "State": 3, - "LockedBy": { - "UserName": "超哥", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-07-03T18:52:20.6189365+08:00", "ModuleType": 15 } ] \ No newline at end of file diff --git a/Pages/86a6b47fab804262a2be25140e7ff23.json b/Pages/86a6b47fab804262a2be25140e7ff23.json index a9a4e0d1..83b9dc83 100644 --- a/Pages/86a6b47fab804262a2be25140e7ff23.json +++ b/Pages/86a6b47fab804262a2be25140e7ff23.json @@ -8,23 +8,69 @@ }, "1": { "GridRowColumnDefinition": { - "DesignLengthInPixel": 35.0 + "DesignLengthInPixel": 23.0 } }, "2": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 10.0 + } + }, + "3": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 70.0, + "Mode": 1 + } + }, + "4": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 10.0 + } + }, + "6": { "GridRowColumnDefinition": { "DesignLengthInPixel": 15.0 } + }, + "5": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 27.0 + } } }, - "Count": 3, + "Count": 7, "DefaultSize": 15.0 }, "Cols": { "RowColumnAttachedInfos": { + "1": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "2": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "3": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "4": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, "5": { "GridRowColumnDefinition": { - "DesignLengthInPixel": 600.0, + "DesignLengthInPixel": 32.0 + } + }, + "16": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 21.0, "Mode": 2, "MinLength": { "Unit": 1 @@ -34,140 +80,125 @@ } } }, - "10": { + "24": { "GridRowColumnDefinition": { - "DesignLengthInPixel": 60.0 + "DesignLengthInPixel": 32.0 } }, - "1": { + "25": { "GridRowColumnDefinition": { - "DesignLengthInPixel": 148.0 + "DesignLengthInPixel": 32.0 } }, - "3": { + "26": { "GridRowColumnDefinition": { - "DesignLengthInPixel": 89.0 + "DesignLengthInPixel": 32.0 } }, - "7": { + "27": { "GridRowColumnDefinition": { - "DesignLengthInPixel": 94.0 + "DesignLengthInPixel": 32.0 } }, - "9": { + "28": { "GridRowColumnDefinition": { - "DesignLengthInPixel": 115.0 + "DesignLengthInPixel": 32.0 } }, - "11": { + "29": { "GridRowColumnDefinition": { - "DesignLengthInPixel": 73.0 + "DesignLengthInPixel": 32.0 + } + }, + "30": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "31": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "32": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "33": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "34": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "35": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "36": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "37": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "38": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "39": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "40": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "0": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 20.0 + } + }, + "41": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 20.0 } } }, - "Count": 13 + "Count": 42, + "DefaultSize": 32.0 }, "Values": { - "1,3": "v1.0.0", - "1,5": "xxxxxx", - "1,11": "详情" + "1,1": "Version 1.0.0", + "1,37": 0, + "5,39": "编辑" }, "AttachInfos": { "1,1": { - "CellType": { - "$type": "ElementUI.Tag, ElementUI", - "CommandList": [], - "UIPermissions": [ - { - "Scope": 2, - "AllowRoles": [ - "FGC_Anonymous" - ] - }, - { - "Scope": 1, - "AllowRoles": [ - "FGC_Anonymous" - ] - }, - { - "Scope": 4, - "AllowRoles": [ - "FGC_Anonymous" - ] - } - ], - "ColorList": [ - { - "color": "Accent 1" - } - ], - "separator": ",", - "size": "large", - "effect": "light", - "allowAdd": false, - "addButtonSettings": { - "width": 100, - "text": "添加标签" - }, - "ReadOnly": true - }, - "TemplateCellSource": "版本名称" + "TemplateCellSource": "版本和版本号" }, - "1,3": { - "CellType": { - "$type": "ElementUI.Tag, ElementUI", - "CommandList": [], - "UIPermissions": [ - { - "Scope": 2, - "AllowRoles": [ - "FGC_Anonymous" - ] - }, - { - "Scope": 1, - "AllowRoles": [ - "FGC_Anonymous" - ] - }, - { - "Scope": 4, - "AllowRoles": [ - "FGC_Anonymous" - ] - } - ], - "ColorList": [ - { - "color": "Accent 2 0" - } - ], - "DefaultValue": "v1.0.0", - "separator": ",", - "size": "large", - "effect": "light", - "allowAdd": false, - "addButtonSettings": { - "width": 100, - "text": "添加标签" - }, - "distinct": false, - "ReadOnly": true - }, - "TemplateCellSource": "发布版本号" - }, - "1,5": { - "CssName": "ec-label", - "TemplateCellSource": "发布内容处理后" - }, - "1,7": { - "TemplateCellSource": "负责人_全名" - }, - "1,9": { + "1,37": { "TemplateCellSource": "发布时间" }, - "1,11": { + "3,1": { + "TemplateCellSource": "发布内容" + }, + "5,1": { + "TemplateCellSource": "负责人_全名" + }, + "5,39": { + "CssName": "hover-btn", "CellType": { "$type": "Forguncy.ButtonCellType, ServerDesignerCommon", "CommandList": [ @@ -177,51 +208,99 @@ "LoadBindingDataOption": 1 } ], - "Text": "详情", - "TemplateKey": "_RS_Information3" + "Text": "编辑", + "TemplateKey": "_RS_Minor3", + "Icon": { + "Name": "Application/024_edit_4.svg", + "BuiltIn": true, + "Color": "Background 1", + "UseCellTypeForeColor": true + }, + "IconSize": 12.0 } } }, "StyleDatas": { "Styles": [ + { + "FontSize": 13.333333333333332, + "FontWeight": 0, + "Foreground": 1, + "Formatter": 2 + }, + { + "FontSize": 13.333333333333332, + "Foreground": 3, + "Formatter": 4, + "HorizontalAlignment": 5 + }, { "FontSize": 12.0, - "Foreground": 0, - "Formatter": 1, + "Foreground": 3, + "Formatter": 4, + "HorizontalAlignment": 5 + }, + { + "FontSize": 12.0, + "Foreground": 3, + "HorizontalAlignment": 5 + }, + { + "FontSize": 13.333333333333332, + "Foreground": 6, "WordWrap": true }, { - "FontSize": 13.333333333333332, - "Foreground": 0, - "Formatter": 2, - "HorizontalAlignment": 3 + "FontFamily": 7, + "FontSize": 12.0, + "Foreground": 3, + "Formatter": 8 }, { - "FontSize": 13.333333333333332, - "Formatter": 2, - "HorizontalAlignment": 4 + "FontSize": 12.0, + "HorizontalAlignment": 9 } ], "Types": { "Strs": [ + "Bold", + "Accent 1 0", + "@\" 更新日志\"", "Text 1 50", - "General", "yyyy/m/d", "Right", - "Center", - "Body" + "Text 1 0", + "Body", + "\"发布人:\"@", + "Center" ] }, "CellStyles": { - "1,5": 0, - "1,9": 1, - "1,10": 1, - "1,11": 2 + "1,1": 0, + "1,37": 1, + "1,39": 2, + "1,40": 2, + "2,37": 3, + "2,38": 3, + "2,39": 3, + "2,40": 3, + "3,1": 4, + "3,39": 4, + "3,40": 4, + "5,1": 5, + "5,39": 6 }, "SheetStyle": { - "FontFamily": 5 + "FontFamily": 7 } }, + "Spans": [ + "3,1,1,40", + "1,37,1,4", + "1,1,1,35", + "5,1,1,5", + "5,39,1,2" + ], "PageInfo": { "$type": "Forguncy.Model.Pages.TemplatePage, ServerDesignerCommon", "ParentPageName": "项目发布历史" @@ -230,4 +309,4 @@ "PaperSize": {}, "Margin": {} } -}//TwkV6daOuYBBf1MtzDxOvESDgGx6EeOxINM110Eh6AHz2vE4treOaEGh4dZOjzhkpak5hRyJweXyvp/MMcIl9vpjCeKQiiAY4F8FCYvo3qtQcx9DxG9TpE6DgKhTm07haxuc7QSHQoONzM4nOzFvJMnjF6Nt2f7ZPYmzBb9+J7kf3hP/nzBtMyNwgEke3hUNBOGHgM9lEQJ73D/gNqnA092+rZq4iNBp57c/23lKS71w6Jidy1Pzvl2RGpuN/qmacj8lTBi4B/N0TWAYP0WO8/LMfrtmrVc4kQFHVPHTgBP6TLPgAftUcosW9RKTfZtdWAzSVpTVrMaQtNti0X2Kk71QX3nGQWTMKbtApzuVv8u5qqlaT9gXiuQ9Y7sUvc1hg6Z8M5kidcM0xpHRERhAXcBcRMWLQydvQX3joY16O3PWTnaNXZvysgS3MCY2a/uaGJbZsd3ia1LErIu3naQvDGBvonjhwVjabAfgFAjkLeqioK1eUiLK3qxsN2HOlcVnBNzmUAuBeShDh8jzaCsCp4UTpcl6PU2hAFvA/IX+wJKoMR872fRfmmc9TWO/iyUvkcyM8gqx9vtYLWdtHoLXSVc0+Krh3pQpHKO0gORe+srWoqPaJLFY/wu0zYHT+qTkyK+Q/QG88KSRGSr0Zl8PEIdTsl8H7POdEpjuAaA455DVWlbk40Bv6f0p4oP9Ja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Hp4tS0eol81jEGYUyXTl2zYpfAuID8IoP33slgqJH6jolrZrwSjbQKpxxBCZMej0gB0RY5A==|920 \ No newline at end of file diff --git a/Pages/86a6b47fab804262a2be25140e7ff23.rd b/Pages/86a6b47fab804262a2be25140e7ff23.rd index 7b397dd8..239e97b2 100644 --- a/Pages/86a6b47fab804262a2be25140e7ff23.rd +++ b/Pages/86a6b47fab804262a2be25140e7ff23.rd @@ -1,5 +1,5 @@ { "PageType": 2, - "ColumnCount": 13, - "RowCount": 3 + "ColumnCount": 42, + "RowCount": 7 } \ No newline at end of file diff --git a/Pages/项目/项目首页/项目首页-容器页面/项目发布/版本发布详情.json b/Pages/项目/项目首页/项目首页-容器页面/项目发布/版本发布详情.json index bf1f9577..141f8a83 100644 --- a/Pages/项目/项目首页/项目首页-容器页面/项目发布/版本发布详情.json +++ b/Pages/项目/项目首页/项目首页-容器页面/项目发布/版本发布详情.json @@ -382,11 +382,15 @@ "matchMethod": "contains", "loadingText": "加载中" }, - "noMatchText": "无匹配数据" + "noMatchText": "无匹配数据", + "IsDisabled": true }, "DataValidationInfo": { "IgnoreBlank": false - } + }, + "RulesGuidList": [ + "9692726c-332f-4ab8-b6d6-544de898e405" + ] }, "5,1": { "BindingInfo": { @@ -584,7 +588,7 @@ "ReloadData": true } ], - "ID": "6a01b27a-adda-4d24-b151-9c440c4b319e" + "ID": "366d1720-588d-47a9-a783-8f3da22b31c0" } ] } @@ -632,77 +636,117 @@ }, "CommandList": [ { - "$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon", - "TableName": "项目发布记录", - "UpdateType": "add", - "ShowConfirm": false, - "ReloadAfterSucceed": false, - "UpdateBindingValues": [ + "$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon", + "ServerCommandName": "新增项目发布记录", + "Parameters": [ { - "BindingInfo": { - "TableName": "项目发布记录", - "ColumnName": "发布时间", - "GUID": "188320d3-ac0a-45c8-8941-8b02d518590d" - }, + "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", + "ParamName": "项目ID", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=版本发布详情!项目ID" + } + }, + { + "$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": "=版本发布详情!B6" + } + }, + { + "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", + "ParamName": "发布人", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=版本发布详情!M6" + } + }, + { + "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", + "ParamName": "发布内容", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=版本发布详情!B9" + } + }, + { + "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", + "ParamName": "发布日期", "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=NOW()" } } ], - "NextUpdateDataTableCommand": { - "TableName": "项目动态", - "UpdateType": "add", - "ShowConfirm": false, - "CheckDataValidation": false, - "ReloadAfterSucceed": false, - "UpdateBindingValues": [ - { - "BindingInfo": { - "TableName": "项目动态", - "ColumnName": "项目ID", - "GUID": "0f26efde-60ea-40f9-ab25-4b8f6fd76fc1" + "ResultErrorCodeTo": { + "SerializeProperty": "code" + }, + "ResultMessageTo": { + "SerializeProperty": "msg" + }, + "RefreshAfterFinish": true, + "CheckDataValidation": true + }, + { + "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", + "ConditionAndCommandPairList": [ + { + "Condition": { + "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", + "param": { + "$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon", + "cellLocations": [ + { + "SerializeProperty": "=code" + } + ] }, - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=版本发布详情!项目ID" - } + "value": "0" }, - { - "BindingInfo": { - "TableName": "项目动态", - "ColumnName": "项目动态", - "GUID": "c996fccb-8cd5-46d4-adb5-3be4bd6f8c44" + "CommandList": [ + { + "$type": "Notiflix_Forguncy.Notify_Command, Notiflix_Forguncy", + "Message": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=版本发布详情!msg" + } }, - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=\"发布新版本\"&版本发布详情!B6" + { + "$type": "Forguncy.Model.ClosePopupCommand, ServerDesignerCommon", + "ReloadData": true } - }, - { - "BindingInfo": { - "TableName": "项目动态", - "ColumnName": "执行人", - "GUID": "b5ac9e15-9a4c-46a3-a836-cbdd865c4284" - }, - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=版本发布详情!M6" + ], + "ID": "e5b0b04b-6149-49ff-b374-c9259e700043" + }, + { + "CommandList": [ + { + "$type": "Notiflix_Forguncy.Report_Command, Notiflix_Forguncy", + "FunctionName": "warning", + "Title": "温馨提示", + "Message": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=版本发布详情!msg" + }, + "BtnText": "知道了" } - }, - { - "BindingInfo": { - "TableName": "项目动态", - "ColumnName": "类型", - "GUID": "723a57db-983d-4e1a-9800-cb13badd0567" - }, - "Value": "3" - } - ] - } + ], + "ID": "1ed8c591-bd70-44e4-8ad7-779a602943e8" + } + ] } ], - "ID": "4a362166-3b12-4403-9102-ef8bee4d797a" + "ID": "9f2a8bc5-a08a-4743-a79b-c3e85b75a5ca" }, { "CommandList": [ @@ -710,19 +754,19 @@ "$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon", "TableName": "项目发布记录", "ShowConfirm": false + }, + { + "$type": "Notiflix_Forguncy.Notify_Command, Notiflix_Forguncy", + "Message": "保存成功" + }, + { + "$type": "Forguncy.Model.ClosePopupCommand, ServerDesignerCommon", + "ReloadData": true } ], - "ID": "bc269828-47c5-4ded-989e-f432947de2a8" + "ID": "2e7d3db4-5257-44e8-b263-6df45449ae8a" } ] - }, - { - "$type": "Notiflix_Forguncy.Notify_Command, Notiflix_Forguncy", - "Message": "保存成功" - }, - { - "$type": "Forguncy.Model.ClosePopupCommand, ServerDesignerCommon", - "ReloadData": true } ], "Text": "保存", @@ -892,6 +936,22 @@ "IsDisabled": false, "IsInvisible": true, "IsReadOnly": false + }, + { + "$type": "Forguncy.ConditionFormat.FormulaRule, ServerDesignerCommon", + "Formula": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=ISBLANK(版本发布详情!ID)" + }, + "Priority": 1, + "GUID": "9692726c-332f-4ab8-b6d6-544de898e405", + "StyleInfo": { + "Underline": null, + "Strikethrough": null + }, + "IsDisabled": false, + "IsInvisible": false, + "IsReadOnly": false } ] } @@ -914,4 +974,4 @@ "Formula": "版本发布详情!$B$14" } ] -}//jNmgwEcWWo/f8W+RdpWAPXvtvHsUj8unLIdPw55Q7MUUXjQ+mTZLGji2egBXJnHSLuPi8KOQJDsLK/30VrimxIFuXYrHR/kkOQO+2llbepMNRlCG3L4bzA3BaLVuVLLNKE140Aag0e0lGxcR8sw0v6b8O9RdSTYeHr8v+S9C367iZasMc0j5Bb5biTBpmZlaY3fd1ZnlcVsfxEfRn290D49kUYrEM8dKvldEA2+Zd33KoLBrLJ3t/s8h0Hun3kRuQNgz2YerFd0t0copZ7fMirm63syIoztcPgUMlI8LVBJ2K6X1wQrKqeoAGqetKp1kCUXxkGb4zYXADMZWjwdXPVnuwQnMOqTG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5c63RCxbDH8PK/ePa7cXNt7O4jO2DVhPiZ27S8uZnK/xF+TVajU4nG5QpoARDSDd60DqGx/f3Y/oOVHAmz5n51/yiZayNC26vHk5kXRVGgK4LyuVJtLeCjNLK2EmpFnW59Ikg4UYOiWGUFrotBME6UpdAyr8zibBs25nefNxBHpAn0ngGmD9rh9/wRaXIgptvmXICwHsGuI5iylqN3NSiDTyP9xyHH+lm77vKNz6/+TcIHOh2g6RMRBSdx0O6xtLdgNmYDk3DWoM546yeu8AXErEdRm+3MCsWIUQ37RIU3tEb+N/WExCl6irBaNw8v3biixkOamX7HWmUVSVG10o0q0YoKYZK4ir2KzgkCbz2qIKolDchE7lLLoGd/TKLZF7LCDi55tAfOtgKvbp3Ct5uTb6SnYKbYGgi/++XLCVg==|920 \ No newline at end of file diff --git a/Pages/项目/项目首页/项目首页-容器页面/项目发布/项目发布历史.json b/Pages/项目/项目首页/项目首页-容器页面/项目发布/项目发布历史.json index f380d1bc..4113795b 100644 --- a/Pages/项目/项目首页/项目首页-容器页面/项目发布/项目发布历史.json +++ b/Pages/项目/项目首页/项目首页-容器页面/项目发布/项目发布历史.json @@ -46,16 +46,6 @@ } }, "8": { - "GridRowColumnDefinition": { - "DesignLengthInPixel": 50.0 - } - }, - "9": { - "GridRowColumnDefinition": { - "DesignLengthInPixel": 10.0 - } - }, - "10": { "GridRowColumnDefinition": { "DesignLengthInPixel": 425.0, "Mode": 2, @@ -67,23 +57,12 @@ } } }, - "11": { - "GridRowColumnDefinition": { - "DesignLengthInPixel": 10.0 - } - }, - "12": { - "GridRowColumnDefinition": { - "DesignLengthInPixel": 44.0, - "Mode": 1 - } - }, - "13": { + "9": { "GridRowColumnDefinition": { "DesignLengthInPixel": 16.0 } }, - "14": { + "10": { "GridRowColumnDefinition": { "DesignLengthInPixel": 32.0, "IsHidden": true @@ -95,9 +74,9 @@ 3, 4, 5, - 14 + 10 ], - "Count": 15, + "Count": 11, "DefaultSize": 32.0 }, "Cols": { @@ -249,8 +228,7 @@ "3,11": "版本", "3,21": "发布人", "5,4": "查询", - "5,7": "重置", - "8,1": "项目发布历史_列头" + "5,7": "重置" }, "AttachInfos": { "1,4": { @@ -304,11 +282,11 @@ { "TargetCells": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=项目发布历史!B15" + "SerializeProperty": "=项目发布历史!B11" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=NOT(项目发布历史!B15)" + "SerializeProperty": "=NOT(项目发布历史!B11)" } } ] @@ -717,12 +695,6 @@ } }, "8,1": { - "CellType": { - "$type": "Forguncy.ContentContainerCellType, ServerDesignerCommon", - "PageName": "项目发布历史_列头" - } - }, - "10,1": { "CellType": { "$type": "Forguncy.RepeaterCellType, ServerDesignerCommon", "TemplatePageName": "86a6b47fab804262a2be25140e7ff23", @@ -817,11 +789,23 @@ "GUID": "73ec4f6c-befc-4e67-95a9-3c79985e161b", "Formula": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=SUBSTITUTE(项目发布历史!发布内容,CHAR(10),\" \")" + "SerializeProperty": "=项目发布历史!版本名称&\"-\"&项目发布历史!发布版本号" }, - "ColumnName": "发布内容处理后" + "ColumnName": "版本和版本号" } ], + "OrderBySqlCondition": { + "OrderByColumns": [ + { + "ColumnBindingInfo": { + "TableName": "项目发布记录", + "ColumnName": "发布时间", + "GUID": "7b99d4b1-f4d0-4db2-98e9-2ad9791c1b9f" + }, + "Order": 1 + } + ] + }, "IsListviewDataSource": true, "CustomColumns": [] }, @@ -847,53 +831,7 @@ } } }, - "12,1": { - "CellType": { - "$type": "ElementUI.CellTypes.PaginationCellType, ElementUI", - "ListviewName": "图文列表表格1", - "pageSize": 20, - "pagerCount": 7, - "layout": [ - { - "layoutItem": "sizes" - }, - { - "layoutItem": "prev" - }, - { - "layoutItem": "pager" - }, - { - "layoutItem": "next" - }, - { - "layoutItem": "->" - }, - { - "layoutItem": "total" - } - ], - "pageSizes": [ - {}, - { - "value": 20 - }, - { - "value": 30 - }, - { - "value": 40 - }, - { - "value": 50 - }, - { - "value": 100 - } - ] - } - }, - "14,1": { + "10,1": { "CellType": { "$type": "Forguncy.CheckBoxCellType, ServerDesignerCommon", "Caption": "展示筛选", @@ -909,7 +847,7 @@ }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=项目发布历史!B15" + "SerializeProperty": "=项目发布历史!B11" } } ] @@ -1159,7 +1097,7 @@ "6,39": 5, "6,40": 5, "6,41": 5, - "10,1": 6 + "8,1": 6 }, "SheetStyle": { "FontFamily": 0 @@ -1167,10 +1105,8 @@ }, "Spans": [ "8,1,1,41", - "10,1,1,41", "1,32,1,10", - "12,1,1,41", - "14,1,1,4", + "10,1,1,4", "3,1,1,3", "1,1,1,3", "3,4,1,6", @@ -1216,4 +1152,4 @@ "PaperSize": {}, "Margin": {} } -}//GHbSQLCdvj/h1u1/0UBh62phFTIOSJRxkIRDVTA9z6zUrtMKm7DiF9ynUxIxjFLnmqgWlyznbz3guZY90CHqDLAjilEO4KcqOo3CFk/+iQmaEsFh0cRTntJVa3vWUjsFFVc9FnAW3vuhV13UyFvE9YDImCyRp9jabsxQjUjbrbtQaRmDRqZheWXVrlVptaMayMMy7mgLCj0iM4A6Vid1if5IXVS/+Kdh4mIyHYaIoxsJz2BVbpiWBbCrPKnR6tLIb1m3dDI7k+4OUlSTahkagciGasnJQHNVrnUPdaflJ/MGNpYVRNffvbvA4b0aQ5wJ3vwU2hneuZDK025J/t7jvMPHd7TAQmP4DYQCScH0ysm6fJk7Q50+E64Kve4w7jy8SMwKYfUd3eCoCemfpfFTX5+ISD5CA7HzfrmBs/ZoCx3TyljIBhDNwoVa7P7LtAXzO9NebwgHVHNoV7QWh1sKr2pAtF8Av9d+776z/ByNyaXipOVoT/yjBpQdEq6w4M9ShOfP57PSTuXXDYx3AfA6BaPW4K/pSX37WL9W6qYuvfF0Q6kD3P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/IJEvP7GGjSt7mCghqVJhHuYp67mr8b4YA42meSTWJ2wsqptzgfp+q3EpbKUOdkc3LWQcwCy5yTMlqtknwClHNkZeG2ZQ9KDQ9yWyZl4Jlg5l84qPbpppn2yZ+b3lyRyrUPMfbvfVT3ivuiYZ8Zg0idMA5/Zhe+fuv/qKBUrZ5oFmFSxBVAWzsilJRA3giuLdjSF9pXRWEg==|920 \ No newline at end of file diff --git a/Pages/项目/项目首页/项目首页-容器页面/项目发布/项目发布历史.rd b/Pages/项目/项目首页/项目首页-容器页面/项目发布/项目发布历史.rd index 9f06cce7..d216c2cd 100644 --- a/Pages/项目/项目首页/项目首页-容器页面/项目发布/项目发布历史.rd +++ b/Pages/项目/项目首页/项目首页-容器页面/项目发布/项目发布历史.rd @@ -1,5 +1,5 @@ { "PageType": 0, "ColumnCount": 43, - "RowCount": 15 + "RowCount": 11 } \ No newline at end of file diff --git a/ServerCommands/项目/新增项目发布记录.json b/ServerCommands/项目/新增项目发布记录.json new file mode 100644 index 00000000..6e106aca --- /dev/null +++ b/ServerCommands/项目/新增项目发布记录.json @@ -0,0 +1,397 @@ +{ + "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": { + "IgnoreBlank": false + } + }, + { + "Name": "版本ID", + "DataValidationInfo": { + "IgnoreBlank": false + } + }, + { + "Name": "版本号", + "DataValidationInfo": { + "IgnoreBlank": false + } + }, + { + "Name": "发布人", + "DataValidationInfo": { + "IgnoreBlank": false + } + }, + { + "Name": "发布内容", + "DataValidationInfo": { + "IgnoreBlank": false + } + }, + { + "Name": "发布日期", + "DataValidationInfo": { + "IgnoreBlank": false + } + } + ] + } + ], + "Commands": [ + { + "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", + "ParameterName": "项目信息", + "TableValue": { + "TableName": "项目表", + "TableValueType": 1, + "BindingInfos": [ + { + "GUID": "bf4c3db0-a361-4ae8-adaf-8aa3410997da", + "BindingInfo": { + "TableName": "项目表", + "ColumnName": "项目状态", + "GUID": "aa51a941-d3e7-4baf-a91a-4cf84bd0cd8b" + }, + "ColumnName": "项目状态" + } + ], + "SqlCondition": { + "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", + "ColumnBindingInfo": { + "TableName": "项目表", + "ColumnName": "ID", + "GUID": "8111b9b4-3fa5-4446-b71f-916ec0401129" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=项目ID" + } + }, + "NullFormulaValueQueryPolicy": 0 + }, + "ID": "e59faa9171bc44049aea1c4eaafd1ad4" + }, + { + "$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": "版本信息", + "TableValue": { + "TableName": "项目版本", + "TableValueType": 1, + "BindingInfos": [ + { + "GUID": "5c2ad450-39e6-427e-a249-8586576e2cec", + "BindingInfo": { + "TableName": "项目版本", + "ColumnName": "版本名称", + "GUID": "d71c18fd-1d51-4b55-8093-94127f2b4baf" + }, + "ColumnName": "版本名称" + } + ], + "SqlCondition": { + "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", + "ColumnBindingInfo": { + "TableName": "项目版本", + "ColumnName": "ID", + "GUID": "d7d8713d-b688-4bdf-90b5-3bac0d089a20" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=版本ID" + } + } + }, + "ID": "63a5811bbb8041c0bd4b1e631aa872d4" + }, + { + "$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": "版本号检测", + "TableValue": { + "TableName": "项目发布记录", + "TableValueType": 3, + "SqlCondition": { + "$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess", + "SubConditions": [ + { + "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", + "ColumnBindingInfo": { + "TableName": "项目发布记录", + "ColumnName": "版本ID", + "GUID": "336b1d01-b1ca-4c03-8ae2-f506383eb947" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=版本ID" + } + }, + { + "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", + "ColumnBindingInfo": { + "TableName": "项目发布记录", + "ColumnName": "发布版本号", + "GUID": "a6565c88-123c-4ac0-ad7c-12c9826bd2e1" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=版本号" + } + } + ] + }, + "NullFormulaValueQueryPolicy": 0 + }, + "ID": "79c7e79d2d1a4763be61e6f11f2e3ba5" + }, + { + "$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": "0" + }, + "CommandList": [ + { + "$type": "Forguncy.Model.ServerTransactionCommand, ServerDesignerCommon", + "CommandList": [ + { + "$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon", + "TableName": "项目发布记录", + "UpdateType": "add", + "ShowConfirm": false, + "UpdateBindingValues": [ + { + "BindingInfo": { + "TableName": "项目发布记录", + "ColumnName": "项目ID", + "GUID": "abf59017-f3eb-46de-8788-1650b32b1da9" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=项目ID" + } + }, + { + "BindingInfo": { + "TableName": "项目发布记录", + "ColumnName": "版本ID", + "GUID": "1ca2f56c-aef3-4585-9b35-25869cd5c040" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=版本ID" + } + }, + { + "BindingInfo": { + "TableName": "项目发布记录", + "ColumnName": "发布版本号", + "GUID": "1bbfdab0-bef1-4efa-8b53-a910117223b5" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=版本号" + } + }, + { + "BindingInfo": { + "TableName": "项目发布记录", + "ColumnName": "负责人", + "GUID": "1a35cc74-4d77-4a34-89bf-3b5c465277c0" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=发布人" + } + }, + { + "BindingInfo": { + "TableName": "项目发布记录", + "ColumnName": "发布时间", + "GUID": "7fd96835-b9ba-4314-bd7d-ea7916124409" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=发布日期" + } + }, + { + "BindingInfo": { + "TableName": "项目发布记录", + "ColumnName": "发布内容", + "GUID": "bf7d9396-1423-4138-b01c-f023459f6080" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=发布内容" + } + } + ] + }, + { + "$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon", + "TableName": "项目动态", + "UpdateType": "add", + "ShowConfirm": false, + "UpdateBindingValues": [ + { + "BindingInfo": { + "TableName": "项目动态", + "ColumnName": "项目ID", + "GUID": "0ffdd8fc-e152-41fd-820d-d7c761e64670" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=项目ID" + } + }, + { + "BindingInfo": { + "TableName": "项目动态", + "ColumnName": "项目动态", + "GUID": "d9b8cb73-6cd8-4182-bab3-dcd2bd4fee47" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=\"版本[\"&版本信息.版本名称&\"]发布了\"&版本号&\"版本\"" + } + }, + { + "BindingInfo": { + "TableName": "项目动态", + "ColumnName": "执行人", + "GUID": "fe073ef6-2867-4245-8dc5-6928929bd1d0" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=发布人" + } + }, + { + "BindingInfo": { + "TableName": "项目动态", + "ColumnName": "类型", + "GUID": "f6030bc1-0969-4a3c-9bd0-1ad13659fb12" + }, + "Value": "发布" + } + ] + } + ] + }, + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": "0", + "Message": "新增成功" + } + ], + "ID": "f6c1eb8b-9551-4464-818d-3cadf009d7b1" + }, + { + "CommandList": [ + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": "400", + "Message": "该版本号已被使用,请更换版本号后重试!" + } + ], + "ID": "ff7974ca-18d2-40a0-b687-dee2737bf612" + } + ] + } + ], + "ID": "9ffb7cb9-ac90-456d-885e-100a060dd20b" + }, + { + "CommandList": [ + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": "400", + "Message": "版本不存在,请重新指定要发布的版本" + } + ], + "ID": "4fcd1aae-3155-4bb8-94ad-3243b1a6cee1" + } + ] + } + ], + "ID": "d714b919-eae1-4990-b41d-f51a3e8aa318" + }, + { + "CommandList": [ + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": "400", + "Message": "项目不存在" + } + ], + "ID": "8c8ff43c-0138-446f-8a61-139f3b501879" + } + ] + } + ] +} \ No newline at end of file