{"Message":"1","MessageType":2,"Modules":[{"State":1,"Type":27,"Name":"ServerCommandPrivate/发送钉钉工作日报"}],"Version":"v1"}

This commit is contained in:
cuckooent
2025-04-03 14:27:37 +08:00
parent 082d927518
commit 9654a6bbd3
2 changed files with 161 additions and 125 deletions

View File

@@ -2702,16 +2702,7 @@
}, },
{ {
"ModuleName": "ServerCommandPrivate/发送钉钉工作日报", "ModuleName": "ServerCommandPrivate/发送钉钉工作日报",
"State": 1, "ModuleType": 27
"LockedBy": {
"UserName": "cuckooent",
"Email": "phoben@qq.com"
},
"LockDateTime": "2025-04-03T14:00:48.3321174+08:00",
"ModuleType": 27,
"ToRemoveFiles": [
"ServerCommands\\钉钉\\发送钉钉工作日报.json"
]
}, },
{ {
"ModuleName": "ServerCommand/发送钉钉工作日报(页面)", "ModuleName": "ServerCommand/发送钉钉工作日报(页面)",

View File

@@ -33,32 +33,28 @@
"Name": "昨日未完成工作", "Name": "昨日未完成工作",
"DataValidationInfo": { "DataValidationInfo": {
"$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon" "$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon"
}, }
"TestData": "没有"
}, },
{ {
"$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon", "$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon",
"Name": "今日计划", "Name": "今日计划",
"DataValidationInfo": { "DataValidationInfo": {
"$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon" "$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon"
}, }
"TestData": "放假"
}, },
{ {
"$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon", "$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon",
"Name": "今日工作量饱和度", "Name": "今日工作量饱和度",
"DataValidationInfo": { "DataValidationInfo": {
"$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon" "$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon"
}, }
"TestData": "0"
}, },
{ {
"$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon", "$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon",
"Name": "协调工作", "Name": "协调工作",
"DataValidationInfo": { "DataValidationInfo": {
"$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon" "$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon"
}, }
"TestData": "无"
} }
] ]
}, },
@@ -302,7 +298,7 @@
{ {
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
"Name": "sort", "Name": "sort",
"Value": "3" "Value": "0"
}, },
{ {
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
@@ -314,18 +310,32 @@
"Name": "content", "Name": "content",
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=IF(今日计划=\"\",\"无\",今日计划)" "SerializeProperty": "=IF(昨日完成工作=\"\",\"无\",昨日完成工作)"
} }
}, },
{ {
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
"Name": "key", "Name": "key",
"Value": "今日计划" "Value": "昨日完成工作"
} }
] ]
}, },
"OutParamaterName": "今日计划", "OutParamaterName": "昨日完成工作",
"BreakpointIdentity": "6f51c900-9605-4209-b914-38f231c18964" "BreakpointIdentity": "84ffe1ea-5843-44d2-a25a-5160511122f9"
},
{
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
"InParamater": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=contents"
},
"Operation": 4,
"OperationParamaterAName": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=昨日完成工作"
},
"OutParamaterName": "contents",
"BreakpointIdentity": "b47dc318-de3c-4470-aeb7-8a1be1b783bd"
}, },
{ {
"$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit", "$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit",
@@ -347,6 +357,66 @@
"Name": "type", "Name": "type",
"Value": "2" "Value": "2"
}, },
{
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
"Name": "content",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=IF(今日计划=\"\",\"无\",今日计划)"
}
},
{
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
"Name": "key",
"Value": "今日工作量饱和度(%"
}
]
},
"OutParamaterName": "今日计划",
"Disabled": true,
"BreakpointIdentity": "e504c3c9-1c94-4189-b9c1-3783c78e515f"
},
{
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
"InParamater": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=contents"
},
"Operation": 4,
"OperationParamaterAName": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=今日计划"
},
"OutParamaterName": "contents",
"Disabled": true,
"BreakpointIdentity": "a1837b0e-7c38-435a-9409-6e05caf7ebdd"
},
{
"$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit",
"OperationParamaterPairs": {
"$type": "System.Collections.Generic.List`1[[CollectionOperationKit.PropertyValueObject, CollectionOperationKit]], System.Private.CoreLib",
"$values": [
{
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
"Name": "content_type",
"Value": "markdown"
},
{
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
"Name": "sort",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=6"
}
},
{
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
"Name": "type",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=2"
}
},
{ {
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
"Name": "content", "Name": "content",
@@ -363,8 +433,24 @@
] ]
}, },
"OutParamaterName": "今日工作量饱和度", "OutParamaterName": "今日工作量饱和度",
"Disabled": true,
"BreakpointIdentity": "d11f6c36-9e46-4879-aca1-63b52e9489d6" "BreakpointIdentity": "d11f6c36-9e46-4879-aca1-63b52e9489d6"
}, },
{
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
"InParamater": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=contents"
},
"Operation": 4,
"OperationParamaterAName": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=今日工作量饱和度"
},
"OutParamaterName": "contents",
"Disabled": true,
"BreakpointIdentity": "3f178a5d-a464-4942-8aa1-2bdf614938fc"
},
{ {
"$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit", "$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit",
"OperationParamaterPairs": { "OperationParamaterPairs": {
@@ -378,50 +464,18 @@
{ {
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
"Name": "sort", "Name": "sort",
"Value": "0"
},
{
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
"Name": "type",
"Value": "1"
},
{
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
"Name": "content",
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=IF(昨日完成工作=\"\",\"无\",昨日完成工作)" "SerializeProperty": "=1"
} }
}, },
{
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
"Name": "key",
"Value": "昨日完成工作"
}
]
},
"OutParamaterName": "昨日完成工作",
"BreakpointIdentity": "ca73668d-225e-4657-8b2c-fdc416ef2198"
},
{
"$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit",
"OperationParamaterPairs": {
"$type": "System.Collections.Generic.List`1[[CollectionOperationKit.PropertyValueObject, CollectionOperationKit]], System.Private.CoreLib",
"$values": [
{
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
"Name": "content_type",
"Value": "markdown"
},
{
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
"Name": "sort",
"Value": "1"
},
{ {
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
"Name": "type", "Name": "type",
"Value": "1" "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=1"
}
}, },
{ {
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
@@ -439,8 +493,24 @@
] ]
}, },
"OutParamaterName": "昨日未完成工作", "OutParamaterName": "昨日未完成工作",
"Disabled": true,
"BreakpointIdentity": "ada01897-4db2-4a20-8109-f5a90f11e4e9" "BreakpointIdentity": "ada01897-4db2-4a20-8109-f5a90f11e4e9"
}, },
{
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
"InParamater": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=contents"
},
"Operation": 4,
"OperationParamaterAName": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=昨日未完成工作"
},
"OutParamaterName": "contents",
"Disabled": true,
"BreakpointIdentity": "a2febd3f-0901-4c3a-88c7-23085264b9e0"
},
{ {
"$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit", "$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit",
"OperationParamaterPairs": { "OperationParamaterPairs": {
@@ -454,12 +524,18 @@
{ {
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
"Name": "sort", "Name": "sort",
"Value": "2" "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=2"
}
}, },
{ {
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
"Name": "type", "Name": "type",
"Value": "1" "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=1"
}
}, },
{ {
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
@@ -477,64 +553,9 @@
] ]
}, },
"OutParamaterName": "需协调工作", "OutParamaterName": "需协调工作",
"Disabled": true,
"BreakpointIdentity": "aa2f2311-d499-45da-ac2e-b81670390f2f" "BreakpointIdentity": "aa2f2311-d499-45da-ac2e-b81670390f2f"
}, },
{
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
"InParamater": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=contents"
},
"Operation": 4,
"OperationParamaterAName": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=今日计划"
},
"OutParamaterName": "contents",
"BreakpointIdentity": "609d7c28-cf4a-4541-852a-62c1003c4c9f"
},
{
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
"InParamater": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=contents"
},
"Operation": 4,
"OperationParamaterAName": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=今日工作量饱和度"
},
"OutParamaterName": "contents",
"BreakpointIdentity": "76e81967-0a06-4376-8a37-6810d3608965"
},
{
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
"InParamater": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=contents"
},
"Operation": 4,
"OperationParamaterAName": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=昨日完成工作"
},
"OutParamaterName": "contents",
"BreakpointIdentity": "3d361944-1eef-4abb-99c6-f9226ca1d253"
},
{
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
"InParamater": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=contents"
},
"Operation": 4,
"OperationParamaterAName": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=昨日未完成工作"
},
"OutParamaterName": "contents",
"BreakpointIdentity": "15a7aa3d-a010-4398-8c1a-241f0e608af0"
},
{ {
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit", "$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
"InParamater": { "InParamater": {
@@ -547,6 +568,7 @@
"SerializeProperty": "=需协调工作" "SerializeProperty": "=需协调工作"
}, },
"OutParamaterName": "contents", "OutParamaterName": "contents",
"Disabled": true,
"BreakpointIdentity": "f3af0d63-c800-47fe-858f-d4fc34627d3f" "BreakpointIdentity": "f3af0d63-c800-47fe-858f-d4fc34627d3f"
}, },
{ {
@@ -578,12 +600,18 @@
{ {
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
"Name": "to_userids", "Name": "to_userids",
"Value": "0164692818742998" "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ToUsers"
}
}, },
{ {
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
"Name": "dd_from", "Name": "dd_from",
"Value": "1" "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=TEXT(NOW(),\"yyyymmddhhmmss\")"
}
}, },
{ {
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit", "$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
@@ -598,6 +626,23 @@
"OutParamaterName": "create_report_param", "OutParamaterName": "create_report_param",
"BreakpointIdentity": "ad53846f-cffa-48d9-ba45-91b6d7df79d6" "BreakpointIdentity": "ad53846f-cffa-48d9-ba45-91b6d7df79d6"
}, },
{
"$type": "ContentEditor.ContentEditor, ContentEditor",
"Content": "{\r\n\"create_report_param\":{\r\n\"template_id\": \"159cfa053a8be099e0494774cfbaf1ad\",\r\n\"userid\": \"[=当前用户.DingTalkUserID]\",\r\n\"to_chat\": true,\r\n\"to_userids\": [\"0164692818742998\"],\r\n\"dd_from\": \"[=NOW()]\",\r\n\"contents\": [\r\n{\r\n\"content_type\": \"markdown\",\r\n\"sort\": \"3\",\r\n\"type\": \"1\",\r\n\"content\": \"无\",\r\n\"key\": \"今日计划\"\r\n},\r\n{\r\n\"content_type\": \"markdown\",\r\n\"sort\": \"6\",\r\n\"type\": \"2\",\r\n\"content\": \"无\",\r\n\"key\": \"今日工作量饱和度(%\"\r\n},\r\n{\r\n\"content_type\": \"markdown\",\r\n\"sort\": \"0\",\r\n\"type\": \"1\",\r\n\"content\": \"[=今日计划]\",\r\n\"key\": \"昨日完成工作\"\r\n},\r\n{\r\n\"content_type\": \"markdown\",\r\n\"sort\": \"1\",\r\n\"type\": \"1\",\r\n\"content\": \"无\",\r\n\"key\": \"昨日未完成工作\"\r\n},\r\n{\r\n\"content_type\": \"markdown\",\r\n\"sort\": \"2\",\r\n\"type\": \"1\",\r\n\"content\": \"无\",\r\n\"key\": \"需协调工作\"\r\n}\r\n]\r\n}}",
"Result": "参数字符串",
"Disabled": true,
"BreakpointIdentity": "269351b3-f0a0-41cd-a39e-f5087e7febf0"
},
{
"$type": "JsonUtilityCommand.JsonDeserializeCommand, JsonUtilityCommand",
"JsonString": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=参数字符串"
},
"ToParameter": "参数JSON",
"Disabled": true,
"BreakpointIdentity": "81b9d002-3b5c-4835-b179-46d141dac289"
},
{ {
"$type": "PostDataToWebApi.PostDataCommand, PostDataToWebApi", "$type": "PostDataToWebApi.PostDataCommand, PostDataToWebApi",
"PostData": { "PostData": {
@@ -622,7 +667,7 @@
} }
} }
}, },
"JsonString": "", "JsonString": "[=contents]",
"WebUrl": { "WebUrl": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=\"https://oapi.dingtalk.com/topapi/report/create?access_token=\"&AccessToken" "SerializeProperty": "=\"https://oapi.dingtalk.com/topapi/report/create?access_token=\"&AccessToken"
@@ -652,7 +697,7 @@
} }
] ]
}, },
"ID": "017c07b0-3b2b-4654-be9b-1bd5ce151fa1" "ID": "2b2fde9e-346b-4ea6-bef7-5c55919682ec"
}, },
{ {
"$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon",
@@ -667,7 +712,7 @@
} }
] ]
}, },
"ID": "041d7788-0007-4395-a995-5ea46b00f73e" "ID": "78ad0182-85c0-4635-bf0c-8b9a64b49111"
} }
] ]
}, },
@@ -675,7 +720,7 @@
} }
] ]
}, },
"ID": "03d31b2b-984a-4413-a799-99440615d93b" "ID": "96cbf58f-be17-4464-a3eb-c9e2cbb4d47c"
}, },
{ {
"$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon", "$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon",
@@ -690,7 +735,7 @@
} }
] ]
}, },
"ID": "6976ae86-df2e-4a65-b882-eea56db14962" "ID": "df3e2234-135b-4b3e-a9f3-e3aa5da2e7b1"
} }
] ]
}, },