{"Message":"1","MessageType":2,"Modules":[{"State":1,"Type":7,"Name":"Table/汇报模板"},{"State":3,"Type":6,"Name":"Pages/汇报/汇报模板"},{"State":3,"Type":1,"Name":"PCPage/模板列表"},{"State":3,"Type":1,"Name":"PCPage/模板详情"},{"State":3,"Type":15,"Name":"ServerCommand/根据汇报模板生成内容"}],"Version":"v1"}

This commit is contained in:
TYFEIKELE\tyfeikele
2024-06-12 15:13:49 +08:00
parent feb8279eed
commit 06d5a0e656
7 changed files with 1503 additions and 34 deletions

View File

@@ -1574,16 +1574,7 @@
},
{
"ModuleName": "Table/汇报模板",
"State": 1,
"LockedBy": {
"UserName": "TYFEIKELE\\tyfeikele",
"Email": "example@example.com"
},
"LockDateTime": "2024-06-12T14:29:04.7554787+08:00",
"ModuleType": 7,
"ToRemoveFiles": [
"Tables\\汇报\\汇报模板.json"
]
"ModuleType": 7
},
{
"ModuleName": "ServerCommand/计算报工数据",
@@ -1615,42 +1606,18 @@
},
{
"ModuleName": "Pages/汇报/汇报模板",
"State": 3,
"LockedBy": {
"UserName": "TYFEIKELE\\tyfeikele",
"Email": "example@example.com"
},
"LockDateTime": "2024-06-12T09:49:21.552261+08:00",
"ModuleType": 6
},
{
"ModuleName": "PCPage/模板列表",
"State": 3,
"LockedBy": {
"UserName": "TYFEIKELE\\tyfeikele",
"Email": "example@example.com"
},
"LockDateTime": "2024-06-12T09:52:34.3738638+08:00",
"ModuleType": 1
},
{
"ModuleName": "PCPage/模板详情",
"State": 3,
"LockedBy": {
"UserName": "TYFEIKELE\\tyfeikele",
"Email": "example@example.com"
},
"LockDateTime": "2024-06-12T10:34:17.4527962+08:00",
"ModuleType": 1
},
{
"ModuleName": "ServerCommand/根据汇报模板生成内容",
"State": 3,
"LockedBy": {
"UserName": "TYFEIKELE\\tyfeikele",
"Email": "example@example.com"
},
"LockDateTime": "2024-06-12T14:30:05.194005+08:00",
"ModuleType": 15
}
]

View File

