{"Message":"上报工时可使用 “从Gitee分析”功能,自动填充。","MessageType":2,"Modules":[{"State":1,"Type":1,"Name":"PCPage/新增报工"},{"State":1,"Type":9,"Name":"Theme"},{"State":1,"Type":40,"Name":"Plugin"},{"State":1,"Type":15,"Name":"ServerCommand/根据汇报模板生成内容"},{"State":1,"Type":15,"Name":"ServerCommand/从Gitee提取报工"},{"State":3,"Type":15,"Name":"ServerCommand/服务端命令1"},{"State":3,"Type":15,"Name":"ServerCommand/服务端命令2"},{"State":3,"Type":20,"Name":"ServerCommands/导入文件夹1"}],"Version":"v1"}
This commit is contained in:
@@ -32,7 +32,8 @@
|
||||
"Name": "结束日期",
|
||||
"DataValidationInfo": {
|
||||
"IgnoreBlank": false
|
||||
}
|
||||
},
|
||||
"TestData": "2024-06-13"
|
||||
},
|
||||
{
|
||||
"Name": "用户",
|
||||
@@ -56,7 +57,7 @@
|
||||
"TableValueType": 1,
|
||||
"BindingInfos": [
|
||||
{
|
||||
"GUID": "4228fb3e-a8a6-4dbb-b3cc-bce5b3011435",
|
||||
"GUID": "8f82e754-66c0-4b46-8096-452e5b638a47",
|
||||
"BindingInfo": {
|
||||
"TableName": "用户信息视图",
|
||||
"ColumnName": "GIT用户名",
|
||||
@@ -80,7 +81,7 @@
|
||||
"NullFormulaValueQueryPolicy": 0,
|
||||
"TopCount": "1"
|
||||
},
|
||||
"ID": "b4030fac6e4643919f2d70820325c4bf"
|
||||
"ID": "bbf27a5a9c66482f85c63fea495e0214"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||||
@@ -114,13 +115,21 @@
|
||||
"ParameterValue": "0",
|
||||
"ID": "73122483179048b18313028406573a8f"
|
||||
},
|
||||
{
|
||||
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
|
||||
"InParamater": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=事件列表"
|
||||
},
|
||||
"OutParamaterName": "事件列表"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.LoopCommand, ServerDesignerCommon",
|
||||
"LoopInfo": {
|
||||
"$type": "Forguncy.Model.CountLoopInfo, ServerDesignerCommon",
|
||||
"LoopCount": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=计算天数"
|
||||
"SerializeProperty": "=计算天数+1"
|
||||
},
|
||||
"LoopIndexParamName": "index",
|
||||
"LoopItemParamName": "当前天数"
|
||||
@@ -133,7 +142,7 @@
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=开始日期+index-1"
|
||||
},
|
||||
"ID": "16028728d41c48a6a213d0ebd8d32b2e"
|
||||
"ID": "d4a5f61ea18f4cc7a24de21472568421"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
@@ -142,7 +151,7 @@
|
||||
"TableName": "Git_事件记录",
|
||||
"BindingInfos": [
|
||||
{
|
||||
"GUID": "07b5b976-2ddd-4e1c-b61a-a27412db7d04",
|
||||
"GUID": "8c52173d-d148-4903-b056-fb3b5e4271df",
|
||||
"BindingInfo": {
|
||||
"TableName": "Git_事件记录",
|
||||
"ColumnName": "日期",
|
||||
@@ -151,7 +160,7 @@
|
||||
"ColumnName": "日期"
|
||||
},
|
||||
{
|
||||
"GUID": "0cc165a2-d802-4923-bca3-e8450105b7bd",
|
||||
"GUID": "03433246-583c-4fc6-bad5-16ba014ae315",
|
||||
"BindingInfo": {
|
||||
"TableName": "Git_事件记录",
|
||||
"ColumnName": "事件内容",
|
||||
@@ -203,7 +212,7 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"ID": "ee6c5b8e973045dba953f276a0654008"
|
||||
"ID": "09aaf1a2b4ed4c7ba9769efd0ffff595"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||||
@@ -229,7 +238,7 @@
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=Gitee事件.0.日期"
|
||||
},
|
||||
"ID": "16f04d70627b4c23bd50fd5af94bc002"
|
||||
"ID": "c5dc990dffbc47e18c0f4a1db5c1381e"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
@@ -238,7 +247,25 @@
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=GETPARAM(\"Gitee事件.\"&Gitee事件.Count-1&\".日期\")"
|
||||
},
|
||||
"ID": "ee7c067b599447098af7b945afb6f01b"
|
||||
"ID": "7c19014644ba4fcfae80f801b077dbed"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "今日工时",
|
||||
"ParameterValue": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=IFERROR(ROUND((最大时间-最小时间)*24,1),0)"
|
||||
},
|
||||
"ID": "9dc82b30c38a47b98eed930ce1f0db4d"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "总工时",
|
||||
"ParameterValue": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=总工时+今日工时"
|
||||
},
|
||||
"ID": "3cf8b482c8914dce850e9cb334ebcd33"
|
||||
},
|
||||
{
|
||||
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
|
||||
@@ -255,50 +282,125 @@
|
||||
"OutParamaterName": "事件内容拼接"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "今日工时",
|
||||
"ParameterValue": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=IFERROR(ROUND((最大时间-最小时间)*24,1),0)"
|
||||
},
|
||||
"ID": "be9fc47d15544d86a333c2072f2bde64"
|
||||
"$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit",
|
||||
"OperationParamaterPairs": [
|
||||
{
|
||||
"Name": "内容",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=事件内容拼接"
|
||||
}
|
||||
}
|
||||
],
|
||||
"OutParamaterName": "今日数据"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "总工时",
|
||||
"ParameterValue": {
|
||||
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
|
||||
"InParamater": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=总工时+今日工时"
|
||||
"SerializeProperty": "=事件列表"
|
||||
},
|
||||
"ID": "ccb605ff743244d99d745fad3c9a21a0"
|
||||
"Operation": 4,
|
||||
"OperationParamaterAName": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=今日数据"
|
||||
},
|
||||
"OutParamaterName": "事件列表"
|
||||
}
|
||||
],
|
||||
"ID": "99086d22-0b81-4634-9ce0-0f2f4e7b3153"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "0",
|
||||
"Message": "无今日Gitee签入或签出记录",
|
||||
"CustomReturns": [
|
||||
{
|
||||
"ReturnPropertyName": "工时"
|
||||
},
|
||||
{
|
||||
"ReturnPropertyName": "工作内容"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "281e736c-4b4f-464a-a2d0-979f3a0072cd"
|
||||
"ID": "5bc82618-62a0-4ad7-81de-4a4ae40003fb"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||||
"ConditionAndCommandPairList": [
|
||||
{
|
||||
"Condition": {
|
||||
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
||||
"param": {
|
||||
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
||||
"ParamObject": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=事件列表.Count"
|
||||
}
|
||||
},
|
||||
"value": "0",
|
||||
"compareType": 2
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit",
|
||||
"OperationParamaterPairs": [
|
||||
{
|
||||
"Name": "事件列表",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=事件列表"
|
||||
}
|
||||
}
|
||||
],
|
||||
"OutParamaterName": "数据源"
|
||||
},
|
||||
{
|
||||
"$type": "MustachePlugin.Render, MustachePlugin",
|
||||
"DataSrouce": "{{#事件列表}}\r\n{{内容}}\r\n{{/事件列表}}",
|
||||
"UseCustomsDataHash": true,
|
||||
"CustomsDataHash": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=数据源"
|
||||
},
|
||||
"SetMaxRecursionDepth": 512,
|
||||
"ResultTo": "输出结果"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "0",
|
||||
"Message": "生成成功",
|
||||
"CustomReturns": [
|
||||
{
|
||||
"ReturnPropertyName": "工时",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=总工时"
|
||||
}
|
||||
},
|
||||
{
|
||||
"ReturnPropertyName": "工作内容",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=输出结果"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "0e598871-c20f-4ca0-abca-cf1feca9c43d"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "400",
|
||||
"Message": "无Gitee记录",
|
||||
"CustomReturns": [
|
||||
{
|
||||
"ReturnPropertyName": "工时"
|
||||
},
|
||||
{
|
||||
"ReturnPropertyName": "工作内容"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "17cdfa64-1f6b-4a59-9670-949c6c3f5f2a"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "d41dd9b6-a1b7-4d5e-a315-f5bcf5f4bd5b"
|
||||
"ID": "e0f0e898-5752-4cbb-a33a-6d032e73734d"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
@@ -316,7 +418,7 @@
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "215c583f-1e78-4578-a6a6-720c352259dc"
|
||||
"ID": "3b95baba-3c99-45c2-b1cb-feaed60baf11"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
35
ServerCommands/导入文件夹1/服务端命令1.json
Normal file
35
ServerCommands/导入文件夹1/服务端命令1.json
Normal file
@@ -0,0 +1,35 @@
|
||||
{
|
||||
"Name": "服务端命令1",
|
||||
"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"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
],
|
||||
"Commands": [
|
||||
{
|
||||
"$type": "MustachePlugin.Render, MustachePlugin",
|
||||
"DataSrouce": "123123\r\n123213213\r\n\r\n\r\n\r\n\r\n",
|
||||
"UseCustomsDataHash": true,
|
||||
"CustomsDataHash": "1",
|
||||
"SetMaxRecursionDepth": 512,
|
||||
"ResultTo": "输出结果"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -330,7 +330,7 @@
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "cee677ad-de03-4da1-b645-913b5611c298"
|
||||
"ID": "26c2f871-9736-49f1-b6a1-183d5504aa38"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -399,6 +399,20 @@
|
||||
},
|
||||
"ID": "a84cfa225a7c4b12b51e30a3b36c833e"
|
||||
},
|
||||
{
|
||||
"$type": "MustachePlugin.Render, MustachePlugin",
|
||||
"DataSrouce": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=日报模板.模板内容"
|
||||
},
|
||||
"UseCustomsDataHash": true,
|
||||
"CustomsDataHash": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=数据源"
|
||||
},
|
||||
"SetMaxRecursionDepth": 11,
|
||||
"ResultTo": "输出结果"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": "0",
|
||||
|
||||
Reference in New Issue
Block a user