750 lines
44 KiB
JSON
750 lines
44 KiB
JSON
{
|
||
"$type": "Forguncy.SaveLoad.ServerCommandSaveData, ServerDesignerCommon",
|
||
"Name": "发送钉钉工作日报",
|
||
"Enabled": true,
|
||
"Triggers": {
|
||
"$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.TriggerSaveDataBase, ServerDesignerCommon]], System.Private.CoreLib",
|
||
"$values": [
|
||
{
|
||
"$type": "Forguncy.SaveLoad.InvokeTriggerSaveData, ServerDesignerCommon",
|
||
"Parameters": {
|
||
"$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon]], System.Private.CoreLib",
|
||
"$values": [
|
||
{
|
||
"$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon",
|
||
"Name": "发送人",
|
||
"DataValidationInfo": {
|
||
"$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon",
|
||
"IgnoreBlank": false
|
||
},
|
||
"TestData": "shamus"
|
||
},
|
||
{
|
||
"$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon",
|
||
"Name": "昨日完成工作",
|
||
"DataValidationInfo": {
|
||
"$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon",
|
||
"IgnoreBlank": false
|
||
},
|
||
"TestData": "测试"
|
||
},
|
||
{
|
||
"$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon",
|
||
"Name": "昨日未完成工作",
|
||
"DataValidationInfo": {
|
||
"$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon"
|
||
}
|
||
},
|
||
{
|
||
"$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon",
|
||
"Name": "今日计划",
|
||
"DataValidationInfo": {
|
||
"$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon"
|
||
}
|
||
},
|
||
{
|
||
"$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon",
|
||
"Name": "今日工作量饱和度",
|
||
"DataValidationInfo": {
|
||
"$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon"
|
||
}
|
||
},
|
||
{
|
||
"$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon",
|
||
"Name": "协调工作",
|
||
"DataValidationInfo": {
|
||
"$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon"
|
||
}
|
||
}
|
||
]
|
||
},
|
||
"InvokeTriggerTestData": {
|
||
"$type": "Forguncy.SaveLoad.InvokeTriggerTestDataSaveData, ServerDesignerCommon",
|
||
"UserName": "shamus"
|
||
}
|
||
}
|
||
]
|
||
},
|
||
"Commands": {
|
||
"$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib",
|
||
"$values": [
|
||
{
|
||
"$type": "DingTalkPlugin.GetAccessToken, DingTalkPlugin",
|
||
"AccessToken": "AccessToken",
|
||
"BreakpointIdentity": "dac7cf0c-ec91-4269-9422-6872f43cd8c1"
|
||
},
|
||
{
|
||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||
"ParameterName": "当前用户",
|
||
"TableValue": {
|
||
"$type": "Forguncy.Model.Commands.ParameterTableValue, ServerDesignerCommon",
|
||
"TableName": "用户信息视图",
|
||
"TableValueType": 1,
|
||
"BindingInfos": {
|
||
"$type": "System.Collections.Generic.List`1[[Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon]], System.Private.CoreLib",
|
||
"$values": [
|
||
{
|
||
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
|
||
"GUID": "32deebac-f08f-4262-bdbb-59ad1c42108f",
|
||
"BindingInfo": {
|
||
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
||
"TableName": "用户信息视图",
|
||
"ColumnName": "组织上级",
|
||
"GUID": "ebfd7b38-e98b-498d-a564-4f70b3d27d76"
|
||
},
|
||
"ColumnName": "组织上级"
|
||
},
|
||
{
|
||
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
|
||
"GUID": "47ed568a-0219-45a9-af14-e4c35e5023a3",
|
||
"BindingInfo": {
|
||
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
||
"TableName": "用户信息视图",
|
||
"ColumnName": "DingTalkUserID",
|
||
"GUID": "2cc87715-dca7-4d37-8025-0066bdc8e238"
|
||
},
|
||
"ColumnName": "DingTalkUserID"
|
||
}
|
||
]
|
||
},
|
||
"SqlCondition": {
|
||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||
"ColumnBindingInfo": {
|
||
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
||
"TableName": "用户信息视图",
|
||
"ColumnName": "用户名",
|
||
"GUID": "e9347f59-5017-4343-88bc-5153115723e3"
|
||
},
|
||
"Value": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "=发送人"
|
||
}
|
||
},
|
||
"TopCount": "1"
|
||
},
|
||
"ID": "c3f28cb482fd4c5492a80c37b8d2d21d",
|
||
"BreakpointIdentity": "6aea9f78-fbff-4d67-9442-42e18cc17db8"
|
||
},
|
||
{
|
||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||
"ConditionAndCommandPairList": {
|
||
"$type": "System.Collections.Generic.List`1[[Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon]], System.Private.CoreLib",
|
||
"$values": [
|
||
{
|
||
"$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon",
|
||
"Condition": {
|
||
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
||
"SubConditions": {
|
||
"$type": "System.Collections.Generic.List`1[[ForguncyDataAccess.ISqlCondition, ForguncyDataAccess]], System.Private.CoreLib",
|
||
"$values": [
|
||
{
|
||
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
||
"param": {
|
||
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
||
"ParamObject": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "=当前用户"
|
||
}
|
||
},
|
||
"value": "%Null%",
|
||
"compareType": 1
|
||
},
|
||
{
|
||
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
||
"param": {
|
||
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
||
"ParamObject": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "=当前用户.DingTalkUserID"
|
||
}
|
||
},
|
||
"value": "%Null%",
|
||
"compareType": 1
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"CommandList": {
|
||
"$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib",
|
||
"$values": [
|
||
{
|
||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||
"ParameterName": "组织上级信息",
|
||
"TableValue": {
|
||
"$type": "Forguncy.Model.Commands.ParameterTableValue, ServerDesignerCommon",
|
||
"TableName": "用户信息视图",
|
||
"BindingInfos": {
|
||
"$type": "System.Collections.Generic.List`1[[Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon]], System.Private.CoreLib",
|
||
"$values": [
|
||
{
|
||
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
|
||
"GUID": "d293d43d-ba8c-4c2e-88fb-7f9482601665",
|
||
"BindingInfo": {
|
||
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
||
"TableName": "用户信息视图",
|
||
"ColumnName": "DingTalkUserID",
|
||
"GUID": "31ca7de2-cebf-4a63-98de-34025369ae7e"
|
||
},
|
||
"ColumnName": "DingTalkUserID"
|
||
}
|
||
]
|
||
},
|
||
"SqlCondition": {
|
||
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
||
"SubConditions": {
|
||
"$type": "System.Collections.Generic.List`1[[ForguncyDataAccess.ISqlCondition, ForguncyDataAccess]], System.Private.CoreLib",
|
||
"$values": [
|
||
{
|
||
"$type": "ForguncyDataAccess.TextCESqlCondition, ForguncyDataAccess",
|
||
"CompareType": 8,
|
||
"ColumnBindingInfo": {
|
||
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
||
"TableName": "用户信息视图",
|
||
"ColumnName": "用户名",
|
||
"GUID": "d81bb151-a959-47fa-9cf5-3bdb45ff431c"
|
||
},
|
||
"Value": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "=SUBSTITUTE(当前用户.组织上级,\"|\",\",\")"
|
||
}
|
||
},
|
||
{
|
||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||
"CompareType": 1,
|
||
"ColumnBindingInfo": {
|
||
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
||
"TableName": "用户信息视图",
|
||
"ColumnName": "DingTalkUserID",
|
||
"GUID": "3f01d6d2-6633-42e5-a580-d480f26a1902"
|
||
},
|
||
"Value": "%Null%"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"TopCount": "1"
|
||
},
|
||
"ID": "df2f301f6e024be38b67c7fd59834e1c",
|
||
"BreakpointIdentity": "149a9ea5-1914-4dcb-bb68-d3f1da9c03fa"
|
||
},
|
||
{
|
||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||
"ConditionAndCommandPairList": {
|
||
"$type": "System.Collections.Generic.List`1[[Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon]], System.Private.CoreLib",
|
||
"$values": [
|
||
{
|
||
"$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon",
|
||
"Condition": {
|
||
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
||
"SubConditions": {
|
||
"$type": "System.Collections.Generic.List`1[[ForguncyDataAccess.ISqlCondition, ForguncyDataAccess]], System.Private.CoreLib",
|
||
"$values": [
|
||
{
|
||
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
||
"param": {
|
||
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
||
"ParamObject": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "=组织上级信息"
|
||
}
|
||
},
|
||
"value": "%Null%",
|
||
"compareType": 1
|
||
},
|
||
{
|
||
"$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": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib",
|
||
"$values": [
|
||
{
|
||
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
|
||
"InParamater": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "=组织上级信息"
|
||
},
|
||
"Operation": 18,
|
||
"OperationParamaterAName": "DingTalkUserID",
|
||
"OutParamaterName": "ToUsers",
|
||
"BreakpointIdentity": "3c9300ce-7a67-43a7-b742-634825882e30"
|
||
},
|
||
{
|
||
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
|
||
"OutParamaterName": "contents",
|
||
"BreakpointIdentity": "5367c24f-2f20-463f-baeb-9e66eb3ab02a"
|
||
},
|
||
{
|
||
"$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": "0"
|
||
},
|
||
{
|
||
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
|
||
"Name": "type",
|
||
"Value": "1"
|
||
},
|
||
{
|
||
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
|
||
"Name": "content",
|
||
"Value": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "=IF(昨日完成工作=\"\",\"无\",昨日完成工作)"
|
||
}
|
||
},
|
||
{
|
||
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
|
||
"Name": "key",
|
||
"Value": "昨日完成工作"
|
||
}
|
||
]
|
||
},
|
||
"OutParamaterName": "昨日完成工作",
|
||
"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",
|
||
"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": "6"
|
||
},
|
||
{
|
||
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
|
||
"Name": "type",
|
||
"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",
|
||
"Name": "content",
|
||
"Value": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "=IF(今日工作量饱和度=\"\",\"无\",今日工作量饱和度)"
|
||
}
|
||
},
|
||
{
|
||
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
|
||
"Name": "key",
|
||
"Value": "今日工作量饱和度(%)"
|
||
}
|
||
]
|
||
},
|
||
"OutParamaterName": "今日工作量饱和度",
|
||
"Disabled": true,
|
||
"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",
|
||
"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": "=1"
|
||
}
|
||
},
|
||
{
|
||
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
|
||
"Name": "type",
|
||
"Value": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "=1"
|
||
}
|
||
},
|
||
{
|
||
"$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": "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",
|
||
"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": "=2"
|
||
}
|
||
},
|
||
{
|
||
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
|
||
"Name": "type",
|
||
"Value": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "=1"
|
||
}
|
||
},
|
||
{
|
||
"$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": "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",
|
||
"Disabled": true,
|
||
"BreakpointIdentity": "f3af0d63-c800-47fe-858f-d4fc34627d3f"
|
||
},
|
||
{
|
||
"$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit",
|
||
"OperationParamaterPairs": {
|
||
"$type": "System.Collections.Generic.List`1[[CollectionOperationKit.PropertyValueObject, CollectionOperationKit]], System.Private.CoreLib",
|
||
"$values": [
|
||
{
|
||
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
|
||
"Name": "template_id",
|
||
"Value": "159cfa053a8be099e0494774cfbaf1ad"
|
||
},
|
||
{
|
||
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
|
||
"Name": "userid",
|
||
"Value": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "=当前用户.DingTalkUserID"
|
||
}
|
||
},
|
||
{
|
||
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
|
||
"Name": "to_chat",
|
||
"Value": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "=TRUE()"
|
||
}
|
||
},
|
||
{
|
||
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
|
||
"Name": "to_userids",
|
||
"Value": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "=ToUsers"
|
||
}
|
||
},
|
||
{
|
||
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
|
||
"Name": "dd_from",
|
||
"Value": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "=TEXT(NOW(),\"yyyymmddhhmmss\")"
|
||
}
|
||
},
|
||
{
|
||
"$type": "CollectionOperationKit.PropertyValueObject, CollectionOperationKit",
|
||
"Name": "contents",
|
||
"Value": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "=contents"
|
||
}
|
||
}
|
||
]
|
||
},
|
||
"OutParamaterName": "create_report_param",
|
||
"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",
|
||
"PostData": {
|
||
"$type": "PostDataToWebApi.DataItem, PostDataToWebApi",
|
||
"DataItemType": 1,
|
||
"Data": {
|
||
"$type": "PostDataToWebApi.ObjectData, PostDataToWebApi",
|
||
"IsStringify": true,
|
||
"Data": {
|
||
"$type": "System.Collections.Generic.List`1[[PostDataToWebApi.DataItem, PostDataToWebApi]], System.Private.CoreLib",
|
||
"$values": [
|
||
{
|
||
"$type": "PostDataToWebApi.DataItem, PostDataToWebApi",
|
||
"Name": "create_report_param",
|
||
"DataItemType": 0,
|
||
"Data": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "=create_report_param"
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
},
|
||
"JsonString": "[=contents]",
|
||
"WebUrl": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "=\"https://oapi.dingtalk.com/topapi/report/create?access_token=\"&AccessToken"
|
||
},
|
||
"Method": "POST",
|
||
"SuccessCallback": "// 请求成功返回的数据存储在“result”变量中\r\n// 请使用“result”变量来完成请求成功的回调 \r\n//console.log(result);",
|
||
"ErrorCallback": "// 请求中发生的错误存储在“error”变量中\r\n// 请使用“error”变量来处理异常情况 \r\nconsole.error(error);",
|
||
"NewParameter": "res",
|
||
"Header": {
|
||
"$type": "System.Collections.Generic.List`1[[PostDataToWebApi.RequestHeaderSaveAndLoad, PostDataToWebApi]], System.Private.CoreLib",
|
||
"$values": []
|
||
},
|
||
"Timeout": 100.0,
|
||
"BreakpointIdentity": "40a70864-4abc-41be-852f-93b526c2764e"
|
||
},
|
||
{
|
||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||
"ErrorCode": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "=res.errcode"
|
||
},
|
||
"Message": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "=res.result"
|
||
},
|
||
"BreakpointIdentity": "9a340008-be7f-440f-83ab-9c8d99391967"
|
||
}
|
||
]
|
||
},
|
||
"ID": "2b2fde9e-346b-4ea6-bef7-5c55919682ec"
|
||
},
|
||
{
|
||
"$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon",
|
||
"CommandList": {
|
||
"$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib",
|
||
"$values": [
|
||
{
|
||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||
"ErrorCode": "400",
|
||
"Message": "无组织上级信息",
|
||
"BreakpointIdentity": "57d3cefe-a900-4837-9a3f-41f23bc71350"
|
||
}
|
||
]
|
||
},
|
||
"ID": "78ad0182-85c0-4635-bf0c-8b9a64b49111"
|
||
}
|
||
]
|
||
},
|
||
"BreakpointIdentity": "6c2d878a-9935-45db-886e-11c930e426fc"
|
||
}
|
||
]
|
||
},
|
||
"ID": "96cbf58f-be17-4464-a3eb-c9e2cbb4d47c"
|
||
},
|
||
{
|
||
"$type": "Forguncy.Model.ConditionAndCommandPair, ServerDesignerCommon",
|
||
"CommandList": {
|
||
"$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib",
|
||
"$values": [
|
||
{
|
||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||
"ErrorCode": "400",
|
||
"Message": "发送人未绑定钉钉",
|
||
"BreakpointIdentity": "23b1c6a2-c748-4d80-9ccf-13c3e34b3647"
|
||
}
|
||
]
|
||
},
|
||
"ID": "df3e2234-135b-4b3e-a9f3-e3aa5da2e7b1"
|
||
}
|
||
]
|
||
},
|
||
"BreakpointIdentity": "1f5df43e-9acf-43be-92b2-552384dee8b1"
|
||
}
|
||
]
|
||
},
|
||
"ReturnProperties": {
|
||
"$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.ReturnPropertySaveData, ServerDesignerCommon]], System.Private.CoreLib",
|
||
"$values": []
|
||
}
|
||
} |