@@ -0,0 +1,795 @@
{
"Rows": {
"RowColumnAttachedInfos": {
"0": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 24.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,
"Mode": 2,
"MinLength": {
"Unit": 1
},
"MaxLength": {
"Value": 1.0
}
}
},
"8": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 10.0
}
},
"9": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 38.0,
"Mode": 1
}
},
"10": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 15.0
}
},
"11": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 29.0,
"IsHidden": true
}
}
},
"InLogicalVisibleIndexes": [
11
],
"Count": 12,
"DefaultSize": 32.0
},
"Cols": {
"RowColumnAttachedInfos": {
"0": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 20.0
}
},
"1": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"2": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"3": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 15.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
}
},
"14": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"15": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0,
"Mode": 2,
"MinLength": {
"Unit": 1
},
"MaxLength": {
"Value": 1.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": 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": 32.0
}
},
"29": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"30": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 24.0
}
}
},
"Count": 31,
"DefaultSize": 32.0
},
"AttachInfos": {
"1,1": {
"CellType": {
"$type": "ElementUI.TableCellType, ElementUI",
"ElTableName": "EL表格1",
"RowDoubleClickCommand": {
"$type": "GrapeCity.Forguncy.Commands.CustomCommandObject, Forguncy.Commands",
"Commands": [
{
"$type": "SetCurrentRowCommand.SetCurrentRowCommand, SetCurrentRowCommand",
"CurrentRowInfo": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "客户表",
"ColumnName": "ID",
"GUID": "fc1c30de-7b67-4ecc-a387-2703694f36c2"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=模板列表!行数据.ID"
}
}
},
{
"$type": "Forguncy.Model.ShowPopupCommand, ServerDesignerCommon",
"ClosePopupCallbackCommand": {
"Commands": [
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon",
"cellLocations": [
{
"SerializeProperty": "=模板列表!是否为确定"
}
]
},
"value": "1"
},
"CommandList": [
{
"$type": "Forguncy.Model.OperateCellTypeCommand, ServerDesignerCommon",
"TargetPageElement": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=模板列表!B2"
},
"TargetType": "ElementUI.TableCellType, ElementUI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=e50995ee76bfe560",
"MethodName": "ResetTable",
"ParameterValues": {
"clearSort": true,
"clearFilter": true
}
}
],
"ID": "1eb9b8da-329e-49e1-8934-7aad83157480"
}
]
}
],
"ParamProperties": {
"IsOK": "是否为确定"
}
},
"PageName": "汇报详情",
"LoadBindingDataOption": 1
}
],
"ParamProperties": {
"dataRow": "行数据",
"ID0": "行数据.ID",
"汇报日期1": "行数据.汇报日期",
"汇报人2": "行数据.汇报人"
}
},
"bindingOptions": {
"$type": "ServerDesignerCommon.Model.BindingDataSourceModel, ServerDesignerCommon",
"TableName": "汇报模板",
"BindingInfos": [
{
"GUID": "2dec2279-dc5f-4ae7-9fd8-6b792d5bc7a2",
"BindingInfo": {
"TableName": "汇报模板",
"ColumnName": "ID",
"GUID": "0e655cfa-9435-4386-bfc8-14263fc4f3d0"
},
"ColumnName": "ID"
},
{
"GUID": "e1bc4483-413c-45d6-ae7a-8baf52a7510c",
"BindingInfo": {
"TableName": "汇报模板",
"ColumnName": "模板名称",
"GUID": "e37247ba-a934-40fb-86cf-8588badd80b6"
},
"ColumnName": "模板名称"
},
{
"GUID": "7fd313cd-dca4-4aa9-bbf3-1cfae4a51193",
"BindingInfo": {
"TableName": "汇报模板",
"ColumnName": "模板内容",
"GUID": "8d8eecfd-c322-45a3-8372-57ac06e74a96"
},
"ColumnName": "模板内容"
},
{
"GUID": "7693cd7e-2c18-4e0f-8185-35230dac4dad",
"BindingInfo": {
"TableName": "汇报模板",
"ColumnName": "是否禁用",
"GUID": "2e53bc14-e97a-45c3-8a73-024b960df34a"
},
"ColumnName": "是否禁用"
}
],
"NullFormulaValueQueryPolicy": 1,
"CustomColumns": []
},
"autoGenerateColumnsByDataSource": false,
"columns": [
{
"$type": "ElementUI.ColumnSetting, ElementUI",
"dataColumnName": "ID",
"label": "ID",
"align": "center",
"headerAlign": "center",
"colfixed": "false",
"type": "Default",
"tagType": "info",
"imgType": "cover",
"key": "0395a5c6-f670-4b2f-9476-d903a03fabda",
"UIPermissions": [
{
"Scope": 1,
"AllowRoles": [
"FGC_Anonymous"
]
}
]
},
{
"$type": "ElementUI.ColumnSetting, ElementUI",
"dataColumnName": "模板名称",
"label": "模板名称",
"align": "center",
"headerAlign": "center",
"colfixed": "false",
"type": "Default",
"tagType": "info",
"imgType": "cover",
"key": "4261eca1-9154-4768-a119-322835620a6d",
"UIPermissions": [
{
"Scope": 1,
"AllowRoles": [
"FGC_Anonymous"
]
}
]
},
{
"$type": "ElementUI.ColumnSetting, ElementUI",
"dataColumnName": "模板内容",
"label": "模板内容",
"align": "center",
"headerAlign": "center",
"colfixed": "false",
"type": "Default",
"tagType": "info",
"imgType": "cover",
"key": "c5a2a447-a385-49f9-92b7-8124c5f43e50",
"UIPermissions": [
{
"Scope": 1,
"AllowRoles": [
"FGC_Anonymous"
]
}
]
},
{
"$type": "ElementUI.ColumnSetting, ElementUI",
"dataColumnName": "是否禁用",
"label": "是否禁用",
"align": "center",
"headerAlign": "center",
"colfixed": "false",
"type": "Default",
"tagType": "info",
"imgType": "cover",
"isClick": true,
"key": "3bc6c968-9b61-417f-b59d-f47213d1a5f1",
"UIPermissions": [
{
"Scope": 1,
"AllowRoles": [
"FGC_Anonymous"
]
}
]
}
],
"showActionButtons": true,
"actionButtons": [
{
"$type": "ElementUI.ActionButton, ElementUI",
"UIPermissions": [
{
"Scope": 2,
"AllowRoles": [
"FGC_Anonymous"
]
},
{
"Scope": 1,
"AllowRoles": [
"FGC_Anonymous"
]
}
],
"type": "button",
"Name": "编辑",
"styleType": "Accent 1 0",
"shape": "default",
"Commands": {
"$type": "GrapeCity.Forguncy.Commands.CustomCommandObject, Forguncy.Commands",
"Commands": [
{
"$type": "SetCurrentRowCommand.SetCurrentRowCommand, SetCurrentRowCommand",
"CurrentRowInfo": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "汇报模板",
"ColumnName": "ID",
"GUID": "1e6990e8-db0c-4ce2-8e09-37bd6d3f0030"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=模板列表!行数据.ID"
}
}
},
{
"$type": "Forguncy.Model.ShowPopupCommand, ServerDesignerCommon",
"ShowDrawerHeader": true,
"ClosePopupCallbackCommand": {
"Commands": [
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon",
"cellLocations": [
{
"SerializeProperty": "=模板列表!是否为确定"
}
]
},
"value": "1"
},
"CommandList": [
{
"$type": "Forguncy.Model.OperateCellTypeCommand, ServerDesignerCommon",
"TargetPageElement": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=模板列表!B2"
},
"TargetType": "ElementUI.TableCellType, ElementUI, Version=1.0.0.0, Culture=neutral, PublicKeyToken=e50995ee76bfe560",
"MethodName": "ResetTable",
"ParameterValues": {
"clearSort": true,
"clearFilter": true
}
}
],
"ID": "d0400f90-9070-43ed-be49-0c01657014a1"
}
]
}
],
"ParamProperties": {
"IsOK": "是否为确定"
}
},
"PageName": "模板详情",
"LoadBindingDataOption": 1
}
],
"ParamProperties": {
"dataRow": "行数据"
}
}
},
{
"$type": "ElementUI.ActionButton, ElementUI",
"UIPermissions": [
{
"Scope": 2,
"AllowRoles": [
"FGC_Anonymous"
]
},
{
"Scope": 1,
"AllowRoles": [
"FGC_Anonymous"
]
}
],
"type": "button",
"Name": "删除",
"styleType": "Accent 5",
"shape": "default",
"Commands": {
"$type": "GrapeCity.Forguncy.Commands.CustomCommandObject, Forguncy.Commands",
"Commands": [
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "汇报模板",
"UpdateType": "delete",
"ShowConfirm": false,
"RowsToUpdate": 1,
"RowsToUpdateCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "汇报模板",
"ColumnName": "ID",
"GUID": "f4da03c5-89f1-4883-b360-4cabd5959b7d"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=模板列表!行数据.ID"
}
}
},
{
"$type": "Notiflix_Forguncy.Notify_Command, Notiflix_Forguncy",
"Message": "操作成功"
}
],
"ParamProperties": {
"dataRow": "行数据"
}
}
}
],
"sumText": "合计",
"size": "default",
"showSelectColumn": true
}
},
"9,1": {
"CellType": {
"$type": "ElementUI.CellTypes.PaginationCellType, ElementUI",
"AttachElementTable": true,
"ElementTableName": "EL表格1",
"pageSize": 20,
"pagerCount": 7,
"layout": [
{
"layoutItem": "prev"
},
{
"layoutItem": "pager"
},
{
"layoutItem": "next"
},
{
"layoutItem": "jumper"
},
{
"layoutItem": "->"
},
{
"layoutItem": "total"
}
],
"pageSizes": [
{},
{
"value": 20
},
{
"value": 30
},
{
"value": 40
},
{
"value": 50
},
{
"value": 100
}
],
"hideOnSinglePage": true
}
}
},
"StyleDatas": {
"Styles": [
{
"BorderRight": 0
},
{
"FontSize": 13.333333333333332
},
{
"FontSize": 13.333333333333332,
"BorderRight": 0
}
],
"Types": {
"Strs": [
"Background 2 0",
"Body"
],
"Borders": [
{
"Color": 0
}
]
},
"CellStyles": {
"0,30": 0,
"1,30": 0,
"2,30": 0,
"3,30": 0,
"4,30": 0,
"5,30": 0,
"6,30": 0,
"7,30": 0,
"8,30": 0,
"9,1": 1,
"9,29": 1,
"9,30": 0,
"10,1": 1,
"10,2": 1,
"10,3": 1,
"10,4": 1,
"10,5": 1,
"10,6": 1,
"10,7": 1,
"10,8": 1,
"10,9": 1,
"10,10": 1,
"10,11": 1,
"10,12": 1,
"10,13": 1,
"10,14": 1,
"10,15": 1,
"10,16": 1,
"10,17": 1,
"10,18": 1,
"10,19": 1,
"10,20": 1,
"10,21": 1,
"10,22": 1,
"10,23": 1,
"10,24": 1,
"10,25": 1,
"10,26": 1,
"10,27": 1,
"10,28": 1,
"10,29": 1,
"10,30": 0,
"11,1": 1,
"11,5": 1,
"11,6": 1,
"11,7": 1,
"11,8": 1,
"11,9": 1,
"11,10": 1,
"11,11": 1,
"11,12": 1,
"11,13": 1,
"11,14": 1,
"11,15": 1,
"11,16": 1,
"11,17": 1,
"11,18": 1,
"11,19": 1,
"11,20": 1,
"11,21": 1,
"11,22": 1,
"11,23": 1,
"11,24": 1,
"11,25": 1,
"11,26": 1,
"11,27": 1,
"11,28": 1,
"11,29": 1,
"11,30": 2
},
"SheetStyle": {
"FontFamily": 1
}
},
"Spans": [
"9,1,1,28",
"1,1,7,29"
],
"PageInfo": {
"$type": "Forguncy.Model.Pages.NormalPage, ServerDesignerCommon",
"Title": "模板列表",
"PageLoadedCommandList": [
{
"$type": "Notiflix_Forguncy.Loading_Command, Notiflix_Forguncy",
"FunctionName": "remove",
"Title": "加载中"
}
],
"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": []
},
"PrintInfo": {
"PaperSize": {},
"Margin": {}
},
"CustomNames": [
{
"Name": "个人日报表格",
"Formula": "模板列表!$B$2"
}
]
}//YKQBZ9N+Wf4xfIZuHBT6jv17quuuVB/5ukmyv/moGTRSD39oJkEJAZ+OkP1xGzVX80TfxkG+1sqZFm5jn3mDMI4g3+0IK3KAhqJ4NE7BQ5EZSq9soIeUwKVcmOhSDg60fYVo/t4+O2StWuWgvpLixshkW5dITlB7cOZGInbxsYi5RZBQ7aVMy+Jkj+HRu7xxqk/P2WLcNYJVrijHViZPSDHVVdJ4VgOqfRi57m/x/UUTcGx8OnX8u4yg+nOKdbugDRarQDEv8nPdXQGO9y4RkmwLpJNr0GdqV0Bybf+zJl4QfCPEojIqsDB1DRDxG5CocFAbtHENxDh2IASSQdvgmWYVUSW8sUayN6f7oTBnuSy6BdkYSd88RKU2kb0cEf7xzWdDKL54NjQan4GizA/txhDI5SDPJW0g4B10MZ42tbjpileUI5tz4Em2PqkzWRu2Ww99paR6qx6vd+CCru00rh8JPvOc72rkKwJvk4dk+MAwDuIzW2A+Kjt0yBUp8Muc8NiYGRQLlG13sg1NDozuI3bt1ZUamUiSV3M35AGboOgHOrK+g9fQbjexA4pq6g929C8KAxWvVlPp30NzDS7fNiYH9qY/vbizMyT4cKyO0zOkU1OpbnoFEuqpFslCOEM6aeSKwz6xoBjzMBCZBaZgIgz9Pg/Wu/G3amyRZqspdLXS72L5iHXOGi1q5ZfqxV5at4xVJ6nlITA7q59H/uJ91ITtjm7OGGbzm8DiY0fAdhpjnUY/Jp0conYAeA2JXirOdwpY5wOo0HNjk3NWgjscPr4nFIt72BrREM8T0g4Yf6bAzT09zMI0L/Ijs61A8tSwoaiyrteVxrnzfeWWXE2amTYhRk4oG7O13l0C3R/ksKvSWSgYhKQXjA3A8CaJdkpanM9VHg4qqPedD+x7gSCWxw==|920

