290 lines
14 KiB
JSON
290 lines
14 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": "汇报ID",
|
|
"DataValidationInfo": {
|
|
"$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon",
|
|
"IgnoreBlank": false
|
|
},
|
|
"TestData": "24"
|
|
}
|
|
]
|
|
},
|
|
"InvokeTriggerTestData": {
|
|
"$type": "Forguncy.SaveLoad.InvokeTriggerTestDataSaveData, ServerDesignerCommon",
|
|
"UserName": "Administrator"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"Commands": {
|
|
"$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib",
|
|
"$values": [
|
|
{
|
|
"$type": "ApplicationServerOperationCommand.GetAppBaseUrlCommand, ApplicationServerOperationCommand",
|
|
"ParamName": "baseUrl",
|
|
"BreakpointIdentity": "4df89567-2be6-4e37-8ef6-50ff00cab47e"
|
|
},
|
|
{
|
|
"$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": "c4c85967-163a-4778-af21-74bf0de0b8bd",
|
|
"BindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "汇报记录表",
|
|
"ColumnName": "ID",
|
|
"GUID": "0e93dc38-27a6-4f43-8d1f-259e2ed63004"
|
|
},
|
|
"ColumnName": "ID"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
|
|
"GUID": "4a352d5e-d89c-4c7d-bf24-c09b792e0c26",
|
|
"BindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "汇报记录表",
|
|
"ColumnName": "开始日期",
|
|
"GUID": "558f2e8b-d834-4550-9071-faa795353960"
|
|
},
|
|
"ColumnName": "日期"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
|
|
"GUID": "efa0143d-f403-49da-b4c8-dd67b97ed18a",
|
|
"BindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "汇报记录表",
|
|
"ColumnName": "汇报对象",
|
|
"GUID": "f039b950-9b7c-4f2b-b7ee-59efe980fe9c"
|
|
},
|
|
"ColumnName": "汇报对象"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
|
|
"GUID": "d82fb480-c470-4842-9c22-fca24e0776b0",
|
|
"BindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "汇报记录表",
|
|
"ColumnName": "汇报类型",
|
|
"GUID": "6ff51c49-9039-4eb8-b8a8-96e949ab2c3f"
|
|
},
|
|
"ColumnName": "汇报类型"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
|
|
"GUID": "9c542390-a435-4279-9ca9-4fcc3c14325d",
|
|
"BindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "汇报记录表",
|
|
"ColumnName": "汇报人",
|
|
"GUID": "85bf0bc0-52ba-42bc-9439-c1a9801d04a1",
|
|
"AttachType": {
|
|
"$type": "ForguncyDataAccess.UserColumnAttachObj, ForguncyDataAccess",
|
|
"UserColumnAttachType": 1
|
|
}
|
|
},
|
|
"ColumnName": "汇报人"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
|
|
"GUID": "f3556ae4-e1e9-4dbc-8199-0ba2747b7b71",
|
|
"BindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "汇报记录表",
|
|
"ColumnName": "汇报人",
|
|
"GUID": "10e12df8-125c-466e-9b70-4bce9bc43281",
|
|
"AttachType": {
|
|
"$type": "ForguncyDataAccess.UserColumnAttachObj, ForguncyDataAccess",
|
|
"UserColumnAttachType": 8
|
|
}
|
|
},
|
|
"ColumnName": "汇报人_组织上级"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
|
|
"GUID": "bb7a271e-488b-41e0-a152-b06331cea346",
|
|
"BindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "汇报记录表",
|
|
"ColumnName": "内容",
|
|
"GUID": "4ae3db68-4d61-4995-90ca-e2f92f654771"
|
|
},
|
|
"ColumnName": "内容"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.ParameterTableValueColumn, ServerDesignerCommon",
|
|
"GUID": "4d75fd9d-7798-4c8e-b2fe-8d69d86b34a2",
|
|
"BindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "汇报记录表",
|
|
"ColumnName": "总工时",
|
|
"GUID": "f2b71908-1c86-469e-a9f9-1b8487e971e3"
|
|
},
|
|
"ColumnName": "总工时"
|
|
}
|
|
]
|
|
},
|
|
"SqlCondition": {
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
|
"TableName": "汇报记录表",
|
|
"ColumnName": "ID",
|
|
"GUID": "3c264ea1-de8e-481f-b05d-530d9505afdb"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=汇报ID"
|
|
}
|
|
},
|
|
"NullFormulaValueQueryPolicy": 0,
|
|
"TopCount": "1"
|
|
},
|
|
"ID": "f4635eb887aa4179b89d7345df2faef7",
|
|
"BreakpointIdentity": "b0b5aa20-9587-41d1-a48c-8e82c3f20aca"
|
|
},
|
|
{
|
|
"$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": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
|
"param": {
|
|
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
|
|
"ParamObject": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=汇报信息"
|
|
}
|
|
},
|
|
"value": "%Null%",
|
|
"compareType": 1
|
|
},
|
|
"CommandList": {
|
|
"$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib",
|
|
"$values": [
|
|
{
|
|
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
|
|
"Operation": 17,
|
|
"OperationParamaterAName": "|",
|
|
"OperationParamaterBName": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=汇报信息.汇报人_组织上级"
|
|
},
|
|
"OutParamaterName": "组织上级数组",
|
|
"BreakpointIdentity": "66bd548d-1519-4267-b5a5-1b7d0a622e7e"
|
|
},
|
|
{
|
|
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
|
|
"InParamater": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=组织上级数组"
|
|
},
|
|
"Operation": 19,
|
|
"OutParamaterName": "组织上级数组",
|
|
"BreakpointIdentity": "94f09df2-7080-474b-850b-32d55356db81"
|
|
},
|
|
{
|
|
"$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit",
|
|
"InParamater": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=组织上级数组"
|
|
},
|
|
"Operation": 16,
|
|
"OperationParamaterAName": ",",
|
|
"OutParamaterName": "组织上级",
|
|
"BreakpointIdentity": "12b51a21-27d6-4a95-856f-51457c2929bc"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "跳转URL",
|
|
"ParameterValue": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=baseUrl&\"ReportPreview?id=\"&汇报ID"
|
|
},
|
|
"ID": "7d85d7a595884db08a148485d43c9406",
|
|
"BreakpointIdentity": "e734b62f-1c44-4d25-9a66-5f9f77c5e11d"
|
|
},
|
|
{
|
|
"$type": "ContentEditor.ContentEditor, ContentEditor",
|
|
"Content": "### [=汇报信息.汇报人&\"的\"&汇报信息.汇报对象&汇报信息.汇报类型]\r\n[=汇报信息.内容]",
|
|
"Result": "生成结果",
|
|
"BreakpointIdentity": "ed3e09fd-1238-49c4-b60f-a7de2d7116ec"
|
|
},
|
|
{
|
|
"$type": "DingTalkPlugin.Asyncsend, DingTalkPlugin",
|
|
"Userid_list": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=组织上级"
|
|
},
|
|
"MsgType": "action_card",
|
|
"Text_Content": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=消息内容"
|
|
},
|
|
"Action_card_Btn_Type": "0",
|
|
"Action_card_Markdown": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=生成结果"
|
|
},
|
|
"Action_card_Title": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=汇报信息.汇报人&\"提交的\"&汇报信息.汇报对象&汇报信息.汇报类型"
|
|
},
|
|
"Action_card_Single_title": "查看详情",
|
|
"Action_card_Single_Url": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=跳转URL"
|
|
},
|
|
"Action_card_Btn_orientation": "0",
|
|
"Action_card_Btn_list": {
|
|
"$type": "System.Collections.Generic.List`1[[DingTalkPlugin.CardBtn, DingTalkPlugin]], System.Private.CoreLib",
|
|
"$values": [
|
|
{
|
|
"$type": "DingTalkPlugin.CardBtn, DingTalkPlugin",
|
|
"Title": "查看详情",
|
|
"Url": "https://www.baidu.com"
|
|
},
|
|
{
|
|
"$type": "DingTalkPlugin.CardBtn, DingTalkPlugin",
|
|
"Title": "更多...",
|
|
"Url": "https://www.baidu.com"
|
|
}
|
|
]
|
|
},
|
|
"Task_id": "钉钉消息任务ID",
|
|
"BreakpointIdentity": "d71e5e87-bf2f-4049-8da1-ddacfcf2b5e8"
|
|
}
|
|
]
|
|
},
|
|
"ID": "7144a9ed-c163-41b4-a090-831d45dd19b6"
|
|
}
|
|
]
|
|
},
|
|
"BreakpointIdentity": "a9de8c48-ff22-4405-aa88-23a3a6f6f5fa"
|
|
}
|
|
]
|
|
}
|
|
} |