323 lines
15 KiB
JSON
323 lines
15 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.PostRequestTriggerSaveData, ServerDesignerCommon",
|
||
"Permission": {
|
||
"$type": "Forguncy.SaveLoad.ServerCommandPermissionSaveData, ServerDesignerCommon",
|
||
"PermissionData": {
|
||
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionData, Forguncy.RbacPermission.Core",
|
||
"permissionResource": {
|
||
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionResource, Forguncy.RbacPermission.Core"
|
||
},
|
||
"permissionBindings": {
|
||
"$type": "System.Collections.Generic.List`1[[Forguncy.RbacPermission.Core.Impl.ServerCommand.IServerCommandPermissionBinding, Forguncy.RbacPermission.Core]], System.Private.CoreLib",
|
||
"$values": [
|
||
{
|
||
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionBinding, Forguncy.RbacPermission.Core",
|
||
"roleNames": {
|
||
"$type": "System.Collections.Generic.List`1[[System.String, System.Private.CoreLib]], System.Private.CoreLib",
|
||
"$values": [
|
||
"FGC_LoginUser"
|
||
]
|
||
}
|
||
}
|
||
]
|
||
}
|
||
}
|
||
},
|
||
"HttpMethod": 3,
|
||
"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": "8"
|
||
},
|
||
{
|
||
"$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon",
|
||
"Name": "待办标题",
|
||
"DataValidationInfo": {
|
||
"$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon",
|
||
"IgnoreBlank": false
|
||
},
|
||
"TestData": "8项目正等待您的审批"
|
||
},
|
||
{
|
||
"$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon",
|
||
"Name": "待办描述",
|
||
"DataValidationInfo": {
|
||
"$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon"
|
||
},
|
||
"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",
|
||
"IgnoreBlank": false
|
||
},
|
||
"TestData": "shamus"
|
||
},
|
||
{
|
||
"$type": "Forguncy.SaveLoad.PostRequestParameterSaveData, ServerDesignerCommon",
|
||
"Name": "流程任务ID",
|
||
"DataValidationInfo": {
|
||
"$type": "Forguncy.SaveLoad.DataValidationInfoSaveData, ServerDesignerCommon"
|
||
}
|
||
}
|
||
]
|
||
},
|
||
"InvokeTriggerTestData": {
|
||
"$type": "Forguncy.SaveLoad.InvokeTriggerTestDataSaveData, ServerDesignerCommon",
|
||
"UserName": "shamus",
|
||
"RequestTimeout": 20
|
||
}
|
||
}
|
||
]
|
||
},
|
||
"Commands": {
|
||
"$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib",
|
||
"$values": [
|
||
{
|
||
"$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon",
|
||
"TryCommandPart": {
|
||
"$type": "Forguncy.Model.ExceptionCommandBaseNode, ServerDesignerCommon",
|
||
"CommandList": {
|
||
"$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib",
|
||
"$values": [
|
||
{
|
||
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
|
||
"ServerCommandName": "Basic创建钉钉待办",
|
||
"Parameters": {
|
||
"$type": "System.Collections.Generic.List`1[[Forguncy.Model.RequestServerCommandParamBase, ServerDesignerCommon]], System.Private.CoreLib",
|
||
"$values": [
|
||
{
|
||
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
|
||
"ParamName": "创建人",
|
||
"Value": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "=发起人"
|
||
}
|
||
},
|
||
{
|
||
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
|
||
"ParamName": "业务ID",
|
||
"Value": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "=\"项目-\"&项目ID"
|
||
}
|
||
},
|
||
{
|
||
"$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": "截止时间"
|
||
},
|
||
{
|
||
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
|
||
"ParamName": "执行者",
|
||
"Value": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "=执行人"
|
||
}
|
||
},
|
||
{
|
||
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
|
||
"ParamName": "参与者"
|
||
},
|
||
{
|
||
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
|
||
"ParamName": "APPURL",
|
||
"Value": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "=\"https://www.yugasoft.cn/clue/项目审批?id=\"&项目ID"
|
||
}
|
||
},
|
||
{
|
||
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
|
||
"ParamName": "PCURL",
|
||
"Value": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "=\"https://www.yugasoft.cn/clue/项目审批?id=\"&项目ID"
|
||
}
|
||
},
|
||
{
|
||
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
|
||
"ParamName": "流程任务ID",
|
||
"Value": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "=流程任务ID"
|
||
}
|
||
}
|
||
]
|
||
},
|
||
"ResultErrorCodeTo": {
|
||
"$type": "Forguncy.Common.FormulaCellLocation, ServerDesignerCommon",
|
||
"SerializeProperty": "code"
|
||
},
|
||
"ResultMessageTo": {
|
||
"$type": "Forguncy.Common.FormulaCellLocation, ServerDesignerCommon",
|
||
"SerializeProperty": "msg"
|
||
},
|
||
"ReturnPropertiesTo": {
|
||
"$type": "System.Collections.Generic.List`1[[Forguncy.Model.ReturnPropertyTo, ServerDesignerCommon]], System.Private.CoreLib",
|
||
"$values": [
|
||
{
|
||
"$type": "Forguncy.Model.ReturnPropertyTo, ServerDesignerCommon",
|
||
"ResultPropertyName": "TaskID",
|
||
"ResultTo": {
|
||
"$type": "Forguncy.Common.FormulaCellLocation, ServerDesignerCommon",
|
||
"SerializeProperty": "待办ID"
|
||
}
|
||
}
|
||
]
|
||
},
|
||
"RefreshAfterFinish": true,
|
||
"CheckDataValidation": true,
|
||
"BreakpointIdentity": "ef2c7804-42d5-473b-85e8-bd79c4d4954d"
|
||
},
|
||
{
|
||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||
"ErrorCode": "0",
|
||
"Message": "待办创建成功",
|
||
"CustomReturns": {
|
||
"$type": "System.Collections.Generic.List`1[[Forguncy.Model.CustomReturns, ServerDesignerCommon]], System.Private.CoreLib",
|
||
"$values": [
|
||
{
|
||
"$type": "Forguncy.Model.CustomReturns, ServerDesignerCommon",
|
||
"ReturnPropertyName": "待办ID",
|
||
"Value": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "=待办ID"
|
||
}
|
||
}
|
||
]
|
||
},
|
||
"BreakpointIdentity": "47ef4e0c-4742-46aa-b565-7cfdf866dd1d"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"CatchCommandPart": {
|
||
"$type": "Forguncy.Model.CatchCommandNode, ServerDesignerCommon",
|
||
"CommandList": {
|
||
"$type": "System.Collections.Generic.List`1[[GrapeCity.Forguncy.Commands.Command, Forguncy.Commands]], System.Private.CoreLib",
|
||
"$values": [
|
||
{
|
||
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
||
"TableName": "日志表",
|
||
"UpdateType": "add",
|
||
"ShowConfirm": false,
|
||
"UpdateBindingValues": {
|
||
"$type": "System.Collections.Generic.List`1[[Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon]], System.Private.CoreLib",
|
||
"$values": [
|
||
{
|
||
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
|
||
"BindingInfo": {
|
||
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
||
"TableName": "日志表",
|
||
"ColumnName": "标题",
|
||
"GUID": "af56f440-ac16-4a9c-a3a4-91fb0cf9092a"
|
||
},
|
||
"Value": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "=\"项目ID:\"&项目ID&\",创建待办失败\""
|
||
}
|
||
},
|
||
{
|
||
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
|
||
"BindingInfo": {
|
||
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
||
"TableName": "日志表",
|
||
"ColumnName": "内容",
|
||
"GUID": "a5349a46-f927-4434-ac9a-482b8b36dbc7"
|
||
},
|
||
"Value": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "=ExceptionMessage"
|
||
}
|
||
},
|
||
{
|
||
"$type": "Forguncy.Model.UpdateBindingValueItem, ServerDesignerCommon",
|
||
"BindingInfo": {
|
||
"$type": "ForguncyDataAccess.BindingInfo, ForguncyDataAccess",
|
||
"TableName": "日志表",
|
||
"ColumnName": "类型",
|
||
"GUID": "d9c1e029-8aaa-493b-aea9-3a2a9f362a7a"
|
||
},
|
||
"Value": "错误"
|
||
}
|
||
]
|
||
},
|
||
"BreakpointIdentity": "c798867b-e76a-42c6-b951-164bb81b51e5"
|
||
},
|
||
{
|
||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||
"ErrorCode": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "=ExceptionCode"
|
||
},
|
||
"Message": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "=ExceptionMessage"
|
||
},
|
||
"CustomReturns": {
|
||
"$type": "System.Collections.Generic.List`1[[Forguncy.Model.CustomReturns, ServerDesignerCommon]], System.Private.CoreLib",
|
||
"$values": [
|
||
{
|
||
"$type": "Forguncy.Model.CustomReturns, ServerDesignerCommon",
|
||
"ReturnPropertyName": "待办ID"
|
||
}
|
||
]
|
||
},
|
||
"BreakpointIdentity": "e280c0c0-88bc-4dec-a5bc-64c83740c968"
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"BreakpointIdentity": "99e85293-fb21-48c0-84fd-289708045c77"
|
||
}
|
||
]
|
||
},
|
||
"ReturnProperties": {
|
||
"$type": "System.Collections.Generic.List`1[[Forguncy.SaveLoad.ReturnPropertySaveData, ServerDesignerCommon]], System.Private.CoreLib",
|
||
"$values": [
|
||
{
|
||
"$type": "Forguncy.SaveLoad.ReturnPropertySaveData, ServerDesignerCommon",
|
||
"Name": "待办ID"
|
||
}
|
||
]
|
||
}
|
||
} |