View File

@@ -0,0 +1,11 @@
{
"PageType": 0,
"ColumnCount": 31,
"RowCount": 12,
"CustomNames": [
{
"Name": "个人日报表格",
"Formula": "模板列表!$B$2"
}
]
}

View File

@@ -0,0 +1,499 @@
{
"Rows": {
"RowColumnAttachedInfos": {
"0": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"1": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 358.0
}
},
"2": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 67.0,
"Mode": 1
}
},
"3": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"4": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 38.0
}
},
"5": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"7": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"8": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0,
"IsHidden": true
}
}
},
"InLogicalVisibleIndexes": [
8
],
"Count": 9,
"DefaultSize": 32.0
},
"Cols": {
"RowColumnAttachedInfos": {
"0": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"1": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"2": {
"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
}
},
"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": 32.0
}
},
"23": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"24": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"25": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
}
},
"Count": 26,
"DefaultSize": 32.0
},
"Values": {
"4,1": "生成",
"6,16": "重新生成",
"6,21": "确认内容",
"8,12": "%CurrentUser.FullName%"
},
"AttachInfos": {
"1,1": {
"BindingInfo": {
"TableName": "汇报模板",
"ColumnName": "模板内容",
"GUID": "5a59d792-c4be-4fe1-8806-e66f7e3ac148"
},
"CellType": {
"$type": "TinyRichEditor.TinyRichEditorCellType, TinyRichEditor",
"UIPermissions": [
{
"Scope": 4,
"AllowRoles": [
"FGC_Anonymous"
]
},
{
"Scope": 1,
"AllowRoles": [
"FGC_Anonymous"
]
}
]
}
},
"4,1": {
"CellType": {
"$type": "Forguncy.ButtonCellType, ServerDesignerCommon",
"CommandList": [
{
"$type": "Notiflix_Forguncy.Loading_Command, Notiflix_Forguncy",
"Title": "加载中"
},
{
"$type": "Forguncy.Model.SetCellPropertyCommand, ServerDesignerCommon",
"PropertyItemsList": [
{
"TargetCells": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=模板详情!B2,模板详情!B5"
},
"PropertyType": 0,
"Value": false
}
]
},
{
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
"ServerCommandName": "AI内容转报工数据",
"Parameters": [
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "汇报人",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=模板详情!汇报人"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "汇报日期",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=模板详情!日期"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "汇报内容",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=模板详情!B2"
}
}
],
"ResultErrorCodeTo": {
"SerializeProperty": "code"
},
"ResultMessageTo": {
"SerializeProperty": "msg"
},
"ReturnPropertiesTo": [
{
"ResultPropertyName": "日报JSON",
"ResultTo": {
"SerializeProperty": "日报JSON"
}
}
],
"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.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon",
"cellLocations": [
{
"SerializeProperty": "=日报JSON"
}
]
},
"value": "%Null%",
"compareType": 1
},
"CommandList": [
{
"$type": "JsonDataSource.ImportJsonDataToListviewCommand, JsonDataSource",
"Listview": "表格1",
"ListviewColumnInfos": [
{
"ListViewColumnCell": "汇报类型",
"PropertyName": "type"
},
{
"ListViewColumnCell": "汇报内容",
"PropertyName": "content"
},
{
"ListViewColumnCell": "工时",
"PropertyName": "time"
}
],
"SourceCell": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=模板详情!日报JSON"
},
"SampleJson": "[\r\n {\r\n \"type\": \"日报\",\r\n \"content\": \"今天和报价系统部门做了沟通,了解了关于成本的细节\",\r\n \"time\": 120\r\n },\r\n {\r\n \"type\": \"日报\",\r\n \"content\": \"对发票标准版系统进行了升级\",\r\n \"time\": 0\r\n },\r\n {\r\n \"type\": \"日报\",\r\n \"content\": \"研究了时间轮插件,并进行了测试\",\r\n \"time\": 120\r\n },\r\n {\r\n \"type\": \"计划\",\r\n \"content\": \"继续测试时间轮插件\",\r\n \"time\": 0\r\n },\r\n {\r\n \"type\": \"计划\",\r\n \"content\": \"更新发票标准版系统的离线发布文件,并部署到测试服务器\",\r\n \"time\": 0\r\n },\r\n {\r\n \"type\": \"计划\",\r\n \"content\": \"完善PMS\",\r\n \"time\": 60\r\n }\r\n ]"
},
{
"$type": "Notiflix_Forguncy.Notify_Command, Notiflix_Forguncy",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=模板详情!msg"
}
}
],
"ID": "7c9764c2-4407-45c6-99e5-f8b3646fc47f"
},
{
"CommandList": [
{
"$type": "Notiflix_Forguncy.Report_Command, Notiflix_Forguncy",
"FunctionName": "info",
"Title": "温馨提示",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=模板详情!msg"
},
"BtnText": "知道了"
}
],
"ID": "d1f34c3e-6b72-4a50-be93-14b8751676b0"
}
]
}
],
"ID": "54ae941a-34aa-4844-9242-bbb6f801844a"
},
{
"CommandList": [
{
"$type": "Notiflix_Forguncy.Report_Command, Notiflix_Forguncy",
"FunctionName": "warning",
"Title": "温馨提示",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=模板详情!msg"
},
"BtnText": "知道了"
}
],
"ID": "efc6c753-ad64-4ae4-abcc-620fbd558602"
}
]
},
{
"$type": "Forguncy.Model.SetCellPropertyCommand, ServerDesignerCommon",
"PropertyItemsList": [
{
"TargetCells": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=模板详情!B2,模板详情!B5"
},
"PropertyType": 0,
"Value": true
}
]
},
{
"$type": "Notiflix_Forguncy.Loading_Command, Notiflix_Forguncy",
"FunctionName": "remove",
"Title": "加载中"
}
],
"Text": "生成",
"TemplateKey": "_RS_Main1"
}
},
"6,16": {
"CellType": {
"$type": "Forguncy.ButtonCellType, ServerDesignerCommon",
"CommandList": [
{
"$type": "Forguncy.Model.UpdateListviewCommand, ServerDesignerCommon",
"ListviewName": "表格1",
"UpdateType": 2,
"UpdateRowType": 2
},
{
"$type": "Forguncy.Model.SetCellPropertyCommand, ServerDesignerCommon",
"PropertyItemsList": [
{
"TargetCells": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=模板详情!B2"
},
"Value": "%Null%"
}
]
}
],
"Text": "重新生成",
"TemplateKey": "_RS_Information3"
}
},
"6,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"
}
}
},
"StyleDatas": {
"Styles": [
{
"FontFamily": 0
},
{
"FontFamily": 0,
"Formatter": 1
}
],
"Types": {
"Strs": [
"Body",
"[AUTO]General"
]
},
"CellStyles": {
"4,1": 0,
"6,16": 1,
"6,17": 0,
"6,18": 0,
"6,19": 0
},
"SheetStyle": {
"FontFamily": 0
}
},
"Spans": [
"8,1,1,11",
"4,1,1,24",
"6,21,1,4",
"6,16,1,4",
"8,12,1,5",
"1,1,2,24"
],
"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": []
},
"PrintInfo": {
"PaperSize": {},
"Margin": {}
},
"CustomNames": [
{
"Name": "日期",
"Formula": "模板详情!$B$9"
},
{
"Name": "汇报人",
"Formula": "模板详情!$M$9"
}
]
}//AkqxX5aztUMd4k+20NfO49h/ctlNARhydphUXxnbnYYbGeiWA1EBarr1vmKnvULLpTpxUHyARCc3Hpequpt3qAq5c3HmHiU1r1G8hyHCyO/LvsOYEKEMPoACZhi5wUsX/RBTTkOjHOR3vwNPWO+3FdR+6blkBJe1kdOKdDSLi2Ws9Ps2EmENWSDbPWlfnavR6f42OQdvXPXXv8aIOpibybqCHkP8AknGW+8QkXFdhdxEJ+ujVqtuPxZGJmw4P/UrOBf3PD2XaYEcWD33TF8lmcL0dW5HN1qBA7RIq4WvmMbuQpNZQ66mkBId1bY5jfclzGM+Vtf0AxCkyHdmt4+H/IYZg+MQVLKSO2ttxcBcIM28klydl/d/Ed1r0qH8bw8miSOE7WQlNMtIthRkS2ZoxVkoz38tBMhRD5naxV1U+JGEuV1gNL4NlpvVSqpJffdeq8eicjVPKzPup5CVBFyoBeaOr9WFRer0CCCG21TKGhAwH5ynOYqSQIr1VfSnrc55BFMyhsTOHwHh7PNtUIiQfkHymNR9dQvjd6ipFl3BVtT6PgJigu943nnePYMySEFqz50N8Veyb9i3R0hTJItoyYOyDAKVPilBgeAEnQIvwwwX8qV17t5AE+PR4ND7UZyP/0xYicA+f/GC+i5tRCpEYRhX8aOjgxG9/KMRhFh2ogZ4Rb6y+Dqaaeq1pCxvSGeh9AemAr9SfJBI4IhaMOo5OU+DFuDPljB8XloWU/y+NDD8zxH2ONq7fTB5H7RCiBWgnPMZgjSfX8Uxq+7wgJbsuq+DLX5spl7THxw6w5l6nzj+z644Q9/vly+g0u22Gy03ZAnoHj5vva6SL6YQsLr/FVH2AzNL7yCC9vPqVmivDc597JA+hldkKRS3F1BvbFpgliOauVejAtgIJeqEGDrw4Q==|920

