{ "Rows": { "RowColumnAttachedInfos": { "1": { "GridRowColumnDefinition": { "DesignLengthInPixel": 35.0 } }, "2": { "GridRowColumnDefinition": { "DesignLengthInPixel": 30.0 } }, "3": { "GridRowColumnDefinition": { "DesignLengthInPixel": 534.0 } } }, "Count": 5 }, "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 } }, "9": { "GridRowColumnDefinition": { "DesignLengthInPixel": 32.0 } }, "10": { "GridRowColumnDefinition": { "DesignLengthInPixel": 32.0 } }, "11": { "GridRowColumnDefinition": { "DesignLengthInPixel": 32.0 } }, "12": { "GridRowColumnDefinition": { "DesignLengthInPixel": 32.0 } }, "13": { "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": 32.0 } }, "23": { "GridRowColumnDefinition": { "DesignLengthInPixel": 32.0 } }, "24": { "GridRowColumnDefinition": { "DesignLengthInPixel": 32.0 } }, "25": { "GridRowColumnDefinition": { "DesignLengthInPixel": 32.0 } }, "26": { "GridRowColumnDefinition": { "DesignLengthInPixel": 32.0 } }, "27": { "GridRowColumnDefinition": { "DesignLengthInPixel": 32.0 } }, "28": { "GridRowColumnDefinition": { "DesignLengthInPixel": 15.0 } }, "29": { "GridRowColumnDefinition": { "DesignLengthInPixel": 32.0 } }, "30": { "GridRowColumnDefinition": { "DesignLengthInPixel": 32.0 } }, "31": { "GridRowColumnDefinition": { "DesignLengthInPixel": 32.0 } }, "32": { "GridRowColumnDefinition": { "DesignLengthInPixel": 32.0 } } }, "Count": 33, "DefaultSize": 32.0 }, "Values": { "1,1": "从活字格发布日志导入", "1,25": "读取日志", "1,29": "确认选择" }, "AttachInfos": { "1,25": { "CellType": { "$type": "Forguncy.ButtonCellType, ServerDesignerCommon", "CommandList": [ { "$type": "Notiflix_Forguncy.Loading_Command, Notiflix_Forguncy", "Title": "加载中" }, { "$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon", "ServerCommandName": "获取活字格发布日志", "ResultErrorCodeTo": { "SerializeProperty": "code" }, "ResultMessageTo": { "SerializeProperty": "msg" }, "ReturnPropertiesTo": [ { "ResultPropertyName": "日志列表", "ResultTo": { "SerializeProperty": "list" } } ], "RefreshAfterFinish": true, "CheckDataValidation": true }, { "$type": "Notiflix_Forguncy.Loading_Command, Notiflix_Forguncy", "FunctionName": "remove", "Title": "加载中" }, { "$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": "=code" } ] }, "value": "0" }, { "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", "param": { "$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon", "cellLocations": [ { "SerializeProperty": "=list" } ] }, "value": "%Null%", "compareType": 1 } ] }, "CommandList": [ { "$type": "Forguncy.Model.OperateCellTypeCommand, ServerDesignerCommon", "TargetPageElement": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=导入活字格发布日志!B4" }, "TargetType": "ElementUI.TableCellType, ElementUI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=e50995ee76bfe560", "MethodName": "SetJsonDataSource", "ParameterValues": { "dataSource": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=导入活字格发布日志!list" } } } ], "ID": "b34f0ecc-871f-490b-a446-d083c0efd24a" }, { "CommandList": [ { "$type": "Notiflix_Forguncy.Notify_Command, Notiflix_Forguncy", "FourStandardStyle": "warning", "Message": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=导入活字格发布日志!msg" } } ], "ID": "34b13a5f-112e-4ef5-8dae-b25e4d7c3661" } ] } ], "Text": "读取日志", "TemplateKey": "_RS_Success3" } }, "1,29": { "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": "=获取表格数据源" } ] }, "value": "%Null%", "compareType": 1 }, { "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", "param": { "$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon", "cellLocations": [ { "SerializeProperty": "=导入活字格发布日志!获取表格数据源.length" } ] }, "value": "0", "compareType": 2 } ] }, "CommandList": [ { "$type": "Forguncy.Model.OperateCellTypeCommand, ServerDesignerCommon", "TargetPageElement": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=导入活字格发布日志!B4" }, "TargetType": "ElementUI.TableCellType, ElementUI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=e50995ee76bfe560", "MethodName": "GetSourceData", "RetrunParamNames": { "SourceData": { "SerializeProperty": "获取表格数据源" } } }, { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "返回内容", "ID": "0fc4db61cbac43c8a846b86b3124321a" }, { "$type": "Forguncy.Model.RunJavaScriptCommand, ServerDesignerCommon", "JavaScript": "var data = Forguncy.CommandHelper.getVariableValue(\"获取表格数据源\");\r\nvar content = data.map(item => {\r\n return `