{"Message":"创建日报详情","MessageType":2,"Modules":[{"State":1,"Type":1,"Name":"PCPage/日报首页"},{"State":1,"Type":1,"Name":"PCPage/模板详情"},{"State":1,"Type":15,"Name":"ServerCommand/根据汇报模板生成内容"},{"State":3,"Type":1,"Name":"PCPage/日报详情"},{"State":3,"Type":27,"Name":"ServerCommandPrivate/单日自动生成工作日报"}],"Version":"v1"}

This commit is contained in:
TYFEIKELE\tyfeikele
2024-06-12 21:58:21 +08:00
parent 9e60570778
commit 82b48d3508
11 changed files with 1700 additions and 86 deletions

View File

@@ -22,22 +22,32 @@
"DesignLengthInPixel": 32.0
}
},
"5": {
"8": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
"DesignLengthInPixel": 32.0,
"Mode": 1,
"IsHidden": true
}
},
"6": {
"9": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0,
"IsHidden": true
}
},
"7": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 434.0
}
}
},
"InLogicalVisibleIndexes": [
6
6,
7,
8,
9
],
"Count": 7,
"Count": 10,
"DefaultSize": 32.0
},
"Cols": {
@@ -147,8 +157,10 @@
"DefaultSize": 32.0
},
"Values": {
"4,17": "预览",
"4,21": "确认内容",
"6,12": "%CurrentUser.FullName%"
"9,12": "%CurrentUser.FullName%",
"9,17": "shamus"
},
"AttachInfos": {
"1,1": {
@@ -184,6 +196,120 @@
"resize": "none"
}
},
"4,17": {
"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.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon",
"cellLocations": [
{
"SerializeProperty": "=模板详情!code"
}
]
},
"value": "0"
},
"CommandList": [
{
"$type": "Forguncy.Model.SetCellPropertyCommand, ServerDesignerCommon",
"PropertyItemsList": [
{
"TargetCells": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=模板详情!B8"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=模板详情!返回内容"
}
}
]
}
],
"ID": "cd6b9ab3-9cc6-4065-b645-fbe92e2d0c5a"
},
{
"CommandList": [
{
"$type": "ElementUI.Commands.ShowMessageBox, ElementUI",
"Title": "提示",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=模板详情!msg"
},
"Type": "error",
"ConfirmButtonText": "确定",
"CancelButtonText": "取消",
"ShowClose": false,
"AdvancedSettings": {}
}
],
"ID": "e93eb596-be4b-4475-b625-1395922eaee8"
}
]
}
],
"Text": "预览",
"TemplateKey": "_RS_Main1"
}
},
"4,21": {
"CellType": {
"$type": "Forguncy.ButtonCellType, ServerDesignerCommon",
@@ -201,23 +327,66 @@
"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"
}
}
},
"StyleDatas": {
"Styles": [
{
"Formatter": 0
}
],
"Types": {
"Strs": [
"@",
"Body"
]
},
"CellStyles": {
"9,17": 0
},
"SheetStyle": {
"FontFamily": 0
"FontFamily": 1
}
},
"Spans": [
"6,1,1,11",
"9,1,1,11",
"4,21,1,4",
"6,12,1,5",
"1,1,2,24"
"9,12,1,5",
"1,1,2,24",
"7,1,1,24",
"4,17,1,3",
"9,17,1,4"
],
"PageInfo": {
"$type": "Forguncy.Model.Pages.NormalPage, ServerDesignerCommon",
@@ -245,11 +414,11 @@
"CustomNames": [
{
"Name": "日期",
"Formula": "模板详情!$B$7"
"Formula": "模板详情!$B$10"
},
{
"Name": "汇报人",
"Formula": "模板详情!$M$7"
"Formula": "模板详情!$M$10"
}
]
}//finC0/WEnN0J4Tq07DviXI6dQlcS6kXx1oA1VGhib6ljcqxROxXgVYTg8GH5WvXcjZM53S08rDXTDHVK6atRmmaG5tSfvVEypMCfeZuk/DnbGV65I/Kwk7PHb6SAkPbg9SD6AGi9oxoM+VeMNDGmjzdoNymYhtaxOBvxmpNX+hOrQtZbmKmxgWPDaLJFpcWjQyNGZ4zLA/EE6OxqFVsuY2zR9/swNft7Awd4Ju/adXOX9t7555GziUhRfZc38MUZYFsHuJYUcglON5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cI6Dd13xGq4f0LPgxizWJRanYvspKzEFzLZMU2F4sbPDgBa2SQ2cI4ouZBR3t5z+mZF9bdZkle21JDCSWoBXqRmaftsQ9jbabDl2ked03Y0ZZJP58ZJU1kVzsc44s4fEXxoyPo+R0kdn/PGqI9KEmQNMhTza7NQNNQCi6Z2e5e4S/4SytijmVs0G0may6rzznASNajlsslDkjtolNkLW7IhAPxTK0TB0iIULIEnfOvHCsPtijcdkqv9MpHxQazsE7kIdDtbLu5tC4UW4oQU8fAXS5N/j/YpT6/cnCOHLdSzEwAYwZOg1lUlrYFq2GHO0eOPuhjz/yc1aG3Gjot8VtEmiT+lu/Ssx6ekdV0aZByhsTD8/mFnNNUGUEs8zXmDadVQan+oM3qz5MmJCQfgSctmpUWfWfigigDTRh7krbUAPzotVB+3kW0F4mxiUhQv388lJwVodOQ52Wv/bQczlDkPRss1DOroPDTNc9lDN3g==|920

View File

@@ -1,15 +1,15 @@
{
"PageType": 0,
"ColumnCount": 26,
"RowCount": 7,
"RowCount": 10,
"CustomNames": [
{
"Name": "日期",
"Formula": "模板详情!$B$7"
"Formula": "模板详情!$B$10"
},
{
"Name": "汇报人",
"Formula": "模板详情!$M$7"
"Formula": "模板详情!$M$10"
}
]
}