{"Message":"更新项目发起流程","MessageType":2,"Modules":[{"State":1,"Type":1,"Name":"PCPage/项目列表"},{"State":1,"Type":1,"Name":"PCPage/项目信息"},{"State":4,"Type":1,"Name":"PCPage/项目审批"},{"State":1,"Type":15,"Name":"ServerCommand/新增或修改项目"},{"State":2,"Type":28,"Name":"ProcessItem/立项流程"},{"State":1,"Type":8,"Name":"ApplicationSetting"},{"State":1,"Type":9,"Name":"Theme"},{"State":1,"Type":40,"Name":"Plugin"},{"State":2,"Type":16,"Name":"TaskScheduler/项目成员新增事件"},{"State":2,"Type":27,"Name":"ServerCommandPrivate/同步项目参与人列表"},{"State":2,"Type":16,"Name":"TaskScheduler/项目成员删除事件"},{"State":3,"Type":28,"Name":"ProcessItem/项目立项流程"},{"State":3,"Type":1,"Name":"PCPage/创建项目"},{"State":3,"Type":15,"Name":"ServerCommand/创建项目校验"},{"State":3,"Type":27,"Name":"ServerCommandPrivate/填充项目初始化数据"},{"State":3,"Type":16,"Name":"TaskScheduler/项目表新增事件"},{"State":3,"Type":6,"Name":"Pages/项目/项目流程页面"}],"Version":"v1"}

This commit is contained in:
超哥
2024-06-19 14:09:14 +08:00
parent 000e966506
commit 53a64a8bed
20 changed files with 6880 additions and 3355 deletions

View File

@@ -527,21 +527,7 @@
}, },
{ {
"ModuleName": "PCPage/项目列表", "ModuleName": "PCPage/项目列表",
"State": 1, "ModuleType": 1
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-19T12:54:23.5524894+08:00",
"ModuleType": 1,
"ToRemoveFiles": [
"Pages\\项目\\项目列表.json",
"Pages\\项目\\项目列表.rd",
"Pages\\8ee6eff0b74d43ef8e54cd3ef782f76.json",
"Pages\\8ee6eff0b74d43ef8e54cd3ef782f76.rd",
"Pages\\b90932e038f94707b54e571ff7cd84d.json",
"Pages\\b90932e038f94707b54e571ff7cd84d.rd"
]
}, },
{ {
"ModuleName": "PCPage/项目成员详情", "ModuleName": "PCPage/项目成员详情",
@@ -655,17 +641,7 @@
}, },
{ {
"ModuleName": "PCPage/项目信息", "ModuleName": "PCPage/项目信息",
"State": 1, "ModuleType": 1
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-19T12:24:57.8250143+08:00",
"ModuleType": 1,
"ToRemoveFiles": [
"Pages\\项目\\项目首页\\项目配置\\项目信息.json",
"Pages\\项目\\项目首页\\项目配置\\项目信息.rd"
]
}, },
{ {
"ModuleName": "PCPage/项目岗位配置", "ModuleName": "PCPage/项目岗位配置",
@@ -673,17 +649,7 @@
}, },
{ {
"ModuleName": "PCPage/项目审批", "ModuleName": "PCPage/项目审批",
"State": 4, "ModuleType": 1
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-19T13:57:36.2514713+08:00",
"ModuleType": 1,
"ToRemoveFiles": [
"Pages\\项目\\项目首页\\项目配置\\项目审批.json",
"Pages\\项目\\项目首页\\项目配置\\项目审批.rd"
]
}, },
{ {
"ModuleName": "Pages/项目/项目首页/预算申请", "ModuleName": "Pages/项目/项目首页/预算申请",
@@ -1091,16 +1057,7 @@
}, },
{ {
"ModuleName": "ServerCommand/新增或修改项目", "ModuleName": "ServerCommand/新增或修改项目",
"State": 1, "ModuleType": 15
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-19T12:54:23.5525662+08:00",
"ModuleType": 15,
"ToRemoveFiles": [
"ServerCommands\\项目\\新增或修改项目.json"
]
}, },
{ {
"ModuleName": "ServerCommand/移除项目成员", "ModuleName": "ServerCommand/移除项目成员",
@@ -1202,20 +1159,6 @@
"ModuleName": "RdlReport/工时报表", "ModuleName": "RdlReport/工时报表",
"ModuleType": 18 "ModuleType": 18
}, },
{
"ModuleName": "ProcessItem/立项流程",
"State": 2,
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-19T12:54:13.1950163+08:00",
"ModuleType": 28,
"ToRemoveFiles": [
"Process\\立项流程.json",
"Process\\立项流程.bpmn"
]
},
{ {
"ModuleName": "ProcessItem/预算申请", "ModuleName": "ProcessItem/预算申请",
"ModuleType": 28 "ModuleType": 28
@@ -1234,34 +1177,11 @@
}, },
{ {
"ModuleName": "ApplicationSetting", "ModuleName": "ApplicationSetting",
"State": 1, "ModuleType": 8
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-19T12:14:03.8008634+08:00",
"ModuleType": 8,
"ToRemoveFiles": [
"ApplicationSettings.json",
"favicon.ico"
]
}, },
{ {
"ModuleName": "Theme", "ModuleName": "Theme",
"State": 1, "ModuleType": 9
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-19T13:57:36.2509613+08:00",
"ModuleType": 9,
"ToRemoveFiles": [
"Theme\\CellTypeStyles",
"Theme\\ListViewStyles",
"Theme\\StyleDefaultNames",
"Theme\\ThemeConfig",
"Reports\\DefaultTheme.rdlx-theme"
]
}, },
{ {
"ModuleName": "image/内置图片", "ModuleName": "image/内置图片",
@@ -1620,46 +1540,7 @@
}, },
{ {
"ModuleName": "Plugin", "ModuleName": "Plugin",
"State": 1, "ModuleType": 40
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-19T14:09:05.9102484+08:00",
"ModuleType": 40,
"ToRemoveFiles": [
"Plugin\\Echarts图表-10_0_3_0.zip",
"Plugin\\Editormd-6_0_102_0.zip",
"Plugin\\Forguncy.CustomMenu.zip",
"Plugin\\Forguncy.PassListviewDataCommand.zip",
"Plugin\\JSON 序列化和反序列化-10_0_2_0.zip",
"Plugin\\JSON数据源-10_0_2_0.zip",
"Plugin\\Lottie动画插图-10_0_2_0.zip",
"Plugin\\Notiflix-9_0_103_0.zip",
"Plugin\\OPENAI套件-10_0_3_0.zip",
"Plugin\\PC组件包-格友工作室定制版-10_0_2_0.zip",
"Plugin\\SqlServerWrapper.zip",
"Plugin\\Tiny富文本编辑器-10_0_2_0.zip",
"Plugin\\UI操作工具箱-9_0_6_0.zip",
"Plugin\\Unlayer-9_0_103_0(1).zip",
"Plugin\\xTools快速开发工具包-9_0_4_0(1).zip",
"Plugin\\发送HTTP请求命令-10_0_2_0.zip",
"Plugin\\取消当前行-9_0_103_0.zip",
"Plugin\\增强关闭页面-9_0_6.zip",
"Plugin\\复制到剪贴板-7_0_3_0.zip",
"Plugin\\客户端缓存操作工具库-8_0_0_0.zip",
"Plugin\\富文本编辑器-10_0_2_0.zip",
"Plugin\\对象与集合操作工具-8_0_0_0.zip",
"Plugin\\异步运行命令-9_0_103_0.zip",
"Plugin\\支持预览的附件上传-10_0_2_0.zip",
"Plugin\\服务端缓存操作工具库-8_0_3_0.zip",
"Plugin\\模板引擎操作库-9_0_103_0.zip",
"Plugin\\用户管理命令 V2-10_0_2_0.zip",
"Plugin\\网络操作库-9_0_102_0.zip",
"Plugin\\设置当前行命令-10_0_2_0.zip",
"Plugin\\设置焦点命令-10_0_2_0.zip",
"Plugin\\豪~豪插件合集-7_0_102_0.zip"
]
}, },
{ {
"ModuleName": "PublishSetting", "ModuleName": "PublishSetting",
@@ -2095,45 +1976,6 @@
"ModuleName": "PCPage/富文本编辑器", "ModuleName": "PCPage/富文本编辑器",
"ModuleType": 1 "ModuleType": 1
}, },
{
"ModuleName": "TaskScheduler/项目成员新增事件",
"State": 2,
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-19T13:23:13.6854931+08:00",
"ModuleType": 16,
"ToRemoveFiles": [
"SchedulerTasks\\项目成员新增事件.json"
]
},
{
"ModuleName": "ServerCommandPrivate/同步项目参与人列表",
"State": 2,
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-19T13:23:20.3752419+08:00",
"ModuleType": 27,
"ToRemoveFiles": [
"ServerCommands\\项目\\同步项目参与人列表.json"
]
},
{
"ModuleName": "TaskScheduler/项目成员删除事件",
"State": 2,
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-19T13:23:13.6854961+08:00",
"ModuleType": 16,
"ToRemoveFiles": [
"SchedulerTasks\\项目成员删除事件.json"
]
},
{ {
"ModuleName": "TableView/项目平行视图", "ModuleName": "TableView/项目平行视图",
"ModuleType": 23 "ModuleType": 23
@@ -2268,62 +2110,26 @@
}, },
{ {
"ModuleName": "ProcessItem/项目立项流程", "ModuleName": "ProcessItem/项目立项流程",
"State": 3,
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-19T12:54:23.5519513+08:00",
"ModuleType": 28 "ModuleType": 28
}, },
{ {
"ModuleName": "PCPage/创建项目", "ModuleName": "PCPage/创建项目",
"State": 3,
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-19T12:55:47.5226672+08:00",
"ModuleType": 1 "ModuleType": 1
}, },
{ {
"ModuleName": "ServerCommand/创建项目校验", "ModuleName": "ServerCommand/创建项目校验",
"State": 3,
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-19T13:01:06.1527728+08:00",
"ModuleType": 15 "ModuleType": 15
}, },
{ {
"ModuleName": "ServerCommandPrivate/填充项目初始化数据", "ModuleName": "ServerCommandPrivate/填充项目初始化数据",
"State": 3,
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-19T13:18:11.1291715+08:00",
"ModuleType": 27 "ModuleType": 27
}, },
{ {
"ModuleName": "TaskScheduler/项目表新增事件", "ModuleName": "TaskScheduler/项目表新增事件",
"State": 3,
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-19T13:21:57.4641861+08:00",
"ModuleType": 16 "ModuleType": 16
}, },
{ {
"ModuleName": "Pages/项目/项目流程页面", "ModuleName": "Pages/项目/项目流程页面",
"State": 3,
"LockedBy": {
"UserName": "超哥",
"Email": "phoben@qq.com"
},
"LockDateTime": "2024-06-19T13:29:55.3723837+08:00",
"ModuleType": 6 "ModuleType": 6
} }
] ]

View File

