{ "ID": "be350e6b-c945-4a73-9a48-75e7d31ae2f9", "Name": "发起预算申请", "Params": [ { "ID": "30be91f8-0920-4879-bfdb-73a2443b9f1b", "Name": "项目ID" } ], "Commands": [ { "$type": "Notiflix_Forguncy.Loading_Command, Notiflix_Forguncy", "Title": "加载中" }, { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "项目", "TableValue": { "TableName": "项目表", "TableValueType": 1, "BindingInfos": [ { "BindingInfo": { "TableName": "项目表", "ColumnName": "ID", "GUID": "d7efb3a8-38c4-46d2-a6bc-2d08e670e3d2" }, "ColumnName": "ID" }, { "BindingInfo": { "TableName": "项目表", "ColumnName": "项目名称", "GUID": "61c1ec65-cd3f-48a9-8b68-9d7924c2f3bb" }, "ColumnName": "项目名称" } ], "SqlCondition": { "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", "ColumnBindingInfo": { "TableName": "项目表", "ColumnName": "ID", "GUID": "91010e04-3eb7-44c5-8c16-59f5106dd187" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=项目ID" } }, "TopCount": "1" }, "ID": "519f99bc4a1d4a65b804e1c358a8cb13" }, { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "ConditionAndCommandPairList": [ { "Condition": { "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", "param": { "$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon", "cellLocations": [ { "SerializeProperty": "=项目" } ] }, "value": "%Null%", "compareType": 1 }, "CommandList": [ { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "检测是否存在申请", "TableValue": { "TableName": "项目预算变动表", "TableValueType": 3, "SqlCondition": { "$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess", "SubConditions": [ { "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", "ColumnBindingInfo": { "TableName": "项目预算变动表", "ColumnName": "项目ID", "GUID": "16c36d58-158b-4c3e-b4ec-8791bd09ebed" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=项目ID" } }, { "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", "ColumnBindingInfo": { "TableName": "项目预算变动表", "ColumnName": "状态", "GUID": "d3f61eb6-6fde-4c19-bb14-19553ae085b4" }, "Value": "审批中" } ] } }, "ID": "e90b3bfd5a63432d8ceaa19015280acd" }, { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "ConditionAndCommandPairList": [ { "Condition": { "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", "param": { "$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon", "cellLocations": [ { "SerializeProperty": "=检测是否存在申请" } ] }, "value": "0" }, "CommandList": [ { "$type": "SetCurrentRowCommand.SetCurrentRowCommand, SetCurrentRowCommand", "CurrentRowInfo": { "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", "ColumnBindingInfo": { "TableName": "ACT_RE_PROCDEF_View", "ColumnName": "NAME_", "GUID": "0706ffe2-2824-46f5-9195-3bccbf19a88a" }, "Value": "预算申请" } }, { "$type": "Forguncy.Model.ProcessStartCommand, ServerDesignerCommon", "ProcessDefinitionResourceName": "预算申请", "ProcessInstanceName": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=项目.项目名称&\"预算增补申请\"" }, "ReturnResultName": "发起流程结果" }, { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "ConditionAndCommandPairList": [ { "Condition": { "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", "param": { "$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon", "cellLocations": [ { "SerializeProperty": "=发起流程结果.TaskExists" } ] }, "value": "1" }, "CommandList": [ { "$type": "Notiflix_Forguncy.Loading_Command, Notiflix_Forguncy", "FunctionName": "remove", "Title": "加载中" }, { "$type": "Forguncy.Model.ShowPopupCommand, ServerDesignerCommon", "PageName": "FGC_任务详情", "PassValues": [ { "Source": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=项目ID" }, "TargetCell": { "SerializeProperty": "传参1" } } ], "LoadBindingDataOption": 1 } ], "ID": "023f73ad-0ece-44dc-b217-4085a0807ce0" }, { "CommandList": [ { "$type": "Notiflix_Forguncy.Loading_Command, Notiflix_Forguncy", "FunctionName": "remove", "Title": "加载中" }, { "$type": "Notiflix_Forguncy.Report_Command, Notiflix_Forguncy", "Title": "温馨提示", "Message": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=\"申请流程已创建,请前往我的待办填写申请单!\"" }, "BtnText": "知道了" } ], "ID": "2a679d5a-edbc-4040-81c3-7274c398b7e6" } ] } ], "ID": "e05e8993-c102-44ef-9723-8ba257bc5a06" }, { "CommandList": [ { "$type": "Notiflix_Forguncy.Loading_Command, Notiflix_Forguncy", "FunctionName": "remove", "Title": "加载中" }, { "$type": "Notiflix_Forguncy.Report_Command, Notiflix_Forguncy", "FunctionName": "warning", "Title": "温馨提示", "Message": "请等待上一条申请审批后再提交申请!", "BtnText": "知道了" } ], "ID": "848d74d7-7547-4c10-ade6-df9775b6e8ca" } ] } ], "ID": "c6dc1fd2-cded-4def-8a09-8d28c3ec323d" }, { "CommandList": [ { "$type": "Notiflix_Forguncy.Loading_Command, Notiflix_Forguncy", "FunctionName": "remove", "Title": "加载中" }, { "$type": "Notiflix_Forguncy.Report_Command, Notiflix_Forguncy", "FunctionName": "warning", "Title": "温馨提示", "Message": "该项目不允许发起预算增补申请", "BtnText": "知道了" } ], "ID": "21c88400-59c0-4462-b63e-e3902aa98503" } ] } ] }