View File

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

View File

@@ -0,0 +1,174 @@
{
"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": "模板名称",
"DataValidationInfo": {}
},
{
"Name": "汇报数据",
"DataValidationInfo": {}
},
{
"Name": "汇报人",
"DataValidationInfo": {
"IgnoreBlank": false
},
"TestData": "shamus"
},
{
"Name": "汇报日期",
"DataValidationInfo": {}
}
],
"InvokeTriggerTestData": {
"UserName": "Administrator"
}
}
],
"Commands": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "最近一次报工日期",
"TableValue": {
"TableName": "任务工时表",
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "73e81c41-172f-4f36-be36-0f3753a1c42f",
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "工时日期",
"GUID": "08331bac-2019-4b3b-8f5a-7aa1eeebcfd2"
},
"ColumnName": "工时日期"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SubConditions": [
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务工时表",
"ColumnName": "执行人",
"GUID": "5c25ebf2-35de-42b9-80bb-d2e0f8edde0a"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=汇报人"
}
},
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务工时表",
"ColumnName": "工时类型",
"GUID": "927e8b88-5075-48c1-a771-2fb8393f560a"
},
"Value": "实际"
}
]
},
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1",
"OrderBySqlCondition": {
"OrderByColumns": [
{
"ColumnBindingInfo": {
"TableName": "任务工时表",
"ColumnName": "工时日期",
"GUID": "ec333b87-7e84-4dfe-b912-2412bcd399eb"
},
"Order": 1
}
]
}
},
"ID": "2e5ca44fc1cb468eb348b70f3f65fbe6"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "最近报工项目",
"TableValue": {
"TableName": "任务工时表",
"BindingInfos": [
{
"GUID": "042d856a-ac9b-4c63-892f-7b516bd4bd3b",
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "项目ID",
"GUID": "9fe63173-5128-4215-acc4-6709548766a8"
},
"ColumnName": "项目ID"
},
{
"GUID": "787dab28-39ad-4bcc-93ab-3f570c9b73b5",
"BindingInfo": {
"TableName": "任务工时表",
"ColumnName": "总工时",
"GUID": "46a18c6e-820c-44e3-9b0e-78348a51130d"
},
"ColumnName": "总工时"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SubConditions": [
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务工时表",
"ColumnName": "执行人",
"GUID": "4b3d5f6f-19ec-4644-bc88-01914025be5c"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=汇报人"
}
},
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务工时表",
"ColumnName": "工时日期",
"GUID": "d0d914d3-0167-477a-a9ee-1b7549dd00b0"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=最近一次报工日期.工时日期"
}
}
]
},
"NullFormulaValueQueryPolicy": 0
},
"ID": "7a9cf1c828b741f689817615908b57ef"
}
],
"ReturnProperties": [
{
"Name": "生成文本"
}
]
}

View File

@@ -25,6 +25,13 @@
"Name": "模板内容",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.SaveLoad.BindingColumnSaveData, ServerDesignerCommon",
"DatabaseColumnType": "bigint",
"MaxLength": -1,
"Name": "是否禁用",
"ColumnType": "System.Int64, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e"
},
{
"$type": "Forguncy.SaveLoad.UserExtraBingingColumnSaveData, ServerDesignerCommon",
"ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e",
@@ -56,5 +63,6 @@
"PrimaryKey": [
"ID"
],
"Relations": [],
"Indexes": []
}