@@ -28,6 +28,10 @@
"StartDateFiscalYear": 1, "StartDateFiscalYear": 1,
"BaseOnStartingMonth": true, "BaseOnStartingMonth": true,
"ProcessUserInfoDisplayMode": 1, "ProcessUserInfoDisplayMode": 1,
"SuppressedWarningMessages": [
"项目首页->页面容器(A2), 页面容器没有设置子页面",
"数据表, 有部分连接到外部数据库的数据表没有检查过连接状态,如果无法连接到数据库可能会导致数据无法在页面上显示。如需确认数据库的连接状态,请点击数据表右键菜单里的“刷新”"
],
"SyncUserInfoCacheForBuiltInView": false, "SyncUserInfoCacheForBuiltInView": false,
"MultipleLanguageSettings": { "MultipleLanguageSettings": {
"Languages": [ "Languages": [

View File

@@ -404,71 +404,38 @@
"IsOldMenuPath": false, "IsOldMenuPath": false,
"CommandList": [ "CommandList": [
{ {
"$type": "Forguncy.Model.ShowPopupCommand, ServerDesignerCommon", "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"PopupDisplayMode": 3, "ParameterName": "当前用户",
"DrawerDirection": 3, "ParameterValue": "%CurrentUser%",
"ShowDrawerHeader": true, "ID": "0dba67a93c894f1f8067258fb2a58abb"
"ClosePopupCallbackCommand": { },
"Commands": [ {
"$type": "Forguncy.Model.ProcessStartCommand, ServerDesignerCommon",
"ProcessDefinitionResourceName": "项目立项流程",
"ProcessInstanceName": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目列表!当前用户&\"提交的项目立项申请\""
},
"ReturnResultName": "发起流程结果"
},
{ {
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [ "ConditionAndCommandPairList": [
{ {
"Condition": { "Condition": {
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SubConditions": [
{
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": { "param": {
"$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon", "$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon",
"cellLocations": [ "cellLocations": [
{ {
"SerializeProperty": "=是否为确定" "SerializeProperty": "=发起流程结果.ID"
}
]
},
"value": "1"
},
{
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon",
"cellLocations": [
{
"SerializeProperty": "=类型"
}
]
},
"value": "新增"
},
{
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon",
"cellLocations": [
{
"SerializeProperty": "=项目ID"
} }
] ]
}, },
"value": "%Null%", "value": "%Null%",
"compareType": 1 "compareType": 1
}
]
}, },
"CommandList": [ "CommandList": [
{
"$type": "ElementUI.Commands.ShowMessageBox, ElementUI",
"Title": "初始化",
"Message": "是否立即配置项目人员",
"Type": "info",
"ConfirmButtonText": "确定",
"ShowCancelButton": true,
"CancelButtonText": "取消",
"ShowClose": false,
"DialogResult": "按钮结果",
"AdvancedSettings": {}
},
{ {
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [ "ConditionAndCommandPairList": [
@@ -479,44 +446,51 @@
"$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon", "$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon",
"cellLocations": [ "cellLocations": [
{ {
"SerializeProperty": "=按钮结果" "SerializeProperty": "=发起流程结果.TaskExists"
} }
] ]
}, },
"value": "confirm" "value": "1"
}, },
"CommandList": [ "CommandList": [
{ {
"$type": "Forguncy.Model.ShowPopupCommand, ServerDesignerCommon", "$type": "Forguncy.Model.ShowPopupCommand, ServerDesignerCommon",
"PageName": "项目首页", "DrawerDirection": 3,
"PassValues": [ "ShowDrawerHeader": true,
"ClosePopupCallbackCommand": {
"Commands": [
{ {
"Source": "项目成员", "$type": "Forguncy.Model.UpdateListviewCommand, ServerDesignerCommon",
"TargetCell": { "ListviewName": "项目分组图文列表",
"SerializeProperty": "=项目首页!项目首页导航栏" "UpdateType": 6,
"UpdateListviewCommandRunTimeMethodSetting": {
"MethodName": "Reload",
"ParameterValues": {
"clearFilter": false,
"clearSort": false,
"clearRuntimeQueryConditions": false
} }
} }
]
}
],
"ID": "c0477bea-2b08-464e-a7b0-e270a5d31786"
}
]
}
],
"ID": "7955aa8a-c06d-4f75-af03-50ffa76a9305"
}
]
} }
], ],
"ParamProperties": { "ParamProperties": {
"IsOK": "是否为确定", "IsOK": "是否为确定"
"项目ID": "项目ID",
"类型": "类型"
} }
}, },
"PageName": "项目信息", "ValueFormula": {
"LoadBindingDataOption": 2 "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目列表!发起流程结果.Page"
}
}
],
"ID": "635727e3-a969-40bf-8833-042f29922657"
}
]
}
],
"ID": "321bef2e-7b22-49cb-a855-d198fee975e3"
}
]
} }
], ],
"CanVisitRoleList": [ "CanVisitRoleList": [
@@ -1696,4 +1670,4 @@
"Formula": "项目列表!$B$19" "Formula": "项目列表!$B$19"
} }
] ]
}//a9Ie9/JLfn7hEHAGeumF5nH3+OLEu9MnSO5z16MJOCN4O3z8FL4h4NTZ+21saJaWOiy9ZV2q3ZqTmjLGds4uTFf3JZvvJzNlQb2PEKp8jWQL4clSX1/u2pSa/0KgPgvdx6rMbXtJBx/F4XqRR43ydyPJ89p0G0bMD1cwKObcjFmLnt3z7pph8cgl75a2rx2aUEoe2cCFtKezgRxYRoAXhHzFiXy1wjSRkNIEi4PY8p13siThfH9HfBK35u6bRIM8oetvUtfg0l0ubf0eM/iLPKzOoZ/O8iT8l1nNWfJW1i9f0eDYiheqVFaoCnXRyndGNLpRkhigFaZcvLAuuygPvDIoeWFXfLauLGiMVP9ojgV+SHTHSfvQCeEYAZYrPZMrCHvzWAbP8YPZ45PH0VyEwYKE7/TeFsfnI7hYlK0e5GNRp7LlemVzCZ/QvGIMCQO0WcumCueGjPWgNZt4WDko791bZpfzFPlNm/EzkDYwfP6TymrZIFJ4uoWaAtbnXiQcZO9/L/6vBecRVDzobgGQi1h9/cbkkFAOhBqKY39vrmhlX8YlImYmlEZdDdGrMd4rgGnjzqj+OIZVFfmY8kVU7E8ZDDgpfj3P2qzXHxoUjVfnXq7OKQLLxWGAPaDBu7QYD+qR+oXSHTZ0aPQDgT9uVgDyG46Ecxa6VUK9ovZewInZwq1VuajuiCzHoNiPTgPq/6f2AmLGdzr6b0i4Voqu6uauoy85QD0tP+EoRXULt6cF0CxWUJeTiN/Z3ZrasOT8VV2NKK1yKmlPb+NF2WH3Fkb2yllvNE85Qb0KdvaArGto/lGevPc3fArnDu7l8+1pmPvkmlVYlPBl2aNmfU+qT4B/NgiV8OmFHd1v3Uk8twSlYt2FmAp/OHCB2KC5X5aEP4hhSAa8p2Bk6yVi7zURUw==|920 }//v8sI0WodHHx6wLQQxxm8yAKPpRaQg4AXG8odlYtx4Bcp1fTEiwzwT9g+gX8Lwz8zGVUEiFkceJ23AQoVICHCxnnVCCXJ/mSdRYd8Nsxpo4++ctTUdu69phYJx+c19w2B/bWyw+W9jZ46pfld6m1qlr8yOiDtEqGUFedtKKxszkfDohTkGD/W4P9UwEHAZBG45MKQqdNsDL4WS/RhBAYUehly0Ea5Kh2Q0bXSYiQOcGvQ2Kl2QLaS2PTfjwcEhYKE2I8ET20/6SPDbri6sC+y49i7W4RD7zcjayjbsvK0XPYEKCgFnHdsISmi/VIibWglH2xuCAXObaBA4rO+nlu4f9HFnpjA766t+7yYOsT3O80Lw01KGXEupZv50FlasWKwXnLFKUcHy/anBnN+pzSmzm/WhbIHnVUSThXQbG/O3gKnz4J6UvKcJjPNwtqYf116d0Q9O61rVYJZSL/Gv2/qcXOEM5N42xg1n8EBJ9oWMvFNqTKETxdTCI2K3uxyevZNJcXkSY9vYrQ9PeyS4dIHhiR+ydrOVAmxk3fi7IO/ttcreT07bfBl4MmtcSXEDGP2A59DAIAaJcuMI9A9VABYMU3oysMa1ISwBEYYfbUveQzpJIPInW9XuqrWMl1hmwIYqpYds3PKRyM20b4bjT6qVt3MndK7BD2b+QOD9gF/czaFT0DkntDMUg6WM5fvHadEP3VMKgsSnGUFSoRCQuHgNsULjcrl8CjudeODrh/wYD6ipuXfBHMPsp0V2qywr/8MDlXTcfMzGxP45C++1mFSUOvyr1kRr3QBtdfy8flaFnQeeYnLRj/qjvs6/W6kxHagDr2xh1+5InZE/IDhokTMPYlpmwwUCv2q88sYf/log5SOy/B7qDiQiNYbUd2SV8y16wcSv+eGQkiqc+UKAt+qGQ==|920

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,15 @@
{
"PageType": 0,
"ColumnCount": 28,
"RowCount": 36,
"Formulas": {
"12,15": "DATEDIF(E36,I36,\"d\")",
"12,1": "TEXT(E36,\"yyyy-mm-dd\")&\",\"&TEXT(I36,\"yyyy-mm-dd\")"
},
"CustomNames": [
{
"Name": "项目ID",
"Formula": "创建项目!$B$36"
}
]
}

File diff suppressed because it is too large Load Diff

View File

@@ -4,5 +4,11 @@
"RowCount": 20, "RowCount": 20,
"Formulas": { "Formulas": {
"1,33": "IF(C20,H20,G20)" "1,33": "IF(C20,H20,G20)"
},
"CustomNames": [
{
"Name": "项目ID",
"Formula": "项目审批!$I$20"
} }
]
} }

File diff suppressed because it is too large Load Diff

View File

@@ -1,15 +1,15 @@
{ {
"PageType": 0, "PageType": 0,
"ColumnCount": 22, "ColumnCount": 22,
"RowCount": 37, "RowCount": 36,
"Formulas": { "Formulas": {
"10,15": "DATEDIF(E37,I37,\"d\")", "12,15": "DATEDIF(E36,I36,\"d\")",
"10,1": "TEXT(E37,\"yyyy-mm-dd\")&\",\"&TEXT(I37,\"yyyy-mm-dd\")" "12,1": "TEXT(E36,\"yyyy-mm-dd\")&\",\"&TEXT(I36,\"yyyy-mm-dd\")"
}, },
"CustomNames": [ "CustomNames": [
{ {
"Name": "项目ID", "Name": "项目ID",
"Formula": "项目信息!$B$37" "Formula": "项目信息!$B$36"
} }
] ]
} }

File diff suppressed because it is too large Load Diff

Binary file not shown.

View File

