383 lines
18 KiB
JSON
383 lines
18 KiB
JSON
{
|
|
"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": [
|
|
{
|
|
"GUID": "0b172c00-94e1-49db-b136-14bb97c57ccd",
|
|
"BindingInfo": {
|
|
"TableName": "项目表",
|
|
"ColumnName": "ID",
|
|
"GUID": "d7efb3a8-38c4-46d2-a6bc-2d08e670e3d2"
|
|
},
|
|
"ColumnName": "ID"
|
|
},
|
|
{
|
|
"GUID": "a18f3460-c6dd-4554-bbe4-29e5736ec1a2",
|
|
"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": "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": "=发起流程结果.ID"
|
|
}
|
|
]
|
|
},
|
|
"value": "%Null%",
|
|
"compareType": 1
|
|
},
|
|
"CommandList": [
|
|
{
|
|
"$type": "Forguncy.Model.SetCellPropertyCommand, ServerDesignerCommon",
|
|
"PropertyItemsList": [
|
|
{
|
|
"TargetCells": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=临时流程ID"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=发起流程结果.ID"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Notiflix_Forguncy.Loading_Command, Notiflix_Forguncy",
|
|
"FunctionName": "remove",
|
|
"Title": "加载中"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.ShowPopupCommand, ServerDesignerCommon",
|
|
"ClosePopupCallbackCommand": {
|
|
"Commands": [
|
|
{
|
|
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
|
"ParameterName": "搜索",
|
|
"TableValue": {
|
|
"TableName": "项目预算变动表",
|
|
"TableValueType": 3,
|
|
"SqlCondition": {
|
|
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
|
"ColumnBindingInfo": {
|
|
"TableName": "项目预算变动表",
|
|
"ColumnName": "流程实例ID",
|
|
"GUID": "a468a593-0cf8-4be3-ac32-7a2de8ba2421"
|
|
},
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=临时流程ID"
|
|
}
|
|
},
|
|
"NullFormulaValueQueryPolicy": 0
|
|
},
|
|
"ID": "094f63c6c39f4991b0699b47afb2e631"
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
|
"ConditionAndCommandPairList": [
|
|
{
|
|
"Condition": {
|
|
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
|
"param": {
|
|
"$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon",
|
|
"cellLocations": [
|
|
{
|
|
"SerializeProperty": "=搜索"
|
|
}
|
|
]
|
|
},
|
|
"value": "0"
|
|
},
|
|
"CommandList": [
|
|
{
|
|
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
|
|
"ServerCommandName": "删除指定流程",
|
|
"Parameters": [
|
|
{
|
|
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
|
|
"ParamName": "流程实例ID",
|
|
"Value": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=临时流程ID"
|
|
}
|
|
}
|
|
],
|
|
"ResultErrorCodeTo": {
|
|
"SerializeProperty": "code"
|
|
},
|
|
"ResultMessageTo": {
|
|
"SerializeProperty": "msg"
|
|
},
|
|
"RefreshAfterFinish": true,
|
|
"CheckDataValidation": true
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.SetCellPropertyCommand, ServerDesignerCommon",
|
|
"PropertyItemsList": [
|
|
{
|
|
"TargetCells": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=临时流程ID"
|
|
},
|
|
"Value": "%Null%"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
|
"ConditionAndCommandPairList": [
|
|
{
|
|
"Condition": {
|
|
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
|
"param": {
|
|
"$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon",
|
|
"cellLocations": [
|
|
{
|
|
"SerializeProperty": "=code"
|
|
}
|
|
]
|
|
},
|
|
"value": "0"
|
|
},
|
|
"CommandList": [
|
|
{
|
|
"$type": "Notiflix_Forguncy.Notify_Command, Notiflix_Forguncy",
|
|
"Message": "已为您自动删除流程"
|
|
}
|
|
],
|
|
"ID": "c6c6926a-eb02-499a-ac6d-3c38e010f507"
|
|
},
|
|
{
|
|
"CommandList": [
|
|
{
|
|
"$type": "Notiflix_Forguncy.Notify_Command, Notiflix_Forguncy",
|
|
"FourStandardStyle": "warning",
|
|
"Message": "您取消了流程填写,如有需要请前往待办结束刚刚发起的流程"
|
|
}
|
|
],
|
|
"ID": "e9ed71cf-2640-43f5-b102-200b6fdb3f68"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"ID": "c666610c-5876-4013-8d58-5d030771f9f3"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"ParamProperties": {
|
|
"IsOK": "是否为确定"
|
|
}
|
|
},
|
|
"ValueFormula": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=发起流程结果.Page"
|
|
},
|
|
"PassValues": [
|
|
{
|
|
"Source": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=项目ID"
|
|
},
|
|
"CellName": "项目ID"
|
|
}
|
|
],
|
|
"DeleteCachedQuery": true,
|
|
"LoadBindingDataOption": 1
|
|
}
|
|
],
|
|
"ID": "90ad987f-37e9-4b86-b05e-47eb49b67fef"
|
|
},
|
|
{
|
|
"CommandList": [
|
|
{
|
|
"$type": "Notiflix_Forguncy.Loading_Command, Notiflix_Forguncy",
|
|
"FunctionName": "remove",
|
|
"Title": "加载中"
|
|
},
|
|
{
|
|
"$type": "Notiflix_Forguncy.Report_Command, Notiflix_Forguncy",
|
|
"FunctionName": "warning",
|
|
"Title": "温馨提示",
|
|
"Message": {
|
|
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
|
"SerializeProperty": "=发起流程结果.ErrorMessage"
|
|
},
|
|
"BtnText": "知道了"
|
|
}
|
|
],
|
|
"ID": "d2979ae8-8bd1-4b38-bfca-adc25c97754e"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"ID": "14dd3b6e-149c-463c-aa6c-192c6fa1e1ce"
|
|
},
|
|
{
|
|
"CommandList": [
|
|
{
|
|
"$type": "Notiflix_Forguncy.Loading_Command, Notiflix_Forguncy",
|
|
"FunctionName": "remove",
|
|
"Title": "加载中"
|
|
},
|
|
{
|
|
"$type": "Notiflix_Forguncy.Report_Command, Notiflix_Forguncy",
|
|
"FunctionName": "warning",
|
|
"Title": "温馨提示",
|
|
"Message": "请等待上一条申请审批后再提交申请!",
|
|
"BtnText": "知道了"
|
|
}
|
|
],
|
|
"ID": "36b5eafa-5340-4764-9223-ca12f1c289e7"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"ID": "f8592ec9-53f4-45ac-95e0-fff907959559"
|
|
},
|
|
{
|
|
"CommandList": [
|
|
{
|
|
"$type": "Notiflix_Forguncy.Loading_Command, Notiflix_Forguncy",
|
|
"FunctionName": "remove",
|
|
"Title": "加载中"
|
|
},
|
|
{
|
|
"$type": "Notiflix_Forguncy.Report_Command, Notiflix_Forguncy",
|
|
"FunctionName": "warning",
|
|
"Title": "温馨提示",
|
|
"Message": "该项目不允许发起预算增补申请",
|
|
"BtnText": "知道了"
|
|
}
|
|
],
|
|
"ID": "63f59a16-71b3-47aa-8690-d6406f64e822"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |