{"Message":"创建日报模板列表、详情页面及相关功能,完善个人日报计划任务、编辑、删除功能","MessageType":2,"Modules":[{"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":15,"Name":"ServerCommand/根据汇报模板生成内容"},{"State":1,"Type":1,"Name":"PCPage/日报详情"},{"State":1,"Type":27,"Name":"ServerCommandPrivate/单日自动生成工作日报"},{"State":3,"Type":21,"Name":"SchedulerTasks/工作汇报"},{"State":3,"Type":16,"Name":"TaskScheduler/计划任务1"},{"State":3,"Type":16,"Name":"TaskScheduler/每日根据报工自动生成工作日报"},{"State":3,"Type":15,"Name":"ServerCommand/修改工作日报"}],"Version":"v1"}

This commit is contained in:
TYFEIKELE\tyfeikele
2024-06-14 21:59:18 +08:00
parent be1fd45fab
commit 171cae4006
17 changed files with 1807 additions and 1889 deletions

View File

@@ -6,48 +6,38 @@
"DesignLengthInPixel": 32.0
}
},
"1": {
"4": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 358.0
}
},
"2": {
"5": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 67.0,
"Mode": 1
}
},
"3": {
"6": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
"DesignLengthInPixel": 16.0
}
},
"8": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0,
"Mode": 1,
"IsHidden": true
"DesignLengthInPixel": 16.0
}
},
"9": {
"11": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0,
"IsHidden": true
}
},
"7": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 434.0
}
}
},
"InLogicalVisibleIndexes": [
6,
7,
8,
9
11
],
"Count": 10,
"Count": 12,
"DefaultSize": 32.0
},
"Cols": {
@@ -157,13 +147,53 @@
"DefaultSize": 32.0
},
"Values": {
"4,17": "预览",
"4,21": "确认内容",
"9,12": "%CurrentUser.FullName%",
"9,17": "shamus"
"1,1": "模板名称:",
"3,1": "模板内容",
"7,1": "是否禁用",
"9,16": "取消",
"9,21": "保存"
},
"Formulas": {
"7,1": "IF(C8=1,\"禁用\",\"启用\")"
},
"AttachInfos": {
"1,1": {
"1,4": {
"BindingInfo": {
"TableName": "汇报模板",
"ColumnName": "模板名称",
"GUID": "b2c34817-bbbd-480a-b527-795dcb42e9f9"
},
"CellType": {
"$type": "ElementUI.InputCellType, ElementUI",
"CommandList": [],
"UIPermissions": [
{
"Scope": 2,
"AllowRoles": [
"FGC_Anonymous"
]
},
{
"Scope": 1,
"AllowRoles": [
"FGC_Anonymous"
]
},
{
"Scope": 4,
"AllowRoles": [
"FGC_Anonymous"
]
}
],
"type": "text",
"resize": "none"
},
"DataValidationInfo": {
"IgnoreBlank": false
}
},
"4,1": {
"BindingInfo": {
"TableName": "汇报模板",
"ColumnName": "模板内容",
@@ -196,197 +226,210 @@
"resize": "none"
}
},
"4,17": {
"7,1": {
"RulesGuidList": [
"2444e692-9a55-4c10-9996-1db345c2cddf"
]
},
"7,2": {
"BindingInfo": {
"TableName": "汇报模板",
"ColumnName": "是否禁用",
"GUID": "60c28094-b784-46b3-8ed6-d629f3884c1e"
},
"CellType": {
"$type": "Forguncy.CheckBoxCellType, ServerDesignerCommon",
"Style": 2
}
},
"9,16": {
"CellType": {
"$type": "Forguncy.ButtonCellType, ServerDesignerCommon",
"CommandList": [
{
"$type": "Forguncy.Model.SetRowColumnLayoutCommand, ServerDesignerCommon",
"PropertyItemsList": [
{
"Location": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=模板详情!7:9"
},
"Value": true
}
]
},
{
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
"ServerCommandName": "根据汇报模板生成内容",
"Parameters": [
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "汇报人",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=模板详情!R10"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "生成日期",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=TODAY()-1"
}
}
],
"ResultErrorCodeTo": {
"SerializeProperty": "code"
},
"ResultMessageTo": {
"SerializeProperty": "msg"
},
"ReturnPropertiesTo": [
{
"ResultPropertyName": "生成文本",
"ResultTo": {
"SerializeProperty": "返回内容"
}
}
],
"RefreshAfterFinish": true,
"CheckDataValidation": true
},
"$type": "Forguncy.Model.ClosePopupCommand, ServerDesignerCommon"
}
],
"Text": "取消",
"TemplateKey": "_RS_Minor3",
"Icon": {
"Name": "Mobile/456_delete_8.svg",
"BuiltIn": true,
"Color": "Background 1",
"UseCellTypeForeColor": true
},
"IconSize": 14.0
}
},
"9,21": {
"CellType": {
"$type": "Forguncy.ButtonCellType, ServerDesignerCommon",
"CommandList": [
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon",
"cellLocations": [
{
"SerializeProperty": "=模板详情!code"
}
]
},
"value": "0"
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SubConditions": [
{
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon",
"cellLocations": [
{
"SerializeProperty": "=模板详情!E2"
}
]
},
"value": "%Null%",
"compareType": 1
},
{
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon",
"cellLocations": [
{
"SerializeProperty": "=模板详情!B5"
}
]
},
"value": "%Null%",
"compareType": 1
}
]
},
"CommandList": [
{
"$type": "Forguncy.Model.SetCellPropertyCommand, ServerDesignerCommon",
"PropertyItemsList": [
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"TargetCells": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=模板详情!B8"
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon",
"cellLocations": [
{
"SerializeProperty": "=模板详情!B12"
}
]
},
"value": "%Null%"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=模板详情!返回内容"
}
"CommandList": [
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "汇报模板",
"UpdateType": "add",
"ShowConfirm": false
}
],
"ID": "d2911751-6bd1-4978-9a54-0527854b1e53"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "汇报模板",
"ShowConfirm": false
}
],
"ID": "a19e211e-b223-47e4-bf1d-8b9c0935cd73"
}
]
},
{
"$type": "Forguncy.Model.ClosePopupCommand, ServerDesignerCommon",
"ReloadData": true
}
],
"ID": "cd6b9ab3-9cc6-4065-b645-fbe92e2d0c5a"
"ID": "7d2cdf6d-aa46-4eda-8163-b7d2c28ceb50"
},
{
"CommandList": [
{
"$type": "ElementUI.Commands.ShowMessageBox, ElementUI",
"Title": "提示",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=模板详情!msg"
},
"Type": "error",
"Message": "请输入模板名称及模板内容!",
"Type": "warning",
"ConfirmButtonText": "确定",
"CancelButtonText": "取消",
"ShowClose": false,
"AdvancedSettings": {}
}
],
"ID": "e93eb596-be4b-4475-b625-1395922eaee8"
"ID": "7b0d1ef3-4d9b-4820-92fd-20dda826f75c"
}
]
}
],
"Text": "预览",
"TemplateKey": "_RS_Main1"
"Text": "保存",
"TemplateKey": "_RS_Main1",
"Icon": {
"Name": "Application/067_save_4.svg",
"BuiltIn": true,
"Color": "Background 1",
"UseCellTypeForeColor": true
},
"IconSize": 14.0
}
},
"4,21": {
"CellType": {
"$type": "Forguncy.ButtonCellType, ServerDesignerCommon",
"CommandList": [
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "汇报模板",
"ShowConfirm": false
},
{
"$type": "Forguncy.Model.ClosePopupCommand, ServerDesignerCommon",
"ReloadData": true
}
],
"Text": "确认内容",
"TemplateKey": "_RS_Main1"
}
},
"7,1": {
"CellType": {
"$type": "TinyRichEditor.TinyRichEditorCellType, TinyRichEditor",
"UIPermissions": [
{
"Scope": 4,
"AllowRoles": [
"FGC_Anonymous"
]
},
{
"Scope": 1,
"AllowRoles": [
"FGC_Anonymous"
]
}
]
}
},
"9,17": {
"CellType": {
"$type": "Forguncy.TextCellType, ServerDesignerCommon",
"CellDefaultValue": "shamus",
"SavedValidators": [
{
"$type": "Forguncy.CellTypes.Models.UniqueValidadator, ServerDesignerCommon"
}
],
"TemplateKey": "_RS_NewLittleRoundCorner"
"11,1": {
"BindingInfo": {
"TableName": "汇报模板",
"ColumnName": "ID",
"GUID": "579bbb18-4d2b-4d39-b0eb-5628439235a6"
}
}
},
"StyleDatas": {
"Styles": [
{
"Formatter": 0
"FontSize": 13.333333333333332
},
{
"FontSize": 13.333333333333332,
"Foreground": 0,
"HorizontalAlignment": 1
},
{
"FontFamily": 2
},
{
"FontSize": 13.333333333333332,
"Foreground": 3
}
],
"Types": {
"Strs": [
"@",
"Body"
"Accent 2 0",
"Left",
"Body",
"Text 1 50"
]
},
"CellStyles": {
"9,17": 0
"1,1": 0,
"3,1": 0,
"7,1": 1,
"7,2": 2,
"7,3": 2,
"7,4": 2,
"9,16": 3,
"9,21": 0
},
"SheetStyle": {
"FontFamily": 1
"FontFamily": 2
}
},
"Spans": [
"9,1,1,11",
"4,21,1,4",
"9,12,1,5",
"1,1,2,24",
"7,1,1,24",
"4,17,1,3",
"9,17,1,4"
"9,21,1,4",
"4,1,2,24",
"9,16,1,4",
"11,1,1,4",
"1,4,1,21",
"7,2,1,3"
],
"PageInfo": {
"$type": "Forguncy.Model.Pages.NormalPage, ServerDesignerCommon",
@@ -405,20 +448,27 @@
]
},
"RowBreakLines": [],
"RepeatRangeSettings": []
"RepeatRangeSettings": [],
"ConditionFormatRulesCollection": {
"Rules": [
{
"$type": "Forguncy.ConditionFormat.FormulaRule, ServerDesignerCommon",
"Formula": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=模板详情!$C$8"
},
"GUID": "2444e692-9a55-4c10-9996-1db345c2cddf",
"StyleInfo": {
"Foreground": "#FFFF0000",
"Underline": null,
"Strikethrough": null
}
}
]
}
},
"PrintInfo": {
"PaperSize": {},
"Margin": {}
},
"CustomNames": [
{
"Name": "日期",
"Formula": "模板详情!$B$10"
},
{
"Name": "汇报人",
"Formula": "模板详情!$M$10"
}
]
}//fIiYkh20M7qZc+7p7GAKR1UibPdzhjVIFHVB7qYX7jh2SG/P09DwbuBXxhTxYDM4ZnXY7S3Jp5ZLVB8eMA7poM7WquhhaXtJD9zhk5Nkd+Rk0hzVb9vsDxP+E7nmObxDKoIm7Ur98iqQbViVFV6/e308ETbdW47zAyEM5qvh07tRqrMlgCzokwILrVxlkoiP3AotVnjAxCh01qQhS83Bl9jL3J9h25mJd8S/2AQ6R9BcwHIyYqwIDYQM3LsX/H8X9Z4LpQeekolCOplYY1f/YlYxx/PAC35btA1dTLlNZN9oZJs3yBm6prKTGfFP9+yfpmPaX5nTvNDtBKPr6FVvkGjJoCwlnL9scIlDdHNC69lreWY1ZXE+cq1ICUegszrYw/rTVe2PdCmi0+jVbWoYC2zTwIlYMDV/rHzvxM7E3X+wcI6Dd13xGq4f0LPgxizWJRanYvspKzEFzLZMU2F4sbPDgBa2SQ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