@@ -4,7 +4,7 @@
<process id="_f9fc28f7-09f7-46bc-a48e-f889c5ee7879" name="项目立项申请" isExecutable="true"> <process id="_f9fc28f7-09f7-46bc-a48e-f889c5ee7879" name="项目立项申请" isExecutable="true">
<documentation>用于项目的立项申请审批</documentation> <documentation>用于项目的立项申请审批</documentation>
<extensionElements> <extensionElements>
<fgc:ForguncyExtension Properties="{&quot;description&quot;:null,&quot;page&quot;:&quot;项目审批&quot;,&quot;tables&quot;:[&quot;项目表&quot;],&quot;variableSetting&quot;:{&quot;variables&quot;:[]},&quot;eventSetting&quot;:{&quot;eventHandlers&quot;:[{&quot;id&quot;:&quot;0&quot;,&quot;event&quot;:100,&quot;comment&quot;:null,&quot;commands&quot;:[],&quot;index&quot;:null},{&quot;id&quot;:&quot;1&quot;,&quot;event&quot;:101,&quot;comment&quot;:null,&quot;commands&quot;:[{&quot;$type&quot;:&quot;ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition, ServerDesignerCommon&quot;,&quot;serverCommandName&quot;:&quot;修改项目状态&quot;,&quot;isAsync&quot;:false,&quot;inputParams&quot;:[{&quot;key&quot;:&quot;项目ID&quot;,&quot;value&quot;:{&quot;valueType&quot;:2,&quot;fixedValue&quot;:null,&quot;tableFieldValue&quot;:{&quot;TableName&quot;:&quot;项目表&quot;,&quot;ColumnName&quot;:&quot;ID&quot;,&quot;GUID&quot;:&quot;635c536a-d1a2-4fd2-a0f7-53a5e7189de3&quot;,&quot;AttachType&quot;:null,&quot;RelationBinding&quot;:null,&quot;AggregateBindingInfo&quot;:null}}},{&quot;key&quot;:&quot;状态码&quot;,&quot;value&quot;:{&quot;valueType&quot;:1,&quot;fixedValue&quot;:&quot;2&quot;,&quot;tableFieldValue&quot;:null}}],&quot;returnCodeTo&quot;:&quot;&quot;,&quot;returnMessageTo&quot;:&quot;&quot;,&quot;returnPropertiesTo&quot;:[],&quot;$fgc_java_type&quot;:&quot;com.grapecity.forguncy.service.command.impl.callserver.CallServerCommandDefinition&quot;,&quot;$fgc_csharp_type&quot;:&quot;ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition&quot;,&quot;id&quot;:&quot;1709614677003-20e96939&quot;,&quot;enable&quot;:true,&quot;comment&quot;:null}],&quot;index&quot;:null},{&quot;id&quot;:&quot;2&quot;,&quot;event&quot;:102,&quot;comment&quot;:null,&quot;commands&quot;:[],&quot;index&quot;:null}]},&quot;timeoutSetting&quot;:{&quot;deadlines&quot;:[]},&quot;relationSetting&quot;:{&quot;processInstanceIdFields&quot;:[{&quot;TableName&quot;:&quot;项目表&quot;,&quot;ColumnName&quot;:&quot;立项流程示例ID&quot;,&quot;GUID&quot;:&quot;fec07633-c41c-45c5-9991-057e88566137&quot;,&quot;AttachType&quot;:null,&quot;RelationBinding&quot;:null,&quot;AggregateBindingInfo&quot;:null}]},&quot;comment&quot;:null,&quot;fgcBpmnGuid&quot;:&quot;ddc8f52f-d56b-4dec-af01-5cec98faaa2c&quot;}" /> <fgc:ForguncyExtension Properties="{&quot;description&quot;:null,&quot;page&quot;:&quot;项目信息&quot;,&quot;tables&quot;:[&quot;项目表&quot;],&quot;variableSetting&quot;:{&quot;variables&quot;:[]},&quot;eventSetting&quot;:{&quot;eventHandlers&quot;:[{&quot;id&quot;:&quot;0&quot;,&quot;event&quot;:100,&quot;comment&quot;:null,&quot;commands&quot;:[],&quot;index&quot;:null},{&quot;id&quot;:&quot;1&quot;,&quot;event&quot;:101,&quot;comment&quot;:null,&quot;commands&quot;:[{&quot;$type&quot;:&quot;ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition, ServerDesignerCommon&quot;,&quot;serverCommandName&quot;:&quot;修改项目状态&quot;,&quot;isAsync&quot;:false,&quot;inputParams&quot;:[{&quot;key&quot;:&quot;项目ID&quot;,&quot;value&quot;:{&quot;valueType&quot;:2,&quot;fixedValue&quot;:null,&quot;tableFieldValue&quot;:{&quot;TableName&quot;:&quot;项目表&quot;,&quot;ColumnName&quot;:&quot;ID&quot;,&quot;GUID&quot;:&quot;635c536a-d1a2-4fd2-a0f7-53a5e7189de3&quot;,&quot;AttachType&quot;:null,&quot;RelationBinding&quot;:null,&quot;AggregateBindingInfo&quot;:null}}},{&quot;key&quot;:&quot;状态码&quot;,&quot;value&quot;:{&quot;valueType&quot;:1,&quot;fixedValue&quot;:&quot;2&quot;,&quot;tableFieldValue&quot;:null}}],&quot;returnCodeTo&quot;:&quot;&quot;,&quot;returnMessageTo&quot;:&quot;&quot;,&quot;returnPropertiesTo&quot;:[],&quot;$fgc_java_type&quot;:&quot;com.grapecity.forguncy.service.command.impl.callserver.CallServerCommandDefinition&quot;,&quot;$fgc_csharp_type&quot;:&quot;ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition&quot;,&quot;id&quot;:&quot;1709614677003-20e96939&quot;,&quot;enable&quot;:true,&quot;comment&quot;:null}],&quot;index&quot;:null},{&quot;id&quot;:&quot;2&quot;,&quot;event&quot;:102,&quot;comment&quot;:null,&quot;commands&quot;:[{&quot;$type&quot;:&quot;ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition, ServerDesignerCommon&quot;,&quot;serverCommandName&quot;:&quot;修改项目状态&quot;,&quot;isAsync&quot;:false,&quot;inputParams&quot;:[{&quot;key&quot;:&quot;项目ID&quot;,&quot;value&quot;:{&quot;valueType&quot;:2,&quot;fixedValue&quot;:null,&quot;tableFieldValue&quot;:{&quot;TableName&quot;:&quot;项目表&quot;,&quot;ColumnName&quot;:&quot;ID&quot;,&quot;GUID&quot;:&quot;635c536a-d1a2-4fd2-a0f7-53a5e7189de3&quot;,&quot;AttachType&quot;:null,&quot;RelationBinding&quot;:null,&quot;AggregateBindingInfo&quot;:null}}},{&quot;key&quot;:&quot;状态码&quot;,&quot;value&quot;:{&quot;valueType&quot;:1,&quot;fixedValue&quot;:&quot;4&quot;,&quot;tableFieldValue&quot;:null}}],&quot;returnCodeTo&quot;:&quot;&quot;,&quot;returnMessageTo&quot;:&quot;&quot;,&quot;returnPropertiesTo&quot;:[],&quot;$fgc_java_type&quot;:&quot;com.grapecity.forguncy.service.command.impl.callserver.CallServerCommandDefinition&quot;,&quot;$fgc_csharp_type&quot;:&quot;ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition&quot;,&quot;id&quot;:&quot;1718774884967-75e0db98_0&quot;,&quot;enable&quot;:true,&quot;comment&quot;:null}],&quot;index&quot;:null}]},&quot;timeoutSetting&quot;:{&quot;deadlines&quot;:[]},&quot;relationSetting&quot;:{&quot;processInstanceIdFields&quot;:[{&quot;TableName&quot;:&quot;项目表&quot;,&quot;ColumnName&quot;:&quot;立项流程示例ID&quot;,&quot;GUID&quot;:&quot;fec07633-c41c-45c5-9991-057e88566137&quot;,&quot;AttachType&quot;:null,&quot;RelationBinding&quot;:null,&quot;AggregateBindingInfo&quot;:null}]},&quot;comment&quot;:null,&quot;fgcBpmnGuid&quot;:&quot;02ee4868-7458-4873-8cee-9ee6eeadbc4c&quot;}" />
</extensionElements> </extensionElements>
<startEvent id="_f08335ab-b838-4a55-8421-200f30047003" name="开始"> <startEvent id="_f08335ab-b838-4a55-8421-200f30047003" name="开始">
<extensionElements> <extensionElements>
@@ -12,14 +12,14 @@
</extensionElements> </extensionElements>
<outgoing>Flow_1m23z42</outgoing> <outgoing>Flow_1m23z42</outgoing>
</startEvent> </startEvent>
<userTask id="_1f754255-6fd9-4eab-8d0f-10df7976e222" name="审批" activiti:formKey="${formKeyResolver.getFormKey(execution)}" activiti:assignee="${FGC_activitiAssignee}"> <userTask id="_1f754255-6fd9-4eab-8d0f-10df7976e222" name="审批项目" activiti:formKey="${formKeyResolver.getFormKey(execution)}" activiti:assignee="${FGC_activitiAssignee}">
<extensionElements> <extensionElements>
<fgc:ForguncyExtension Properties="{&quot;generalSetting&quot;:{&quot;page&quot;:&quot;项目审批&quot;,&quot;tables&quot;:[&quot;项目表&quot;],&quot;actions&quot;:[{&quot;key&quot;:&quot;0&quot;,&quot;type&quot;:100,&quot;enable&quot;:true,&quot;remarks&quot;:[{&quot;key&quot;:1,&quot;enable&quot;:true,&quot;required&quot;:false},{&quot;key&quot;:2,&quot;enable&quot;:false,&quot;required&quot;:false}],&quot;title&quot;:&quot;同意立项&quot;,&quot;commitOption&quot;:{&quot;autoSave&quot;:true}},{&quot;type&quot;:300,&quot;key&quot;:&quot;1718539289443-380b793d&quot;,&quot;enable&quot;:true,&quot;title&quot;:&quot;回退&quot;,&quot;remarks&quot;:[{&quot;key&quot;:1,&quot;enable&quot;:true,&quot;required&quot;:true},{&quot;key&quot;:2,&quot;enable&quot;:false,&quot;required&quot;:false}],&quot;commitOption&quot;:{&quot;autoSave&quot;:false},&quot;rollbackOption&quot;:{&quot;type&quot;:1}},{&quot;key&quot;:&quot;1644290578551-fb1cce84&quot;,&quot;type&quot;:200,&quot;enable&quot;:true,&quot;remarks&quot;:[{&quot;key&quot;:1,&quot;enable&quot;:true,&quot;required&quot;:true},{&quot;key&quot;:2,&quot;enable&quot;:false,&quot;required&quot;:false}],&quot;title&quot;:&quot;拒绝&quot;,&quot;terminateOption&quot;:{&quot;type&quot;:2}}]},&quot;userSetting&quot;:{&quot;assigneeSettings&quot;:[{&quot;key&quot;:&quot;1709614946145-d4008ffd&quot;,&quot;type&quot;:2,&quot;value&quot;:{&quot;valueType&quot;:1,&quot;fixedValue&quot;:&quot;项目总监&quot;},&quot;enable&quot;:true}],&quot;assigneeTarget&quot;:2,&quot;isMultiple&quot;:true,&quot;isCountersign&quot;:false,&quot;isSequential&quot;:false,&quot;autoCommitStrategies&quot;:[{&quot;status&quot;:1,&quot;enable&quot;:false},{&quot;status&quot;:2,&quot;enable&quot;:true},{&quot;status&quot;:3,&quot;enable&quot;:false}],&quot;nobodyAssignStrategy&quot;:{&quot;status&quot;:1}},&quot;dataSetting&quot;:{&quot;tablePermissions&quot;:[]},&quot;timeoutSetting&quot;:{&quot;deadlines&quot;:[]},&quot;eventSetting&quot;:{&quot;eventHandlers&quot;:[{&quot;id&quot;:&quot;0&quot;,&quot;enable&quot;:true,&quot;event&quot;:400,&quot;commands&quot;:[{&quot;enable&quot;:true,&quot;id&quot;:&quot;1709614651297-a52d85bf&quot;,&quot;$fgc_java_type&quot;:&quot;com.grapecity.forguncy.service.command.impl.callserver.CallServerCommandDefinition&quot;,&quot;$fgc_csharp_type&quot;:&quot;ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition&quot;,&quot;returnCodeTo&quot;:&quot;&quot;,&quot;returnMessageTo&quot;:&quot;&quot;,&quot;inputParams&quot;:[{&quot;key&quot;:&quot;项目ID&quot;,&quot;value&quot;:{&quot;valueType&quot;:2,&quot;tableFieldValue&quot;:{&quot;$type&quot;:&quot;ForguncyDataAccess.BindingInfo, ForguncyDataAccess&quot;,&quot;TableName&quot;:&quot;项目表&quot;,&quot;ColumnName&quot;:&quot;ID&quot;}}},{&quot;key&quot;:&quot;状态码&quot;,&quot;value&quot;:{&quot;valueType&quot;:1,&quot;fixedValue&quot;:&quot;1&quot;}}],&quot;returnPropertiesTo&quot;:[],&quot;serverCommandName&quot;:&quot;修改项目状态&quot;,&quot;isAsync&quot;:true}]},{&quot;id&quot;:&quot;1&quot;,&quot;enable&quot;:true,&quot;event&quot;:300,&quot;commands&quot;:[]},{&quot;id&quot;:&quot;2&quot;,&quot;enable&quot;:true,&quot;event&quot;:302,&quot;commands&quot;:[]}]},&quot;variableSetting&quot;:{&quot;variables&quot;:[]}}" /> <fgc:ForguncyExtension Properties="{&quot;generalSetting&quot;:{&quot;page&quot;:&quot;项目审批&quot;,&quot;tables&quot;:[&quot;项目表&quot;],&quot;actions&quot;:[{&quot;key&quot;:&quot;0&quot;,&quot;type&quot;:100,&quot;enable&quot;:true,&quot;remarks&quot;:[{&quot;key&quot;:1,&quot;enable&quot;:true,&quot;required&quot;:false},{&quot;key&quot;:2,&quot;enable&quot;:false,&quot;required&quot;:false}],&quot;title&quot;:&quot;同意&quot;,&quot;commitOption&quot;:{&quot;autoSave&quot;:true}},{&quot;type&quot;:300,&quot;key&quot;:&quot;1718539289443-380b793d&quot;,&quot;enable&quot;:true,&quot;title&quot;:&quot;回退&quot;,&quot;remarks&quot;:[{&quot;key&quot;:1,&quot;enable&quot;:true,&quot;required&quot;:true},{&quot;key&quot;:2,&quot;enable&quot;:false,&quot;required&quot;:false}],&quot;commitOption&quot;:{&quot;autoSave&quot;:false},&quot;rollbackOption&quot;:{&quot;type&quot;:1}},{&quot;key&quot;:&quot;1644290578551-fb1cce84&quot;,&quot;type&quot;:200,&quot;enable&quot;:true,&quot;remarks&quot;:[{&quot;key&quot;:1,&quot;enable&quot;:true,&quot;required&quot;:true},{&quot;key&quot;:2,&quot;enable&quot;:false,&quot;required&quot;:false}],&quot;title&quot;:&quot;结束&quot;,&quot;terminateOption&quot;:{&quot;type&quot;:2}}]},&quot;userSetting&quot;:{&quot;assigneeSettings&quot;:[{&quot;key&quot;:&quot;1709614946145-d4008ffd&quot;,&quot;type&quot;:2,&quot;value&quot;:{&quot;valueType&quot;:1,&quot;fixedValue&quot;:&quot;项目总监&quot;},&quot;enable&quot;:true},{&quot;key&quot;:&quot;1718774820054-33488ab9&quot;,&quot;type&quot;:1,&quot;value&quot;:{&quot;valueType&quot;:2,&quot;tableFieldValue&quot;:{&quot;$type&quot;:&quot;ForguncyDataAccess.BindingInfo, ForguncyDataAccess&quot;,&quot;TableName&quot;:&quot;项目表&quot;,&quot;ColumnName&quot;:&quot;所属客户部门&quot;,&quot;RelationBinding&quot;:{&quot;$type&quot;:&quot;ForguncyDataAccess.RelationBinding, ForguncyDataAccess&quot;,&quot;RelatedTable&quot;:&quot;客户部门表&quot;,&quot;RelatedColumn&quot;:&quot;ID&quot;,&quot;DisplayColumn&quot;:&quot;对接人&quot;}}},&quot;enable&quot;:true}],&quot;assigneeTarget&quot;:2,&quot;isMultiple&quot;:true,&quot;isCountersign&quot;:true,&quot;isSequential&quot;:false,&quot;autoCommitStrategies&quot;:[{&quot;status&quot;:1,&quot;enable&quot;:false},{&quot;status&quot;:2,&quot;enable&quot;:true},{&quot;status&quot;:3,&quot;enable&quot;:false}],&quot;nobodyAssignStrategy&quot;:{&quot;status&quot;:1}},&quot;dataSetting&quot;:{&quot;tablePermissions&quot;:[]},&quot;timeoutSetting&quot;:{&quot;deadlines&quot;:[]},&quot;eventSetting&quot;:{&quot;eventHandlers&quot;:[{&quot;id&quot;:&quot;0&quot;,&quot;enable&quot;:true,&quot;event&quot;:400,&quot;commands&quot;:[{&quot;enable&quot;:true,&quot;id&quot;:&quot;1709614651297-a52d85bf&quot;,&quot;$fgc_java_type&quot;:&quot;com.grapecity.forguncy.service.command.impl.callserver.CallServerCommandDefinition&quot;,&quot;$fgc_csharp_type&quot;:&quot;ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition&quot;,&quot;returnCodeTo&quot;:&quot;&quot;,&quot;returnMessageTo&quot;:&quot;&quot;,&quot;inputParams&quot;:[{&quot;key&quot;:&quot;项目ID&quot;,&quot;value&quot;:{&quot;valueType&quot;:2,&quot;tableFieldValue&quot;:{&quot;$type&quot;:&quot;ForguncyDataAccess.BindingInfo, ForguncyDataAccess&quot;,&quot;TableName&quot;:&quot;项目表&quot;,&quot;ColumnName&quot;:&quot;ID&quot;}}},{&quot;key&quot;:&quot;状态码&quot;,&quot;value&quot;:{&quot;valueType&quot;:1,&quot;fixedValue&quot;:&quot;1&quot;}}],&quot;returnPropertiesTo&quot;:[],&quot;serverCommandName&quot;:&quot;修改项目状态&quot;,&quot;isAsync&quot;:true}]},{&quot;id&quot;:&quot;1&quot;,&quot;enable&quot;:true,&quot;event&quot;:300,&quot;commands&quot;:[]},{&quot;id&quot;:&quot;2&quot;,&quot;enable&quot;:true,&quot;event&quot;:302,&quot;commands&quot;:[]}]},&quot;variableSetting&quot;:{&quot;variables&quot;:[]}}" />
</extensionElements> </extensionElements>
<incoming>Flow_0cq5pfu</incoming> <incoming>Flow_0cq5pfu</incoming>
<outgoing>_8c854f9d-40d8-4aed-acb1-6778e09b2e08</outgoing> <outgoing>_8c854f9d-40d8-4aed-acb1-6778e09b2e08</outgoing>
<multiInstanceLoopCharacteristics activiti:collection="${userTaskResolver.getCollection(execution)}" activiti:elementVariable="FGC_activitiAssignee"> <multiInstanceLoopCharacteristics activiti:collection="${userTaskResolver.getCollection(execution)}" activiti:elementVariable="FGC_activitiAssignee">
<completionCondition>${nrOfCompletedInstances &gt; 0}</completionCondition> <completionCondition>${nrOfCompletedInstances/nrOfInstances == 1}</completionCondition>
</multiInstanceLoopCharacteristics> </multiInstanceLoopCharacteristics>
</userTask> </userTask>
<endEvent id="_3392ccdd-ae91-44fa-b2ee-f744284c12b0" name="结束"> <endEvent id="_3392ccdd-ae91-44fa-b2ee-f744284c12b0" name="结束">
@@ -40,7 +40,7 @@
</sequenceFlow> </sequenceFlow>
<userTask id="Activity_128hlps" name="创建项目" activiti:formKey="${formKeyResolver.getFormKey(execution)}" activiti:assignee="${FGC_activitiAssignee}"> <userTask id="Activity_128hlps" name="创建项目" activiti:formKey="${formKeyResolver.getFormKey(execution)}" activiti:assignee="${FGC_activitiAssignee}">
<extensionElements> <extensionElements>
<fgc:ForguncyExtension Properties="{&quot;generalSetting&quot;:{&quot;page&quot;:&quot;项目审批&quot;,&quot;tables&quot;:[&quot;项目表&quot;],&quot;actions&quot;:[{&quot;key&quot;:&quot;100&quot;,&quot;type&quot;:100,&quot;enable&quot;:true,&quot;title&quot;:&quot;提交&quot;,&quot;remarks&quot;:[{&quot;key&quot;:1,&quot;enable&quot;:true,&quot;required&quot;:false},{&quot;key&quot;:2,&quot;enable&quot;:false,&quot;required&quot;:false}],&quot;commitOption&quot;:{&quot;autoSave&quot;:true}}]},&quot;userSetting&quot;:{&quot;assigneeSettings&quot;:[{&quot;key&quot;:&quot;1718537558155-58d82bab&quot;,&quot;type&quot;:1,&quot;value&quot;:{&quot;valueType&quot;:2,&quot;tableFieldValue&quot;:{&quot;$type&quot;:&quot;ForguncyDataAccess.BindingInfo, ForguncyDataAccess&quot;,&quot;TableName&quot;:&quot;项目表&quot;,&quot;ColumnName&quot;:&quot;项目经理&quot;}},&quot;enable&quot;:true}],&quot;assigneeTarget&quot;:2,&quot;isMultiple&quot;:true,&quot;isCountersign&quot;:false,&quot;isSequential&quot;:false,&quot;autoCommitStrategies&quot;:[{&quot;status&quot;:1,&quot;enable&quot;:false},{&quot;status&quot;:2,&quot;enable&quot;:false},{&quot;status&quot;:3,&quot;enable&quot;:false}],&quot;nobodyAssignStrategy&quot;:{&quot;status&quot;:1}},&quot;dataSetting&quot;:{&quot;tablePermissions&quot;:[]},&quot;timeoutSetting&quot;:{&quot;deadlines&quot;:[]},&quot;eventSetting&quot;:{&quot;eventHandlers&quot;:[{&quot;id&quot;:&quot;0&quot;,&quot;enable&quot;:true,&quot;event&quot;:400,&quot;commands&quot;:[]},{&quot;id&quot;:&quot;1&quot;,&quot;enable&quot;:true,&quot;event&quot;:300,&quot;commands&quot;:[]},{&quot;id&quot;:&quot;2&quot;,&quot;enable&quot;:true,&quot;event&quot;:302,&quot;commands&quot;:[]}]},&quot;variableSetting&quot;:{&quot;variables&quot;:[]}}" /> <fgc:ForguncyExtension Properties="{&quot;generalSetting&quot;:{&quot;page&quot;:&quot;项目审批&quot;,&quot;tables&quot;:[&quot;项目表&quot;],&quot;actions&quot;:[{&quot;key&quot;:&quot;100&quot;,&quot;type&quot;:100,&quot;enable&quot;:true,&quot;title&quot;:&quot;提交&quot;,&quot;remarks&quot;:[{&quot;key&quot;:1,&quot;enable&quot;:true,&quot;required&quot;:false},{&quot;key&quot;:2,&quot;enable&quot;:false,&quot;required&quot;:false}],&quot;commitOption&quot;:{&quot;autoSave&quot;:true}},{&quot;type&quot;:1000,&quot;key&quot;:&quot;1718772912849-d40e3406&quot;,&quot;enable&quot;:true,&quot;title&quot;:&quot;暂存&quot;,&quot;remarks&quot;:[]},{&quot;type&quot;:200,&quot;key&quot;:&quot;1718772884950-960cfaa1&quot;,&quot;enable&quot;:true,&quot;title&quot;:&quot;结束&quot;,&quot;remarks&quot;:[{&quot;key&quot;:1,&quot;enable&quot;:true,&quot;required&quot;:false},{&quot;key&quot;:2,&quot;enable&quot;:false,&quot;required&quot;:false}],&quot;terminateOption&quot;:{&quot;type&quot;:2}}]},&quot;userSetting&quot;:{&quot;assigneeSettings&quot;:[{&quot;key&quot;:&quot;1718537558155-58d82bab&quot;,&quot;type&quot;:1,&quot;value&quot;:{&quot;valueType&quot;:1,&quot;fixedValue&quot;:&quot;%Process.Starter%&quot;},&quot;enable&quot;:true}],&quot;assigneeTarget&quot;:2,&quot;isMultiple&quot;:true,&quot;isCountersign&quot;:false,&quot;isSequential&quot;:false,&quot;autoCommitStrategies&quot;:[{&quot;status&quot;:1,&quot;enable&quot;:false},{&quot;status&quot;:2,&quot;enable&quot;:false},{&quot;status&quot;:3,&quot;enable&quot;:false}],&quot;nobodyAssignStrategy&quot;:{&quot;status&quot;:1}},&quot;dataSetting&quot;:{&quot;tablePermissions&quot;:[]},&quot;timeoutSetting&quot;:{&quot;deadlines&quot;:[]},&quot;eventSetting&quot;:{&quot;eventHandlers&quot;:[{&quot;id&quot;:&quot;0&quot;,&quot;enable&quot;:true,&quot;event&quot;:400,&quot;commands&quot;:[{&quot;$type&quot;:&quot;ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition, ServerDesignerCommon&quot;,&quot;serverCommandName&quot;:&quot;修改项目状态&quot;,&quot;isAsync&quot;:false,&quot;inputParams&quot;:[{&quot;key&quot;:&quot;项目ID&quot;,&quot;value&quot;:{&quot;valueType&quot;:2,&quot;tableFieldValue&quot;:{&quot;TableName&quot;:&quot;项目表&quot;,&quot;ColumnName&quot;:&quot;ID&quot;,&quot;GUID&quot;:&quot;635c536a-d1a2-4fd2-a0f7-53a5e7189de3&quot;}}},{&quot;key&quot;:&quot;状态码&quot;,&quot;value&quot;:{&quot;valueType&quot;:1,&quot;fixedValue&quot;:&quot;0&quot;}}],&quot;returnCodeTo&quot;:&quot;&quot;,&quot;returnMessageTo&quot;:&quot;&quot;,&quot;returnPropertiesTo&quot;:[],&quot;$fgc_java_type&quot;:&quot;com.grapecity.forguncy.service.command.impl.callserver.CallServerCommandDefinition&quot;,&quot;$fgc_csharp_type&quot;:&quot;ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition&quot;,&quot;id&quot;:&quot;1718774862391-9043cbca_0&quot;,&quot;enable&quot;:true}]},{&quot;id&quot;:&quot;1&quot;,&quot;enable&quot;:true,&quot;event&quot;:300,&quot;commands&quot;:[]},{&quot;id&quot;:&quot;2&quot;,&quot;enable&quot;:true,&quot;event&quot;:302,&quot;commands&quot;:[]}]},&quot;variableSetting&quot;:{&quot;variables&quot;:[]}}" />
</extensionElements> </extensionElements>
<incoming>Flow_1m23z42</incoming> <incoming>Flow_1m23z42</incoming>
<outgoing>Flow_0cq5pfu</outgoing> <outgoing>Flow_0cq5pfu</outgoing>
@@ -68,8 +68,15 @@
<di:waypoint x="530" y="20" /> <di:waypoint x="530" y="20" />
<di:waypoint x="650" y="20" /> <di:waypoint x="650" y="20" />
</BPMNEdge> </BPMNEdge>
<BPMNShape id="_77a930b7-a08f-48be-9e93-2006953ed6ad" bpmnElement="_f08335ab-b838-4a55-8421-200f30047003" isHorizontal="false" isExpanded="false" isMarkerVisible="false" isMessageVisible="false">
<Bounds xmlns="http://www.omg.org/spec/DD/20100524/DC" x="10" y="0" width="40" height="40" />
<BPMNLabel>
<dc:Bounds x="17" y="47" width="27" height="16" />
</BPMNLabel>
</BPMNShape>
<BPMNShape id="_2bf92c2b-1b3d-4815-b6c9-f696d0b501a1" bpmnElement="_1f754255-6fd9-4eab-8d0f-10df7976e222" isHorizontal="false" isExpanded="false" isMarkerVisible="false" isMessageVisible="false"> <BPMNShape id="_2bf92c2b-1b3d-4815-b6c9-f696d0b501a1" bpmnElement="_1f754255-6fd9-4eab-8d0f-10df7976e222" isHorizontal="false" isExpanded="false" isMarkerVisible="false" isMessageVisible="false">
<Bounds xmlns="http://www.omg.org/spec/DD/20100524/DC" x="410" y="0" width="120" height="40" /> <Bounds xmlns="http://www.omg.org/spec/DD/20100524/DC" x="410" y="0" width="120" height="40" />
<BPMNLabel />
</BPMNShape> </BPMNShape>
<BPMNShape id="_dffb7850-c3b4-4469-b322-8af82e48919d" bpmnElement="_3392ccdd-ae91-44fa-b2ee-f744284c12b0" isHorizontal="false" isExpanded="false" isMarkerVisible="false" isMessageVisible="false"> <BPMNShape id="_dffb7850-c3b4-4469-b322-8af82e48919d" bpmnElement="_3392ccdd-ae91-44fa-b2ee-f744284c12b0" isHorizontal="false" isExpanded="false" isMarkerVisible="false" isMessageVisible="false">
<Bounds xmlns="http://www.omg.org/spec/DD/20100524/DC" x="650" y="0" width="40" height="40" /> <Bounds xmlns="http://www.omg.org/spec/DD/20100524/DC" x="650" y="0" width="40" height="40" />
@@ -77,12 +84,6 @@
<dc:Bounds x="657" y="47" width="27" height="16" /> <dc:Bounds x="657" y="47" width="27" height="16" />
</BPMNLabel> </BPMNLabel>
</BPMNShape> </BPMNShape>
<BPMNShape id="_77a930b7-a08f-48be-9e93-2006953ed6ad" bpmnElement="_f08335ab-b838-4a55-8421-200f30047003" isHorizontal="false" isExpanded="false" isMarkerVisible="false" isMessageVisible="false">
<Bounds xmlns="http://www.omg.org/spec/DD/20100524/DC" x="10" y="0" width="40" height="40" />
<BPMNLabel>
<dc:Bounds x="17" y="47" width="27" height="16" />
</BPMNLabel>
</BPMNShape>
<BPMNShape id="Activity_128hlps_di" bpmnElement="Activity_128hlps"> <BPMNShape id="Activity_128hlps_di" bpmnElement="Activity_128hlps">
<dc:Bounds x="190" y="0" width="120" height="40" /> <dc:Bounds x="190" y="0" width="120" height="40" />
<BPMNLabel /> <BPMNLabel />

