253 lines
10 KiB
JSON
253 lines
10 KiB
JSON
{
|
|
"Name": "发起预算申请",
|
|
"ID": "be350e6b-c945-4a73-9a48-75e7d31ae2f9",
|
|
"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": "079b1dec-e9bc-406e-9414-6d91cac67614"
|
|
},
|
|
"ColumnName": "ID"
|
|
},
|
|
{
|
|
"BindingInfo": {
|
|
"TableName": "项目表",
|
|
"ColumnName": "项目名称",
|
|
"GUID": "a0618ed2-3855-4438-9b01-9950ccb572d8"
|
|
},
|
|
"ColumnName": "项目名称"
|
|
}
|
|
],
|
|
"SqlCondition": {
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"TableName": "项目表",
|
|
"ColumnName": "ID",
|
|
"GUID": "0b0fb952-68c9-4215-a057-16d40f01378b"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=项目ID"
|
|
}
|
|
},
|
|
"TopCount": "1"
|
|
},
|
|
"ID": "e15d4857fa2343bcbf7947f659ce3172"
|
|
},
|
|
{
|
|
"$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": "34b137df-1157-406b-a937-5ff14c90b7a7"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=项目ID"
|
|
}
|
|
},
|
|
{
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"TableName": "项目预算变动表",
|
|
"ColumnName": "状态",
|
|
"GUID": "f9f468eb-6f3e-4c3f-85bc-f04248e91cc6"
|
|
},
|
|
"Value": "审批中"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"ID": "6b49a215925b4107b966f7b2aabd7ec1"
|
|
},
|
|
{
|
|
"$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": "b3cb72b9-78b9-4b6e-929b-cfa5fadb3903"
|
|
},
|
|
"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": "977ec49e-50eb-4d45-b403-30a1e3be3ac7"
|
|
},
|
|
{
|
|
"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": "346a6b56-7e38-444c-8807-72c0c359b0e7"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"ID": "51f964b4-46eb-4cd5-9659-6b67d0b503ff"
|
|
},
|
|
{
|
|
"CommandList": [
|
|
{
|
|
"$type": "Notiflix_Forguncy.Loading_Command, Notiflix_Forguncy",
|
|
"FunctionName": "remove",
|
|
"Title": "加载中"
|
|
},
|
|
{
|
|
"$type": "Notiflix_Forguncy.Report_Command, Notiflix_Forguncy",
|
|
"FunctionName": "warning",
|
|
"Title": "温馨提示",
|
|
"Message": "请等待上一条申请审批后再提交申请!",
|
|
"BtnText": "知道了"
|
|
}
|
|
],
|
|
"ID": "9618663f-f013-43cc-a7e1-38a2cd7293b2"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"ID": "c4f2d9e1-ff03-4511-a5cb-bae0754adf3b"
|
|
},
|
|
{
|
|
"CommandList": [
|
|
{
|
|
"$type": "Notiflix_Forguncy.Loading_Command, Notiflix_Forguncy",
|
|
"FunctionName": "remove",
|
|
"Title": "加载中"
|
|
},
|
|
{
|
|
"$type": "Notiflix_Forguncy.Report_Command, Notiflix_Forguncy",
|
|
"FunctionName": "warning",
|
|
"Title": "温馨提示",
|
|
"Message": "该项目不允许发起预算增补申请",
|
|
"BtnText": "知道了"
|
|
}
|
|
],
|
|
"ID": "1cea974f-b317-403f-85b3-76d590cfd9c7"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |