Files
clue/Pages/汇报/日报/日报详情.json

900 lines
27 KiB
JSON

{
"Rows": {
"RowColumnAttachedInfos": {
"0": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 22.0
}
},
"1": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 14.0,
"IsHidden": true
}
},
"2": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 50.0
}
},
"3": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 15.0
}
},
"5": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 15.0
}
},
"7": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 15.0
}
},
"8": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 321.0
}
},
"9": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0,
"Mode": 2,
"MinLength": {
"Unit": 1
},
"MaxLength": {
"Value": 1.0
}
}
},
"12": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"13": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"14": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 39.0,
"IsHidden": true
}
}
},
"InLogicalVisibleIndexes": [
1,
14
],
"Count": 15,
"DefaultSize": 32.0
},
"Cols": {
"RowColumnAttachedInfos": {
"0": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"1": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"2": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"3": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"4": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"5": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"6": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"7": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"8": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"11": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"13": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"14": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"15": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"16": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"17": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"18": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"19": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"20": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"21": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"22": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 31.0
}
}
},
"Count": 23,
"DefaultSize": 32.0
},
"Values": {
"4,1": "汇报人:",
"4,4": "%CurrentUser.UserName%",
"6,1": "昨日工时:",
"6,20": "小时",
"8,1": "昨日工作:",
"11,18": "保存",
"12,1": "*日报指的是昨日的工作总结。",
"14,13": "%CurrentUser.UserName%",
"14,16": "%CurrentUser.FullName%",
"14,19": "%CurrentUser.UserName%"
},
"Formulas": {
"2,1": "IF(汇报日期=\"\",今日日期,汇报日期)&\"工作日报\"",
"4,4": "IF(E5=\"\",用户名,E5)",
"14,7": "TEXT(TODAY(),\"yyyy-mm-dd\")"
},
"AttachInfos": {
"4,4": {
"BindingInfo": {
"TableName": "汇报记录表",
"ColumnName": "汇报人",
"GUID": "725c94dd-5797-482d-a9d9-4b45e706a0c9"
}
},
"4,20": {
"CellType": {
"$type": "Forguncy.ImageCellType, ServerDesignerCommon",
"CommandList": [
{
"$type": "ElementUI.Commands.ShowMessageBox, ElementUI",
"Title": "提示",
"Message": "将为您清空当前汇报内容,由报工数据重新生成日报?",
"Type": "warning",
"ConfirmButtonText": "确定",
"ShowCancelButton": true,
"CancelButtonText": "取消",
"DialogResult": "结果",
"AdvancedSettings": {}
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon",
"cellLocations": [
{
"SerializeProperty": "=日报详情!结果"
}
]
},
"value": "confirm"
},
"CommandList": [
{
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
"ServerCommandName": "根据汇报模板生成内容",
"Parameters": [
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "汇报人",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=日报详情!E5"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "生成日期",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=IF(日报详情!汇报日期=\"\",日报详情!今日日期,日报详情!汇报日期)-1"
}
}
],
"ResultErrorCodeTo": {
"SerializeProperty": "code"
},
"ResultMessageTo": {
"SerializeProperty": "msg"
},
"ReturnPropertiesTo": [
{
"ResultPropertyName": "生成文本",
"ResultTo": {
"SerializeProperty": "生成内容"
}
},
{
"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": "=日报详情!E7"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=日报详情!总工时"
}
},
{
"TargetCells": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=日报详情!E9"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=日报详情!生成内容"
}
}
]
}
],
"ID": "ea365cfd-f31d-4d11-97d8-3096e3d0fe60"
},
{
"CommandList": [
{
"$type": "ElementUI.Commands.ShowMessageBox, ElementUI",
"Title": "提示",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=日报详情!msg"
},
"Type": "warning",
"ConfirmButtonText": "确定",
"CancelButtonText": "取消",
"ShowClose": false,
"AdvancedSettings": {}
}
],
"ID": "4dd07cc0-b4f7-4060-8e5b-c63b1de372da"
}
]
}
],
"ID": "75e2a3b3-c5a0-4b34-9c03-0e2398e4a8a4"
}
]
}
],
"ToolTip": "由报工数据重新生成日报",
"Size": 16,
"ImagePath": "Application/059_refresh_3.svg",
"BuiltIn": true,
"UseCellForeColor": true
}
},
"6,4": {
"BindingInfo": {
"TableName": "汇报记录表",
"ColumnName": "总工时",
"GUID": "08715a23-3046-4102-945c-aa7ceaa7d380"
},
"CellType": {
"$type": "ElementUI.InputNumberCellType, ElementUI",
"CommandList": [],
"UIPermissions": [
{
"Scope": 2,
"AllowRoles": [
"FGC_Anonymous"
]
},
{
"Scope": 1,
"AllowRoles": [
"FGC_Anonymous"
]
}
],
"min": "0.1",
"max": "500",
"step": 1,
"precision": 1,
"placeholder": "请输入",
"controlsPosition": true
}
},
"8,4": {
"BindingInfo": {
"TableName": "汇报记录表",
"ColumnName": "内容",
"GUID": "67469ff5-0ac2-4a5a-836a-87f19c768ee5"
},
"CellType": {
"$type": "ElementUI.InputCellType, ElementUI",
"CommandList": [],
"UIPermissions": [
{
"Scope": 2,
"AllowRoles": [
"FGC_Anonymous"
]
},
{
"Scope": 1,
"AllowRoles": [
"FGC_Anonymous"
]
},
{
"Scope": 4,
"AllowRoles": [
"FGC_Anonymous"
]
}
],
"type": "textarea",
"placeholder": "请输入",
"resize": "none"
}
},
"11,18": {
"CellType": {
"$type": "Forguncy.ButtonCellType, ServerDesignerCommon",
"CommandList": [
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SubConditions": [
{
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon",
"cellLocations": [
{
"SerializeProperty": "=日报详情!E7"
}
]
},
"value": "%Null%",
"compareType": 1
},
{
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon",
"cellLocations": [
{
"SerializeProperty": "=日报详情!E9"
}
]
},
"value": "%Null%",
"compareType": 1
}
]
},
"CommandList": [
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon",
"cellLocations": [
{
"SerializeProperty": "=日报详情!汇报ID"
}
]
},
"value": "%Null%",
"compareType": 1
},
"CommandList": [
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "汇报记录表",
"ShowConfirm": false
}
],
"ID": "53add8e2-2ec2-49db-b535-3c502aceeec2"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "汇报记录表",
"UpdateType": "add",
"ShowConfirm": false,
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "汇报记录表",
"ColumnName": "汇报类型",
"GUID": "40e0d5ce-b9b4-47c3-a760-6cbaabce5976"
},
"Value": "日报"
},
{
"BindingInfo": {
"TableName": "汇报记录表",
"ColumnName": "开始日期",
"GUID": "73a749f3-6682-43b7-99c3-60166d43d67f"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=日报详情!今日日期"
}
},
{
"BindingInfo": {
"TableName": "汇报记录表",
"ColumnName": "截止日期",
"GUID": "65a8cb20-cde9-449b-9c26-3e1424f92977"
}
},
{
"BindingInfo": {
"TableName": "汇报记录表",
"ColumnName": "汇报人",
"GUID": "4bc2c076-34d4-4158-8c32-5b26cee618c1"
},
"Value": "%CurrentUser%"
},
{
"BindingInfo": {
"TableName": "汇报记录表",
"ColumnName": "内容",
"GUID": "0c6e8060-cb8a-4b55-8194-448dc44a36bd"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=日报详情!E9"
}
},
{
"BindingInfo": {
"TableName": "汇报记录表",
"ColumnName": "总工时",
"GUID": "17f31dda-4c40-40aa-96f4-d507d05cacd9"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=日报详情!E7"
}
}
]
}
],
"ID": "612dd5b5-b060-44e7-9998-3e501fb0613c"
}
]
},
{
"$type": "ElementUI.Commands.ShowMessage, ElementUI",
"Message": "保存成功!",
"Type": "success",
"Duration": 3000,
"Offset": null,
"Center": true
},
{
"$type": "Forguncy.Model.ClosePopupCommand, ServerDesignerCommon",
"ReloadData": true
}
],
"ID": "80a94a82-65c6-4de0-9410-e827b3f72d97"
},
{
"CommandList": [
{
"$type": "ElementUI.Commands.ShowMessageBox, ElementUI",
"Title": "提示",
"Message": "请完善汇报内容!",
"Type": "warning",
"ConfirmButtonText": "确定",
"CancelButtonText": "取消",
"ShowClose": false,
"AdvancedSettings": {}
}
],
"ID": "6db29dc5-d9dd-4e08-b27f-c1bd70c0b77e"
}
]
}
],
"Text": "保存",
"TemplateKey": "_RS_Main1",
"Icon": {
"Name": "Application/067_save_4.svg",
"BuiltIn": true,
"Color": "Background 1",
"UseCellTypeForeColor": true
},
"IconSize": 14.0
}
},
"14,1": {
"BindingInfo": {
"TableName": "汇报记录表",
"ColumnName": "ID",
"GUID": "cdb43b1e-2041-4d56-ab6e-da5a26c7d5b0"
},
"CellType": {
"$type": "Forguncy.TextCellType, ServerDesignerCommon",
"SavedValidators": [
{
"$type": "Forguncy.CellTypes.Models.UniqueValidadator, ServerDesignerCommon",
"Enabled": true
}
],
"TemplateKey": "_RS_NewLittleRoundCorner",
"CommandList": [
{
"$type": "SetCurrentRowCommand.SetCurrentRowCommand, SetCurrentRowCommand",
"CurrentRowInfo": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "汇报记录表",
"ColumnName": "ID",
"GUID": "a805b144-4e31-41ef-8352-1f04189a8202"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=日报详情!汇报ID"
}
},
"Disabled": true
}
]
},
"DataValidationInfo": {
"IgnoreBlank": false
}
},
"14,4": {
"BindingInfo": {
"TableName": "汇报记录表",
"ColumnName": "汇报日期文本",
"GUID": "eeecdca0-8fbe-471d-8d6e-5e1e7f093377"
},
"CellType": {
"$type": "Forguncy.TextCellType, ServerDesignerCommon",
"SavedValidators": [
{
"$type": "Forguncy.CellTypes.Models.UniqueValidadator, ServerDesignerCommon"
}
],
"TemplateKey": "_RS_NewLittleRoundCorner"
}
},
"14,13": {
"BindingInfo": {
"TableName": "汇报记录表",
"ColumnName": "汇报人",
"GUID": "4450a20c-d264-4f80-b4d1-9b6a98317ba5"
}
}
},
"StyleDatas": {
"Styles": [
{
"FontFamily": 0,
"FontSize": 13.333333333333332,
"Formatter": 1
},
{
"FontFamily": 0,
"FontSize": 13.333333333333332
},
{
"FontSize": 24.0,
"FontWeight": 2,
"HorizontalAlignment": 3
},
{
"HorizontalAlignment": 3
},
{
"FontWeight": 2,
"HorizontalAlignment": 4
},
{
"HorizontalAlignment": 4
},
{
"FontWeight": 2
},
{
"FontSize": 12.0,
"Foreground": 5
},
{
"FontFamily": 0,
"FontSize": 13.333333333333332,
"Formatter": 6
},
{
"Formatter": 6
},
{
"FontSize": -1.0
}
],
"Types": {
"Strs": [
"Body",
"[AUTO]General",
"Bold",
"Center",
"Left",
"Text 1 50",
"@"
]
},
"CellStyles": {
"0,14": 0,
"0,15": 1,
"0,16": 1,
"0,17": 1,
"0,18": 1,
"0,19": 1,
"0,20": 1,
"0,21": 1,
"0,22": 1,
"2,1": 2,
"3,1": 3,
"3,2": 3,
"3,3": 3,
"3,4": 3,
"3,5": 3,
"3,6": 3,
"3,7": 3,
"3,8": 3,
"3,9": 3,
"3,10": 3,
"3,11": 3,
"3,12": 3,
"3,13": 3,
"3,14": 3,
"3,15": 3,
"3,16": 3,
"3,17": 3,
"3,18": 3,
"3,19": 3,
"3,20": 3,
"3,21": 3,
"3,22": 3,
"4,1": 4,
"4,2": 3,
"4,3": 3,
"4,4": 5,
"4,22": 3,
"5,1": 3,
"5,2": 3,
"5,3": 3,
"5,4": 3,
"5,5": 3,
"5,6": 3,
"5,7": 3,
"5,8": 3,
"5,9": 3,
"5,10": 3,
"5,11": 3,
"5,12": 3,
"5,13": 3,
"5,14": 3,
"5,15": 3,
"5,16": 3,
"5,17": 3,
"5,18": 3,
"5,19": 3,
"5,20": 3,
"5,21": 3,
"5,22": 3,
"6,1": 4,
"6,2": 3,
"6,3": 3,
"6,4": 3,
"6,20": 3,
"6,21": 3,
"6,22": 3,
"7,1": 3,
"7,2": 3,
"7,3": 3,
"7,4": 3,
"7,5": 3,
"7,6": 3,
"7,7": 3,
"7,8": 3,
"7,9": 3,
"7,10": 3,
"7,11": 3,
"7,12": 3,
"7,13": 3,
"7,14": 3,
"7,15": 3,
"7,16": 3,
"7,17": 3,
"7,18": 3,
"7,19": 3,
"7,20": 3,
"7,21": 3,
"7,22": 3,
"8,1": 6,
"11,18": 1,
"12,1": 7,
"14,1": 8,
"14,2": 1,
"14,3": 1,
"14,4": 9,
"14,7": 0,
"14,11": 1,
"14,12": 0,
"14,13": 1,
"14,16": 10,
"14,19": 1
},
"RowStyles": {
"2": 10
},
"SheetStyle": {
"FontFamily": 0,
"FontSize": 13.333333333333332
}
},
"Spans": [
"14,13,1,3",
"14,16,1,3",
"14,19,1,4",
"11,18,1,4",
"2,1,1,21",
"14,1,1,3",
"6,4,1,16",
"8,4,2,18",
"4,4,1,16",
"4,20,1,2",
"14,4,1,3",
"14,7,1,3"
],
"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": [],
"RelatedDataTableName": "汇报记录表"
},
"PrintInfo": {
"PaperSize": {},
"Margin": {}
},
"CustomNames": [
{
"Name": "汇报人",
"Formula": "日报详情!$N$15"
},
{
"Name": "汇报ID",
"Formula": "日报详情!$B$15"
},
{
"Name": "用户名",
"Formula": "日报详情!$T$15"
},
{
"Name": "用户全名",
"Formula": "日报详情!$Q$15"
},
{
"Name": "今日日期",
"Formula": "日报详情!$H$15"
},
{
"Name": "汇报日期",
"Formula": "日报详情!$E$15"
}
]
}//JSfVQkZqZ2nc60jnnG5ynXC49ctrZ1LpLlcQc3XoiKnUyFUOeqLxs3L7Q0z6AkvjpOFOC9VszcHqX1LoWNCq9jbJoICIzzdB/zDO95/M8kSg70L1gf+Chw64EgIIyyJyB2W6+4ZugwivRzsLDIB4GB+3zAk6BI8FPC43ejCTj8XlsQKgFwqAJZlzYBDnljrU7b7ujsuHnLgiJ1N+zvMpvkXEf+CyxdmhHt3xWlCXfOTIS0kBYwRUzVu9cveeQECzsvJpkS8N955Qu5l7jbNBHxA1yQFZMxDUbbyuQWG6qrPKqQoAgNWrpbkxrpOvnh/Z/uW15ztMY9J/wVcjVG8lUnyjs4jaxjR8Xp3tkTfmXmLBpvzo9T2tWaU6qFfdbO2QCZ61tZeVF9+UKx/evd9MJ4JhGn/o0vq1PF0C3/RJ7bd10bFZ1hptkZl7MZiyTOeJDv4UJQmZ2qq6Vf4iJv6J7Y1oL6lyczIwu2NIJC8NHvysqPZuZVm3bclWfIhklmzjRAxxSfy/7s7yVu5clUxTzOWA8vgQ6frg7ZiX0PK1Gg50AWEkczBJG/d3wHaqm5bAKnfLsn/w0HZnOy649Mawi0Vwy4cnAsxwMsQRlhv5W4a0cM6/gELMetDHSRzeCI8a6mrJVfyOX6xkYYxRO4OH66JQr2d/y8BFhukRskWtoz0AcLi96bwoPVFm51bv4Tye+yklgRQJw+7eBAtpRdeST3BgM9fcE8+TD31xjpWkrn3Y1AlSzGXaAw4Sm7OECYJTTt1n5dAj5HavsPdnRLpk0dow+kIRMlG5dQLdIU47nig4ZRBX+R/UbkpM/hS+vajGEqU5DtgYpWB2k2HQGJ5cVI3TpAkyJv3iY6TEHvUUwfmYfZpRHUJXYlmKzTvPFKw8Q3PsQZDc2dkQ9TNkoP8qRA==|920