View File

@@ -1,5 +1,5 @@
{ {
"Name": "立项流程", "Name": "项目立项流程",
"PermissionData": { "PermissionData": {
"$type": "Forguncy.RbacPermission.Core.Impl.BpmProcess.BpmProcessPermissionData, Forguncy.RbacPermission.Core", "$type": "Forguncy.RbacPermission.Core.Impl.BpmProcess.BpmProcessPermissionData, Forguncy.RbacPermission.Core",
"permissionResource": { "permissionResource": {

View File

@@ -1,35 +0,0 @@
{
"Name": "项目成员删除事件",
"Enabled": true,
"Triggers": [
{
"$type": "Forguncy.SaveLoad.EndDBDeleteTriggerSaveData, ServerDesignerCommon",
"DataParamName": "变更数据",
"TableNameParamName": "数据表名",
"PrimaryKeyParamName": "主键",
"OperatorParamName": "操作人",
"OperationTimeParamName": "操作时间",
"SelectTables": [
"项目成员表"
]
}
],
"Commands": [
{
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
"ServerCommandName": "同步项目参与人列表",
"Parameters": [
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "项目ID",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=主键.ID"
}
}
],
"RefreshAfterFinish": true,
"CheckDataValidation": true
}
]
}

View File

@@ -1,5 +1,5 @@
{ {
"Name": "项目成员新增事件", "Name": "项目新增事件",
"Enabled": true, "Enabled": true,
"Triggers": [ "Triggers": [
{ {
@@ -10,26 +10,43 @@
"OperatorParamName": "操作人", "OperatorParamName": "操作人",
"OperationTimeParamName": "操作时间", "OperationTimeParamName": "操作时间",
"SelectTables": [ "SelectTables": [
"项目成员表" "项目表"
] ]
} }
], ],
"Commands": [ "Commands": [
{ {
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon", "$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
"ServerCommandName": "同步项目参与人列表", "ServerCommandName": "填充项目初始化数据",
"Parameters": [ "Parameters": [
{ {
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "项目ID", "ParamName": "ID",
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=主键.ID" "SerializeProperty": "=主键.ID"
} }
} }
], ],
"ResultErrorCodeTo": {
"SerializeProperty": "code"
},
"ResultMessageTo": {
"SerializeProperty": "msg"
},
"RefreshAfterFinish": true, "RefreshAfterFinish": true,
"CheckDataValidation": true "CheckDataValidation": true
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=code"
},
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=msg"
}
} }
] ]
} }

View File

@@ -0,0 +1,539 @@
{
"Name": "创建项目校验",
"Enabled": true,
"Triggers": [
{
"$type": "Forguncy.SaveLoad.PostRequestTriggerSaveData, ServerDesignerCommon",
"Permission": {
"PermissionData": {
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionData, Forguncy.RbacPermission.Core",
"permissionResource": {
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionResource, Forguncy.RbacPermission.Core"
},
"permissionBindings": [
{
"$type": "Forguncy.RbacPermission.Core.Impl.ServerCommand.ServerCommandPermissionBinding, Forguncy.RbacPermission.Core",
"roleNames": [
"FGC_LoginUser"
]
}
]
}
},
"Parameters": [
{
"Name": "ID",
"DataValidationInfo": {
"IgnoreBlank": false
}
}
]
}
],
"Commands": [
{
"$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon",
"TryCommandPart": {
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "项目信息",
"TableValue": {
"TableName": "项目表",
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "3bfe4ccd-703d-4b2d-895a-1e3c14ec922f",
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "ID",
"GUID": "3d85cd7a-9659-4edd-88eb-7503f436cb1a"
},
"ColumnName": "ID"
},
{
"GUID": "58f331ed-74fe-4291-8aef-b44ecda111e5",
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目名称",
"GUID": "048bbdfa-7531-49e4-afcf-1594aff44864"
},
"ColumnName": "项目名称"
},
{
"GUID": "54dd07bd-6f61-401f-b62e-36ed7ce885cb",
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目代号",
"GUID": "252e17c3-5352-4a05-a18c-cb0a603b3b56"
},
"ColumnName": "项目代号"
},
{
"GUID": "1e79be20-3cd7-4405-be38-e322558eb2b6",
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目简介",
"GUID": "ed8e8a2e-d186-453c-8adb-61aa3349d12a"
},
"ColumnName": "项目简介"
},
{
"GUID": "bd3f6025-6a7a-462c-bf24-9768a9856acc",
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目封面",
"GUID": "e1413f8c-c2da-4bd7-8d22-39ec12b85343"
},
"ColumnName": "项目封面"
},
{
"GUID": "f08ada6b-04cb-492a-bbb2-80bb0a98d864",
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目经理",
"GUID": "287ce3eb-4703-4eb5-b701-175d09f67030"
},
"ColumnName": "项目经理"
},
{
"GUID": "912c852f-7f8e-4517-b3e9-01fd1c635da5",
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目分组",
"GUID": "d5b30a9e-791a-48fe-905c-42d8eb8affac"
},
"ColumnName": "项目分组"
},
{
"GUID": "50ecc137-dc6a-457f-aae5-773875ccd606",
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "所属客户",
"GUID": "27fec1eb-62ed-4e9f-85a1-e0e39b4fad7d"
},
"ColumnName": "所属客户"
},
{
"GUID": "41ab5854-6503-48fe-b69d-8a6ea311b292",
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "所属客户部门",
"GUID": "fc9c5e99-79f8-4c0c-879a-1d332aad4401"
},
"ColumnName": "所属客户部门"
},
{
"GUID": "acdbe594-bf9d-4634-92ac-aa4628ed0443",
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "工时分配方式",
"GUID": "c7d939e2-de06-4e5a-bb68-adbdf157095a"
},
"ColumnName": "工时分配方式"
},
{
"GUID": "ba003acf-8175-4823-9698-6b432c9b8f2b",
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目预算工时",
"GUID": "e2a16be9-4794-467f-a6f4-2f93c8f597da"
},
"ColumnName": "项目预算工时"
},
{
"GUID": "37385f83-216a-4bbf-9851-4749c1552fe3",
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目预算费用",
"GUID": "9451ae1e-8f25-4ae6-a03a-b0d57f5a1135"
},
"ColumnName": "项目预算费用"
},
{
"GUID": "09e14ad9-1b0d-4394-9384-0ab933482b20",
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "公开",
"GUID": "e65770f8-0cc9-4443-9112-4c593df9258d"
},
"ColumnName": "公开"
},
{
"GUID": "67f9a1d4-7469-4fee-8c42-7ff79d970fea",
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "严格模式",
"GUID": "ac6c3fe7-b892-4c74-91c4-10a76b600ef3"
},
"ColumnName": "严格模式"
},
{
"GUID": "34512663-fce3-4ff3-a907-7164c7482bde",
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "计划开始日期",
"GUID": "ec3721cf-4d3d-4842-b396-3019eb023bda"
},
"ColumnName": "计划开始日期"
},
{
"GUID": "fd7245a0-4f12-46e0-838d-ae6ba20015a3",
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "计划完成日期",
"GUID": "4d38dc12-c932-4f2e-8bbb-e5116bd1ad45"
},
"ColumnName": "计划完成日期"
},
{
"GUID": "5b5c67e7-7d87-4415-bcd5-c2c52aaae908",
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目方案",
"GUID": "264583fb-5acc-41bb-a4c3-243366d1fbd3"
},
"ColumnName": "项目方案"
},
{
"GUID": "504e37b6-5ada-4f21-be75-cedbc6f82d03",
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "预算方案",
"GUID": "ee5a981b-0617-481f-8732-2a0784d135c1"
},
"ColumnName": "预算方案"
},
{
"GUID": "b19da5b5-92a9-4bbe-8bf0-f37c4483a12d",
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "网络资源",
"GUID": "d39c4700-048a-4763-a685-00219b4a5f1c"
},
"ColumnName": "网络资源"
},
{
"GUID": "dc993af7-79cb-447c-a26a-8401471502cd",
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "参与人",
"GUID": "98389e66-fb86-4117-8193-1a41e8592b7b"
},
"ColumnName": "参与人"
},
{
"GUID": "631207ba-f34a-454b-b127-1b866e61eff6",
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "开启反馈收集",
"GUID": "9b42d410-5fa3-4236-b57e-f21546343c51"
},
"ColumnName": "开启反馈收集"
},
{
"GUID": "1b0e3b14-0dd8-4d87-b4c5-03d776d5f951",
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目状态",
"GUID": "73fe8e59-e7d8-4156-b95d-f54632e9b5ae"
},
"ColumnName": "项目状态"
},
{
"GUID": "449771bb-b1bf-43d0-b5c9-3a679fbf50aa",
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "立项流程示例ID",
"GUID": "11084f4f-4132-41dc-ad2e-a78072285e3b"
},
"ColumnName": "立项流程示例ID"
},
{
"GUID": "66df9413-b7d8-491b-9ac6-aff85cad2d01",
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "删除",
"GUID": "23082ac2-2bcc-4951-ac5c-fb7081b422fb"
},
"ColumnName": "删除"
},
{
"GUID": "eef17543-8be5-4e67-af0d-7f624a125e53",
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "FGC_Creator",
"GUID": "ccf8d1d7-17d3-43af-ac7f-a9e8dfdd7d73",
"AttachType": {
"$type": "ForguncyDataAccess.UserColumnAttachObj, ForguncyDataAccess",
"UserColumnAttachType": 1
}
},
"ColumnName": "创建者_全名"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "项目表",
"ColumnName": "ID",
"GUID": "28da52df-db8e-4c38-9b26-532dcd6997c9"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ID"
}
},
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "2b983ad184f144caa4a3f2adb3435fbc"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"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": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目信息.项目名称"
}
},
"value": "%Null%"
},
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": "项目名称及代号不能为空"
}
],
"ID": "9d436ff0-18c1-4d7c-8da5-8d88cc5cc427"
}
]
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目信息.项目经理"
}
},
"value": "%Null%"
},
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": "项目经理不能为空"
}
],
"ID": "782db2f9-e1dc-41df-98ec-df95b81e6334"
}
]
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SubConditions": [
{
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目信息.所属客户"
}
},
"value": "%Null%"
},
{
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目信息.所属客户部门"
}
}
}
],
"RelationType": 1
},
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": "项目所属客户及部门不能为空"
}
],
"ID": "0a044dc9-5a80-4a97-a945-3fb8b3043e05"
}
]
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SubConditions": [
{
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目信息.计划开始日期"
}
},
"value": "%Null%"
},
{
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目信息.计划完成日期"
}
},
"value": "%Null%"
}
],
"RelationType": 1
},
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": "项目计划日期不能为空"
}
],
"ID": "9ef6d620-2fdb-4a03-87fa-b113b04ce8f4"
}
]
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SubConditions": [
{
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目信息.严格模式"
}
},
"value": "1"
},
{
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目信息.项目预算工时"
}
},
"value": "%Null%"
}
]
},
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": "严格模式下,预算工时必须提供"
}
],
"ID": "164ae1b2-8936-4402-b17b-e4957d05e8cb"
}
]
},
{
"$type": "Forguncy.Model.ProcessInstanceCommand, ServerDesignerCommon",
"ProcessInstanceId": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目信息.立项流程示例ID"
},
"OperateType": 400,
"ProcessInstanceName": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目信息.创建者_全名&\"发起的\"&\"[\"&项目信息.项目名称&\"]项目立项申请\""
}
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "校验通过"
}
],
"ID": "4119870f-869c-4c6a-a400-2029eee7f962"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": "项目不存在"
}
],
"ID": "92c21087-e3ba-4632-81fe-4ee0545abbbd"
}
]
}
]
},
"CatchCommandPart": {
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ExceptionCode"
},
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ExceptionMessage"
}
}
]
}
}
]
}

View File

@@ -1,89 +0,0 @@
{
"Name": "同步项目参与人列表",
"Description": "因为统计字段不能设置行权限,所以用此命令专门将参与人存为实体字段",
"Enabled": true,
"Triggers": [
{
"$type": "Forguncy.SaveLoad.InvokeTriggerSaveData, ServerDesignerCommon",
"Parameters": [
{
"Name": "项目ID",
"DataValidationInfo": {
"IgnoreBlank": false
}
}
]
}
],
"Commands": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "项目",
"TableValue": {
"TableName": "项目表",
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "d2b5911c-6a66-4563-92a3-224d0b662380",
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "参与人列表",
"GUID": "8b8f298b-efb2-46b4-a9a8-635d05bd0e28"
},
"ColumnName": "参与人统计"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "项目表",
"ColumnName": "ID",
"GUID": "1ab3a090-8c04-49e0-a7dc-a45b89695fe3"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目ID"
}
},
"TopCount": "1"
},
"ID": "7e6ea301e3094f7e9775b0bac50ad26d"
},
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "项目表",
"ShowConfirm": false,
"RowsToUpdate": 1,
"RowsToUpdateCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "项目表",
"ColumnName": "ID",
"GUID": "9ceabbfb-d345-46e0-9329-cf539a12e480"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目ID"
}
},
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "参与人",
"GUID": "40af57bc-50e4-4406-a2ce-6525bd2a97fb"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目.参与人统计"
}
}
]
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "同步完成"
}
]
}

View File

@@ -0,0 +1,939 @@
{
"Name": "填充项目初始化数据",
"Enabled": true,
"Triggers": [
{
"$type": "Forguncy.SaveLoad.InvokeTriggerSaveData, ServerDesignerCommon",
"Parameters": [
{
"Name": "ID",
"DataValidationInfo": {
"IgnoreBlank": false
}
}
]
}
],
"Commands": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "项目",
"TableValue": {
"TableName": "项目表",
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "bf4aa969-2e0d-41a3-b21f-d161c669181d",
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目状态",
"GUID": "fb1fbb32-fdc6-4a4c-a8e6-b5559285d676"
},
"ColumnName": "项目状态"
},
{
"GUID": "469804af-8359-445e-be3c-29b4c9318b39",
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目经理",
"GUID": "e81f2340-af4c-4f6b-8dcd-afd8e74768ba"
},
"ColumnName": "项目经理"
},
{
"GUID": "4a6da440-f343-4b8b-b04a-25e05a3722e8",
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "所属客户",
"GUID": "8a11dd2a-e505-4f58-9d1b-0448b3486b4d"
},
"ColumnName": "所属客户"
},
{
"GUID": "b89ffe2a-1e59-49ab-9ebd-d5efabb5da8b",
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "所属客户部门",
"GUID": "ab46b96f-d75d-4a48-baf9-f0e78f183a56",
"RelationBinding": {
"RelatedTable": "客户部门表",
"RelatedColumn": "ID",
"DisplayColumn": "对接人"
}
},
"ColumnName": "对接人"
},
{
"GUID": "663d7b9e-0ca1-4a74-ba45-cd90994ae50b",
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目经理",
"GUID": "54d22a8d-6673-49b7-941d-7b14e7186924",
"AttachType": {
"$type": "ForguncyDataAccess.UserColumnAttachObj, ForguncyDataAccess",
"UserColumnAttachType": 5,
"AttachTypeTag": "默认时薪"
}
},
"ColumnName": "项目经理_默认时薪"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "项目表",
"ColumnName": "ID",
"GUID": "d095e1bc-1f0e-4e96-b4f0-35a83b880432"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ID"
}
},
"NullFormulaValueQueryPolicy": 0
},
"ID": "992eab76f1954c7ea32d98b07048191a"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"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": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"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": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SubConditions": [
{
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目.所属客户"
}
},
"value": "%Null%",
"compareType": 1
},
{
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"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": "f311d555-f062-4265-8d82-2d36ce7f0355"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ID"
}
},
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "项目岗位",
"ColumnName": "岗位名称",
"GUID": "bb98eede-97af-4f4a-b1ad-646505d6006d"
},
"Value": "商务经理"
}
]
},
"NullFormulaValueQueryPolicy": 0
},
"ID": "73d108bea1b64c90ae990d7abe350b9f"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=是否存在商务经理岗位"
}
},
"value": "0"
},
"CommandList": [
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "项目岗位",
"UpdateType": "add",
"ShowConfirm": false,
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "项目岗位",
"ColumnName": "项目ID",
"GUID": "3824b666-e3d7-4ca4-9597-0ed711c5a483"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ID"
}
},
{
"BindingInfo": {
"TableName": "项目岗位",
"ColumnName": "岗位名称",
"GUID": "f9ffa399-7c8c-458b-8bf7-0b5e569d66ee"
},
"Value": "商务经理"
},
{
"BindingInfo": {
"TableName": "项目岗位",
"ColumnName": "岗位描述",
"GUID": "9cbe2f8f-a778-4892-b0aa-af88a21c087b"
},
"Value": "负责完成项目经理指派的各个开发任务"
},
{
"BindingInfo": {
"TableName": "项目岗位",
"ColumnName": "默认时薪",
"GUID": "5d3ad81e-3657-4f41-85a5-8ca2fc45245d"
},
"Value": "0"
}
],
"ParamNameToSaveNewRowValue": "商务经理岗位"
}
],
"ID": "41c1f236-8ed7-471d-a3da-9d3ef2eadc8a"
}
]
},
{
"$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": "c7a155f1-bd31-4eec-a437-e67117157037"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ID"
}
},
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "项目岗位",
"ColumnName": "岗位名称",
"GUID": "b4d8dc7b-62b7-414b-900a-616158ccf7d2"
},
"Value": "项目经理"
}
]
},
"NullFormulaValueQueryPolicy": 0
},
"ID": "8c16ae5660ec46649956f17794ce676b"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=是否存在项目经理岗位"
}
},
"value": "0"
},
"CommandList": [
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "项目岗位",
"UpdateType": "add",
"ShowConfirm": false,
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "项目岗位",
"ColumnName": "项目ID",
"GUID": "c4572b29-28f2-4ed9-ad9a-a068c7b51915"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ID"
}
},
{
"BindingInfo": {
"TableName": "项目岗位",
"ColumnName": "岗位名称",
"GUID": "38e961f4-1d10-4c9d-ab64-076b23198645"
},
"Value": "项目经理"
},
{
"BindingInfo": {
"TableName": "项目岗位",
"ColumnName": "岗位描述",
"GUID": "894ab6f7-805b-4676-a2c8-433da5aec782"
},
"Value": "负责项目整体管理"
},
{
"BindingInfo": {
"TableName": "项目岗位",
"ColumnName": "默认时薪",
"GUID": "bcd8f16b-640c-496c-979c-bdd4d8be3bbb"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目.项目经理_默认时薪"
}
}
],
"ParamNameToSaveNewRowValue": "项目经理岗位"
}
],
"ID": "0ed39ce8-07fd-4c60-b5a4-c4bb450b84c1"
}
]
},
{
"$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": "c1132c66-00b5-4709-9be8-d5a7225154d0"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ID"
}
},
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "项目岗位",
"ColumnName": "岗位名称",
"GUID": "66048b13-a1b9-4b45-b1f0-2fdb11fc8f69"
},
"Value": "客服经理"
}
]
},
"NullFormulaValueQueryPolicy": 0
},
"ID": "fa46bad714df4c128cd0d159f0db8c67"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=是否存在客服经理岗位"
}
},
"value": "0"
},
"CommandList": [
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "项目岗位",
"UpdateType": "add",
"ShowConfirm": false,
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "项目岗位",
"ColumnName": "项目ID",
"GUID": "33d71472-5f8d-4a9f-97b3-d11933e87586"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ID"
}
},
{
"BindingInfo": {
"TableName": "项目岗位",
"ColumnName": "岗位名称",
"GUID": "cdf80327-2cd0-4968-b619-2d1dd26be313"
},
"Value": "客服经理"
},
{
"BindingInfo": {
"TableName": "项目岗位",
"ColumnName": "岗位描述",
"GUID": "e1b75950-2747-464f-a170-74261a1d41a8"
},
"Value": "客户与开发团队的桥梁,负责商务、沟通事宜"
},
{
"BindingInfo": {
"TableName": "项目岗位",
"ColumnName": "默认时薪",
"GUID": "7a7c1923-87e8-4d0b-acab-2ca1e6b06145"
},
"Value": "0"
}
],
"ParamNameToSaveNewRowValue": "客服经理岗位"
}
],
"ID": "67f08f1e-c7fe-4f1d-97a1-558d35e89a3c"
}
]
},
{
"$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": "59a20680-7318-4b6d-a462-08237ba509d4"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ID"
}
},
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "项目岗位",
"ColumnName": "岗位名称",
"GUID": "7bc3ab98-5ee9-49ed-9a46-4d00e27245c6"
},
"Value": "开发工程师"
}
]
},
"NullFormulaValueQueryPolicy": 0
},
"ID": "e2c70170d6e6481abc43581dcc1dc6ce"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=是否存在开发工程师岗位"
}
},
"value": "0"
},
"CommandList": [
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "项目岗位",
"UpdateType": "add",
"ShowConfirm": false,
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "项目岗位",
"ColumnName": "项目ID",
"GUID": "dcecb766-7652-4ef6-ace3-5119b1216f11"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ID"
}
},
{
"BindingInfo": {
"TableName": "项目岗位",
"ColumnName": "岗位名称",
"GUID": "53b3627d-2d69-43d9-9faa-2c508e6d55b1"
},
"Value": "开发工程师"
},
{
"BindingInfo": {
"TableName": "项目岗位",
"ColumnName": "岗位描述",
"GUID": "0603f1ab-fadb-41e5-a01b-728c6ed92a5a"
},
"Value": "负责完成项目经理指派的各个开发任务"
},
{
"BindingInfo": {
"TableName": "项目岗位",
"ColumnName": "默认时薪",
"GUID": "9b1db72b-9e27-49ba-ba4b-d8883a460ea7"
},
"Value": "0"
}
],
"ParamNameToSaveNewRowValue": "开发工程师岗位"
}
],
"ID": "abbafe65-98c6-44d7-a8ee-55c719b989da"
}
]
}
],
"ID": "dc02d41d-2071-44c9-aa3f-b4f947cb1e06"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": "请先配置项目客户及客户对接人"
}
],
"ID": "a221cc22-5a81-48f8-8385-e5c7ae9ac242"
}
],
"Comments": "这里对岗位进行逐一判断,没有就加上"
},
{
"$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": "3581a0e6-a389-4da0-ae5e-9b229b6fc6a9"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ID"
}
},
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "项目成员表",
"ColumnName": "项目成员",
"GUID": "ea1a0e9e-ded9-4216-b318-d3795fadd527"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目.项目经理"
}
}
]
},
"NullFormulaValueQueryPolicy": 0
},
"ID": "f075fd15e3ef4fb09ad8befd53ba47db"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目成员是否已有项目经理"
}
},
"value": "0"
},
"CommandList": [
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "项目成员表",
"UpdateType": "add",
"ShowConfirm": false,
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "项目成员表",
"ColumnName": "项目ID",
"GUID": "df7c0e4e-edd4-4dce-a1b9-d187f0b841d1"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ID"
}
},
{
"BindingInfo": {
"TableName": "项目成员表",
"ColumnName": "项目成员",
"GUID": "260ccf6f-5d30-4e56-8bf2-60e805a4eba4"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目.项目经理"
}
},
{
"BindingInfo": {
"TableName": "项目成员表",
"ColumnName": "岗位ID",
"GUID": "4708de91-1dbc-42d4-9707-7a8ddbbfcd04"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目经理岗位.ID"
}
},
{
"BindingInfo": {
"TableName": "项目成员表",
"ColumnName": "默认时薪",
"GUID": "8a4d64d0-40ec-4a14-9d57-d194e60f8420"
}
}
]
}
],
"ID": "cd32e974-50fd-4ee2-9489-c6b3e53f359a"
}
],
"Comments": "这里将项目经理加入到项目成员中"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "是否存在项目分组",
"TableValue": {
"TableName": "项目任务分组",
"TableValueType": 3,
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "项目任务分组",
"ColumnName": "项目ID",
"GUID": "925ec3d8-90b3-4ec5-9f81-7242a900695a"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ID"
}
},
"NullFormulaValueQueryPolicy": 0
},
"ID": "b7b3372a3f6f4a18af8e0384f85457cc"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=是否存在项目分组"
}
},
"value": "0"
},
"CommandList": [
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "项目任务分组",
"UpdateType": "add",
"ShowConfirm": false,
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "项目任务分组",
"ColumnName": "项目ID",
"GUID": "caf212f7-a856-4ace-88c4-65bd3cafd2dd"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ID"
}
},
{
"BindingInfo": {
"TableName": "项目任务分组",
"ColumnName": "分组名称",
"GUID": "7b981159-ebf6-4220-9494-8e3c15344bff"
},
"Value": "调研阶段"
},
{
"BindingInfo": {
"TableName": "项目任务分组",
"ColumnName": "图标",
"GUID": "544b2aa7-1989-4b0c-b170-c22975a74033"
},
"Value": "📋"
},
{
"BindingInfo": {
"TableName": "项目任务分组",
"ColumnName": "排序",
"GUID": "d686bd1c-96ef-4872-947b-5dd26fad3fd4"
},
"Value": "1"
}
]
},
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "项目任务分组",
"UpdateType": "add",
"ShowConfirm": false,
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "项目任务分组",
"ColumnName": "项目ID",
"GUID": "2f6d5b57-64c8-4140-8f12-a0c8247e0665"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ID"
}
},
{
"BindingInfo": {
"TableName": "项目任务分组",
"ColumnName": "分组名称",
"GUID": "ab57b528-925e-4449-8006-3540efa12635"
},
"Value": "开发阶段"
},
{
"BindingInfo": {
"TableName": "项目任务分组",
"ColumnName": "图标",
"GUID": "f3e32e59-0fd4-4661-98cf-eafdd339e558"
},
"Value": "👨‍💻"
},
{
"BindingInfo": {
"TableName": "项目任务分组",
"ColumnName": "排序",
"GUID": "52ca4fb7-66c8-4960-9ac2-8b044949dc08"
},
"Value": "2"
}
]
},
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "项目任务分组",
"UpdateType": "add",
"ShowConfirm": false,
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "项目任务分组",
"ColumnName": "项目ID",
"GUID": "161ed551-48bb-4630-a0e4-8cadff510b86"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ID"
}
},
{
"BindingInfo": {
"TableName": "项目任务分组",
"ColumnName": "分组名称",
"GUID": "aab27274-3c1e-4f87-b114-c60d9a8d0b18"
},
"Value": "上线阶段"
},
{
"BindingInfo": {
"TableName": "项目任务分组",
"ColumnName": "图标",
"GUID": "cd38cd04-108c-4be3-bc2f-2a0366210159"
},
"Value": "🖥️"
},
{
"BindingInfo": {
"TableName": "项目任务分组",
"ColumnName": "排序",
"GUID": "afe491a9-bb57-42b9-b553-1352862e9a1a"
},
"Value": "3"
}
]
},
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "项目任务分组",
"UpdateType": "add",
"ShowConfirm": false,
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "项目任务分组",
"ColumnName": "项目ID",
"GUID": "c74d730e-a5b0-47c0-83a2-5d7c8c8ac463"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ID"
}
},
{
"BindingInfo": {
"TableName": "项目任务分组",
"ColumnName": "分组名称",
"GUID": "f4523d3a-7980-4f4b-8d9f-a29e1eaa8cad"
},
"Value": "维护阶段"
},
{
"BindingInfo": {
"TableName": "项目任务分组",
"ColumnName": "图标",
"GUID": "dee24f08-0703-430e-8c8d-6345d7a30634"
},
"Value": "🛠️"
},
{
"BindingInfo": {
"TableName": "项目任务分组",
"ColumnName": "排序",
"GUID": "b0ce501d-55d4-49c8-a00f-5f8fbfeb2ac8"
},
"Value": "4"
}
]
}
],
"ID": "0c6bfa19-ed69-410c-8774-a996a6291510"
}
],
"Comments": "这里填充默认的四种任务分组"
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "已完成"
}
],
"ID": "fbc97d07-2cfe-449c-b2af-8d23d0df910c"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": "请先设置项目经理"
}
],
"ID": "23ae011a-f715-4120-b77a-fd827e06a39e"
}
]
}
],
"ID": "0ab5e411-bf4f-4f3f-acb2-d0707c682bff"
}
]
}
]
}

View File

@@ -116,607 +116,6 @@
{ {
"$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon", "$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon",
"TryCommandPart": { "TryCommandPart": {
"CommandList": [
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ID"
}
},
"value": "%Null%"
},
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "项目经理信息",
"TableValue": {
"TableName": "用户信息视图",
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "687adc15-29b6-45fa-b807-58a6b7b6b556",
"BindingInfo": {
"TableName": "用户信息视图",
"ColumnName": "用户名",
"GUID": "fa4e0570-8b5e-4f33-892f-8effa6fb2f22"
},
"ColumnName": "用户名"
},
{
"GUID": "6f778741-c8fb-49f0-9b5d-6ef1e3655c74",
"BindingInfo": {
"TableName": "用户信息视图",
"ColumnName": "默认时薪",
"GUID": "57ec6988-4dba-4b24-b256-d5318ca97211"
},
"ColumnName": "默认时薪"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "用户信息视图",
"ColumnName": "用户名",
"GUID": "9c0710bd-e312-4f0e-be64-a9e9498d21b9"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=管理员"
}
},
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "e38acc60f9b84e20bae09e8335dd3deb"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"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": "Forguncy.Model.ServerTransactionCommand, ServerDesignerCommon",
"CommandList": [
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "项目表",
"UpdateType": "add",
"ShowConfirm": false,
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目名称",
"GUID": "3e96648f-0e7c-45bf-93e6-6f500c55f334"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目名称"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目代号",
"GUID": "5bd04bd5-968a-4b5c-8d68-8b436fc5899e"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目代号"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目简介",
"GUID": "ea87ea44-4258-4d89-9991-90e93231d84b"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目简介"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目封面",
"GUID": "83689259-a91f-4e9d-a64c-d8c1201dd823"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=封面"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目经理",
"GUID": "60184710-2be4-4e6d-bf5a-3127fe9d2ca2"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=管理员"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目分组",
"GUID": "b6373067-225c-41df-b843-20c7a297830f"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=分组"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "所属客户",
"GUID": "bec5ba56-41d1-4883-bffd-827753963b99"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=所属客户"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "所属客户部门",
"GUID": "c8965baa-5e55-41ea-8974-f3bf2bea7560"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=所属客户部门"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目预算工时",
"GUID": "854752be-2f4f-476f-a8a3-c2ec29901530"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=预算工时"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目预算费用",
"GUID": "c69062a2-5c1c-4f75-abc6-36d3d6a270f2"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=预算金额"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "公开",
"GUID": "1a673e3d-715d-454e-b99f-526f536c7536"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=权限"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "严格模式",
"GUID": "2ee6d9f6-6268-42be-8ed6-98dc4733f433"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=严格模式"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "工时分配方式",
"GUID": "10131c97-9740-4b75-bc56-ab4d3cf66e33"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=工时分配方式"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "开启反馈收集",
"GUID": "003b7e73-0897-40d7-879c-baa6c4241157"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=开启反馈收集"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目方案",
"GUID": "7af3baa1-fac9-4485-b694-7229e9156854"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目方案"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "预算方案",
"GUID": "f6175e4e-8ec3-478e-afb1-12007d0fc078"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=预算方案"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "计划开始日期",
"GUID": "c3d8e642-7419-497c-a8f1-11cb25fd1a04"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=开始日期"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "计划完成日期",
"GUID": "10f81871-dc90-4560-a12a-884cbcf7e3b3"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=结束日期"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "网络资源",
"GUID": "4df5c6f5-b31f-4b10-9e10-56e1edee52f7"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=网络资源"
}
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目状态",
"GUID": "d16f45d2-8a95-4a6b-a2b1-198e7e861104"
},
"Value": "0"
},
{
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "删除",
"GUID": "4622cb74-678c-4ba5-820a-3129c7f56e38"
},
"Value": "0"
}
],
"ParamNameToSaveNewRowValue": "新项目"
},
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "项目岗位",
"UpdateType": "add",
"ShowConfirm": false,
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "项目岗位",
"ColumnName": "项目ID",
"GUID": "e7c333a4-4ae2-4336-89ef-13b74a81afdc"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=新项目.ID"
}
},
{
"BindingInfo": {
"TableName": "项目岗位",
"ColumnName": "岗位名称",
"GUID": "bc6cc0de-adf0-4d7e-b906-8d50ea713b06"
},
"Value": "项目经理"
},
{
"BindingInfo": {
"TableName": "项目岗位",
"ColumnName": "岗位描述",
"GUID": "743ea686-ec3b-45ec-812c-9ba68e8f9e06"
},
"Value": "项目开发主要负责人"
},
{
"BindingInfo": {
"TableName": "项目岗位",
"ColumnName": "默认时薪",
"GUID": "843f9905-80ab-4a1a-8c8b-5eb86fbdb79b"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目经理信息.默认时薪"
}
}
],
"ParamNameToSaveNewRowValue": "新岗位"
},
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "项目成员表",
"UpdateType": "add",
"ShowConfirm": false,
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "项目成员表",
"ColumnName": "项目ID",
"GUID": "e0ff396d-0572-43f5-97ea-f26da738a354"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=新项目.ID"
}
},
{
"BindingInfo": {
"TableName": "项目成员表",
"ColumnName": "项目成员",
"GUID": "981b2389-c28b-4a7b-83bb-edce041511df"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目经理信息.用户名"
}
},
{
"BindingInfo": {
"TableName": "项目成员表",
"ColumnName": "岗位ID",
"GUID": "bc79feb2-7989-4046-bf94-1884697bc848"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=新岗位.ID"
}
},
{
"BindingInfo": {
"TableName": "项目成员表",
"ColumnName": "默认时薪",
"GUID": "9cca855a-b469-4475-a100-461fe1567996"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目经理信息.默认时薪"
}
}
]
}
]
},
{
"$type": "Forguncy.Model.ProcessStartCommand, ServerDesignerCommon",
"ProcessDefinitionResourceName": "立项流程",
"ProcessInstanceName": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目名称&\"立项审批\""
},
"SelectedTable": "项目表",
"RowsToUpdate": 1,
"RowsToUpdateCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "项目表",
"ColumnName": "ID",
"GUID": "2aeae676-f1b4-4bfd-bfa9-12ec0f173380"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=新项目.ID"
}
},
"Initiator": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目经理信息.用户名"
},
"ReturnResultName": "发起流程结果"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SubConditions": [
{
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=发起流程结果"
}
},
"value": "%Null%",
"compareType": 1
},
{
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=发起流程结果.ID"
}
},
"value": "%Null%",
"compareType": 1
}
]
},
"CommandList": [
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目经理信息.用户名"
}
},
"value": "%CurrentUser.UserName%"
},
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "查找任务",
"TableValue": {
"TableName": "ACT_RU_TASK_View",
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "2ec75406-cec5-45e5-af28-33e063f35052",
"BindingInfo": {
"TableName": "ACT_RU_TASK_View",
"ColumnName": "ID_",
"GUID": "8ff1ac1e-86a8-4b86-8344-e58af591f2ed"
},
"ColumnName": "ID"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SubConditions": [
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "ACT_RU_TASK_View",
"ColumnName": "PROC_INST_ID_",
"GUID": "cfc14f9c-7c2e-4fb0-857c-914086b404b8"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=发起流程结果.ID"
}
},
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "ACT_RU_TASK_View",
"ColumnName": "ASSIGNEE_",
"GUID": "b74fa4bd-b315-4b34-bcfa-9cf869338179"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目经理信息.用户名"
}
}
]
},
"TopCount": "1",
"OrderBySqlCondition": {
"OrderByColumns": [
{
"ColumnBindingInfo": {
"TableName": "ACT_RU_TASK_View",
"ColumnName": "CREATE_TIME_",
"GUID": "b2a828b2-523a-4a24-840c-f5885ba5eaa0"
},
"Order": 1
}
]
}
},
"ID": "10dac7be6f2d44aa9f18cc2c932f57e0"
},
{
"$type": "Forguncy.Model.ProcessTaskCommand, ServerDesignerCommon",
"TaskId": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=查找任务.ID"
},
"CustomOperationName": "提交",
"Operator": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目经理信息.用户名"
},
"Comment": "系统自动提交审批"
}
],
"ID": "3eadfb6f-b641-4683-886c-8d4cf29e9738"
}
]
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "项目创建成功,正在审批,别忘了在菜单里设置项目岗位和薪资哦!"
}
],
"ID": "f41cd5d9-316b-4ff6-9f58-541ed818c98d"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": "项目已创建,但未能发起审批,请手动发起审批流程!"
}
],
"ID": "d9e4dc5a-1704-4038-b87a-c12a78af03fc"
}
]
}
],
"ID": "591b202f-63a1-4fcd-bf42-025e16d24d33"
}
]
}
],
"ID": "e78856db-59d2-4656-9d60-c21ba92b3500"
},
{
"CommandList": [ "CommandList": [
{ {
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
@@ -726,7 +125,7 @@
"TableValueType": 1, "TableValueType": 1,
"BindingInfos": [ "BindingInfos": [
{ {
"GUID": "bf0a849d-8177-4e15-8d39-0d66c04ea7ad", "GUID": "9dec62d0-d26b-4ddd-a56a-d9c3da5811af",
"BindingInfo": { "BindingInfo": {
"TableName": "项目表", "TableName": "项目表",
"ColumnName": "严格模式", "ColumnName": "严格模式",
@@ -735,7 +134,7 @@
"ColumnName": "严格模式" "ColumnName": "严格模式"
}, },
{ {
"GUID": "4f150d93-829c-4971-87a9-bef7113f4108", "GUID": "5ff8a8f1-9153-465f-867c-30e3f8144ddf",
"BindingInfo": { "BindingInfo": {
"TableName": "项目表", "TableName": "项目表",
"ColumnName": "项目经理", "ColumnName": "项目经理",
@@ -759,7 +158,7 @@
"NullFormulaValueQueryPolicy": 0, "NullFormulaValueQueryPolicy": 0,
"TopCount": "1" "TopCount": "1"
}, },
"ID": "768912ca847b455a9aca3255eb8cd259" "ID": "0cb16c10e8b545d3bbf6ab166d5024f9"
}, },
{ {
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
@@ -785,7 +184,7 @@
"TableValueType": 1, "TableValueType": 1,
"BindingInfos": [ "BindingInfos": [
{ {
"GUID": "e5f967d9-238c-4b88-9a3e-16308c7c7f2b", "GUID": "a9663649-7844-4b42-b900-4a4329814754",
"BindingInfo": { "BindingInfo": {
"TableName": "View_项目统计信息", "TableName": "View_项目统计信息",
"ColumnName": "项目预算工时", "ColumnName": "项目预算工时",
@@ -794,7 +193,7 @@
"ColumnName": "项目预算工时" "ColumnName": "项目预算工时"
}, },
{ {
"GUID": "461ef28f-c4d0-431f-b742-cffdcac82826", "GUID": "bf4d1923-97b1-4d84-b35f-07e2b188d5b3",
"BindingInfo": { "BindingInfo": {
"TableName": "View_项目统计信息", "TableName": "View_项目统计信息",
"ColumnName": "总实际工时", "ColumnName": "总实际工时",
@@ -803,7 +202,7 @@
"ColumnName": "总实际工时" "ColumnName": "总实际工时"
}, },
{ {
"GUID": "85ccda72-7fc9-4e99-9702-c27e1a8a1b45", "GUID": "59b81edc-7159-49ab-baf0-ad68eb7cf4cd",
"BindingInfo": { "BindingInfo": {
"TableName": "View_项目统计信息", "TableName": "View_项目统计信息",
"ColumnName": "项目预算费用", "ColumnName": "项目预算费用",
@@ -812,7 +211,7 @@
"ColumnName": "项目预算费用" "ColumnName": "项目预算费用"
}, },
{ {
"GUID": "53152fc6-253e-4877-b30f-f5eafab16fcc", "GUID": "17d281db-75b4-4d67-a2cf-90fed5d36f1c",
"BindingInfo": { "BindingInfo": {
"TableName": "View_项目统计信息", "TableName": "View_项目统计信息",
"ColumnName": "总成本", "ColumnName": "总成本",
@@ -835,7 +234,7 @@
}, },
"TopCount": "1" "TopCount": "1"
}, },
"ID": "438b9541159f4e059c41ac6218483385" "ID": "9a0d206ca31946abb32fc405009a367a"
}, },
{ {
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
@@ -866,7 +265,7 @@
} }
} }
], ],
"ID": "acfa1b46-d4ae-4c29-9710-5f763a086dc8" "ID": "e56ce1ee-3c4f-477f-bd59-71f22e926d85"
}, },
{ {
"Condition": { "Condition": {
@@ -894,89 +293,13 @@
} }
} }
], ],
"ID": "a594f370-5692-4b8a-b2ba-e1e85469242a" "ID": "81d60b93-52d5-45a3-acc8-1a52d9537b88"
} }
] ]
} }
], ],
"Comments": "如果是更新项目,且改变了严格模式,那么就要校验。超标就不允许切换", "Comments": "如果是更新项目,且改变了严格模式,那么就要校验。超标就不允许切换",
"ID": "50fe9277-097f-4724-bf8e-3b345a0ab25c" "ID": "c40817c0-9e84-41b3-8e15-67e1393fb838"
}
]
},
{
"$type": "Forguncy.Model.ServerTransactionCommand, ServerDesignerCommon",
"CommandList": [
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=管理员"
}
},
"value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目信息.项目经理"
},
"compareType": 1
},
"CommandList": [
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "项目成员表",
"ShowConfirm": false,
"RowsToUpdate": 1,
"RowsToUpdateCondition": {
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SubConditions": [
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "项目成员表",
"ColumnName": "项目ID",
"GUID": "db0befa6-0885-460f-b25a-6e9f19a8037f"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=ID"
}
},
{
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "项目成员表",
"ColumnName": "项目成员",
"GUID": "7b89d50e-7e26-4adc-8edf-1df1056507ec"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目信息.项目经理"
}
}
]
},
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "项目成员表",
"ColumnName": "项目成员",
"GUID": "f1858360-ae53-4066-9519-b532e9626890"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目经理信息.用户名"
}
}
]
}
],
"ID": "f07132ba-3ef7-4560-982f-263579eb2f6b"
} }
] ]
}, },
@@ -1002,7 +325,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "项目表", "TableName": "项目表",
"ColumnName": "项目名称", "ColumnName": "项目名称",
"GUID": "7ddc40d8-7955-4e89-8690-1b46e11ece27" "GUID": "c98a0226-00eb-4ab4-8390-97ee923e5c29"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -1013,7 +336,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "项目表", "TableName": "项目表",
"ColumnName": "项目代号", "ColumnName": "项目代号",
"GUID": "1e4059c5-b185-494e-aa18-195aa0c5f204" "GUID": "b3e08060-71e1-4450-b99e-a2fdabb1ae8e"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -1024,7 +347,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "项目表", "TableName": "项目表",
"ColumnName": "项目简介", "ColumnName": "项目简介",
"GUID": "b1338e5a-9521-415f-94b9-6c1a9abcbc1f" "GUID": "36d6a0fb-1012-41c4-b873-bf49b3ad518b"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -1035,7 +358,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "项目表", "TableName": "项目表",
"ColumnName": "项目封面", "ColumnName": "项目封面",
"GUID": "184d4581-59a7-4d22-abca-5268afd76020" "GUID": "39d31d57-02a9-4d61-8169-105602a03c42"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -1046,7 +369,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "项目表", "TableName": "项目表",
"ColumnName": "项目经理", "ColumnName": "项目经理",
"GUID": "7563f455-296b-40e2-a822-c96d0139d20a" "GUID": "6435ad2c-7b52-43d9-8779-d980b297b148"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -1057,7 +380,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "项目表", "TableName": "项目表",
"ColumnName": "项目分组", "ColumnName": "项目分组",
"GUID": "0f0b8862-a1d4-48ff-a166-122dd7e802f4" "GUID": "85789292-7b6f-43c4-959c-5ce07acbbdfd"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -1068,7 +391,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "项目表", "TableName": "项目表",
"ColumnName": "所属客户", "ColumnName": "所属客户",
"GUID": "05f27db9-9934-4353-91bb-333205cbc63d" "GUID": "dd1418ee-7dba-48c5-b00b-4705e031ad21"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -1079,7 +402,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "项目表", "TableName": "项目表",
"ColumnName": "所属客户部门", "ColumnName": "所属客户部门",
"GUID": "7ff393d2-d6bb-49f9-9ff1-2363796f8cb3" "GUID": "eae8417b-5d85-464a-b473-d22862357628"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -1090,7 +413,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "项目表", "TableName": "项目表",
"ColumnName": "公开", "ColumnName": "公开",
"GUID": "610eb519-4062-4d06-948f-c2d9bc2f18b4" "GUID": "c1032e78-c942-4e4d-bda5-bc05676cd905"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -1101,7 +424,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "项目表", "TableName": "项目表",
"ColumnName": "严格模式", "ColumnName": "严格模式",
"GUID": "b87efa95-efd1-4a6d-81dc-b7933d759b86" "GUID": "dddd0103-b52f-4198-b4c1-7b12e734a891"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -1112,7 +435,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "项目表", "TableName": "项目表",
"ColumnName": "计划开始日期", "ColumnName": "计划开始日期",
"GUID": "2c510e3d-e6f7-460f-9ae5-bd1ce61ea0c9" "GUID": "394fd86a-c79f-4a59-b6c9-3d2d6961fbd9"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -1123,7 +446,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "项目表", "TableName": "项目表",
"ColumnName": "计划完成日期", "ColumnName": "计划完成日期",
"GUID": "70671e09-1c83-4574-909f-97145bc9463c" "GUID": "fdc25fd4-3082-4b58-947f-fe3ed9e112ad"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -1134,7 +457,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "项目表", "TableName": "项目表",
"ColumnName": "项目方案", "ColumnName": "项目方案",
"GUID": "cefa0f72-e7fd-4a47-9209-cef16d1c42fc" "GUID": "919fcde7-c5d4-41fc-964b-0f56d0706949"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -1145,7 +468,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "项目表", "TableName": "项目表",
"ColumnName": "预算方案", "ColumnName": "预算方案",
"GUID": "83e17ee8-346d-49a4-98d7-bbe61738e4a1" "GUID": "c8cd7641-43bd-4e30-bdf5-cd452e2046ac"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -1156,7 +479,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "项目表", "TableName": "项目表",
"ColumnName": "网络资源", "ColumnName": "网络资源",
"GUID": "9337a4fb-1f99-418f-b744-1fa49ebb0f43" "GUID": "a6c22966-f8d7-4cfc-b4ac-f5fd2c484ea8"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -1167,7 +490,7 @@
"BindingInfo": { "BindingInfo": {
"TableName": "项目表", "TableName": "项目表",
"ColumnName": "开启反馈收集", "ColumnName": "开启反馈收集",
"GUID": "5c21d73b-7c99-498c-97d5-8daa01016645" "GUID": "b02c470f-2386-4d53-b21f-65641e6c5740"
}, },
"Value": { "Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
@@ -1175,19 +498,12 @@
} }
} }
] ]
}
]
}, },
{ {
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0", "ErrorCode": "0",
"Message": "更新项目成功" "Message": "更新项目成功"
} }
],
"ID": "94efdee4-bfa4-42b2-8235-9c3219942dc8"
}
]
}
] ]
}, },
"CatchCommandPart": { "CatchCommandPart": {

File diff suppressed because one or more lines are too long