{"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:
208
.collaboration
208
.collaboration
@@ -527,21 +527,7 @@
|
||||
},
|
||||
{
|
||||
"ModuleName": "PCPage/项目列表",
|
||||
"State": 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"
|
||||
]
|
||||
"ModuleType": 1
|
||||
},
|
||||
{
|
||||
"ModuleName": "PCPage/项目成员详情",
|
||||
@@ -655,17 +641,7 @@
|
||||
},
|
||||
{
|
||||
"ModuleName": "PCPage/项目信息",
|
||||
"State": 1,
|
||||
"LockedBy": {
|
||||
"UserName": "超哥",
|
||||
"Email": "phoben@qq.com"
|
||||
},
|
||||
"LockDateTime": "2024-06-19T12:24:57.8250143+08:00",
|
||||
"ModuleType": 1,
|
||||
"ToRemoveFiles": [
|
||||
"Pages\\项目\\项目首页\\项目配置\\项目信息.json",
|
||||
"Pages\\项目\\项目首页\\项目配置\\项目信息.rd"
|
||||
]
|
||||
"ModuleType": 1
|
||||
},
|
||||
{
|
||||
"ModuleName": "PCPage/项目岗位配置",
|
||||
@@ -673,17 +649,7 @@
|
||||
},
|
||||
{
|
||||
"ModuleName": "PCPage/项目审批",
|
||||
"State": 4,
|
||||
"LockedBy": {
|
||||
"UserName": "超哥",
|
||||
"Email": "phoben@qq.com"
|
||||
},
|
||||
"LockDateTime": "2024-06-19T13:57:36.2514713+08:00",
|
||||
"ModuleType": 1,
|
||||
"ToRemoveFiles": [
|
||||
"Pages\\项目\\项目首页\\项目配置\\项目审批.json",
|
||||
"Pages\\项目\\项目首页\\项目配置\\项目审批.rd"
|
||||
]
|
||||
"ModuleType": 1
|
||||
},
|
||||
{
|
||||
"ModuleName": "Pages/项目/项目首页/预算申请",
|
||||
@@ -1091,16 +1057,7 @@
|
||||
},
|
||||
{
|
||||
"ModuleName": "ServerCommand/新增或修改项目",
|
||||
"State": 1,
|
||||
"LockedBy": {
|
||||
"UserName": "超哥",
|
||||
"Email": "phoben@qq.com"
|
||||
},
|
||||
"LockDateTime": "2024-06-19T12:54:23.5525662+08:00",
|
||||
"ModuleType": 15,
|
||||
"ToRemoveFiles": [
|
||||
"ServerCommands\\项目\\新增或修改项目.json"
|
||||
]
|
||||
"ModuleType": 15
|
||||
},
|
||||
{
|
||||
"ModuleName": "ServerCommand/移除项目成员",
|
||||
@@ -1202,20 +1159,6 @@
|
||||
"ModuleName": "RdlReport/工时报表",
|
||||
"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/预算申请",
|
||||
"ModuleType": 28
|
||||
@@ -1234,34 +1177,11 @@
|
||||
},
|
||||
{
|
||||
"ModuleName": "ApplicationSetting",
|
||||
"State": 1,
|
||||
"LockedBy": {
|
||||
"UserName": "超哥",
|
||||
"Email": "phoben@qq.com"
|
||||
},
|
||||
"LockDateTime": "2024-06-19T12:14:03.8008634+08:00",
|
||||
"ModuleType": 8,
|
||||
"ToRemoveFiles": [
|
||||
"ApplicationSettings.json",
|
||||
"favicon.ico"
|
||||
]
|
||||
"ModuleType": 8
|
||||
},
|
||||
{
|
||||
"ModuleName": "Theme",
|
||||
"State": 1,
|
||||
"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"
|
||||
]
|
||||
"ModuleType": 9
|
||||
},
|
||||
{
|
||||
"ModuleName": "image/内置图片",
|
||||
@@ -1620,46 +1540,7 @@
|
||||
},
|
||||
{
|
||||
"ModuleName": "Plugin",
|
||||
"State": 1,
|
||||
"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"
|
||||
]
|
||||
"ModuleType": 40
|
||||
},
|
||||
{
|
||||
"ModuleName": "PublishSetting",
|
||||
@@ -2095,45 +1976,6 @@
|
||||
"ModuleName": "PCPage/富文本编辑器",
|
||||
"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/项目平行视图",
|
||||
"ModuleType": 23
|
||||
@@ -2268,62 +2110,26 @@
|
||||
},
|
||||
{
|
||||
"ModuleName": "ProcessItem/项目立项流程",
|
||||
"State": 3,
|
||||
"LockedBy": {
|
||||
"UserName": "超哥",
|
||||
"Email": "phoben@qq.com"
|
||||
},
|
||||
"LockDateTime": "2024-06-19T12:54:23.5519513+08:00",
|
||||
"ModuleType": 28
|
||||
},
|
||||
{
|
||||
"ModuleName": "PCPage/创建项目",
|
||||
"State": 3,
|
||||
"LockedBy": {
|
||||
"UserName": "超哥",
|
||||
"Email": "phoben@qq.com"
|
||||
},
|
||||
"LockDateTime": "2024-06-19T12:55:47.5226672+08:00",
|
||||
"ModuleType": 1
|
||||
},
|
||||
{
|
||||
"ModuleName": "ServerCommand/创建项目校验",
|
||||
"State": 3,
|
||||
"LockedBy": {
|
||||
"UserName": "超哥",
|
||||
"Email": "phoben@qq.com"
|
||||
},
|
||||
"LockDateTime": "2024-06-19T13:01:06.1527728+08:00",
|
||||
"ModuleType": 15
|
||||
},
|
||||
{
|
||||
"ModuleName": "ServerCommandPrivate/填充项目初始化数据",
|
||||
"State": 3,
|
||||
"LockedBy": {
|
||||
"UserName": "超哥",
|
||||
"Email": "phoben@qq.com"
|
||||
},
|
||||
"LockDateTime": "2024-06-19T13:18:11.1291715+08:00",
|
||||
"ModuleType": 27
|
||||
},
|
||||
{
|
||||
"ModuleName": "TaskScheduler/项目表新增事件",
|
||||
"State": 3,
|
||||
"LockedBy": {
|
||||
"UserName": "超哥",
|
||||
"Email": "phoben@qq.com"
|
||||
},
|
||||
"LockDateTime": "2024-06-19T13:21:57.4641861+08:00",
|
||||
"ModuleType": 16
|
||||
},
|
||||
{
|
||||
"ModuleName": "Pages/项目/项目流程页面",
|
||||
"State": 3,
|
||||
"LockedBy": {
|
||||
"UserName": "超哥",
|
||||
"Email": "phoben@qq.com"
|
||||
},
|
||||
"LockDateTime": "2024-06-19T13:29:55.3723837+08:00",
|
||||
"ModuleType": 6
|
||||
}
|
||||
]
|
||||
@@ -28,6 +28,10 @@
|
||||
"StartDateFiscalYear": 1,
|
||||
"BaseOnStartingMonth": true,
|
||||
"ProcessUserInfoDisplayMode": 1,
|
||||
"SuppressedWarningMessages": [
|
||||
"项目首页->页面容器(A2), 页面容器没有设置子页面",
|
||||
"数据表, 有部分连接到外部数据库的数据表没有检查过连接状态,如果无法连接到数据库可能会导致数据无法在页面上显示。如需确认数据库的连接状态,请点击数据表右键菜单里的“刷新”"
|
||||
],
|
||||
"SyncUserInfoCacheForBuiltInView": false,
|
||||
"MultipleLanguageSettings": {
|
||||
"Languages": [
|
||||
|
||||
@@ -404,119 +404,93 @@
|
||||
"IsOldMenuPath": false,
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ShowPopupCommand, ServerDesignerCommon",
|
||||
"PopupDisplayMode": 3,
|
||||
"DrawerDirection": 3,
|
||||
"ShowDrawerHeader": true,
|
||||
"ClosePopupCallbackCommand": {
|
||||
"Commands": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||||
"ConditionAndCommandPairList": [
|
||||
{
|
||||
"Condition": {
|
||||
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
|
||||
"SubConditions": [
|
||||
{
|
||||
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
||||
"param": {
|
||||
"$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon",
|
||||
"cellLocations": [
|
||||
{
|
||||
"SerializeProperty": "=是否为确定"
|
||||
}
|
||||
]
|
||||
},
|
||||
"value": "1"
|
||||
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
|
||||
"ParameterName": "当前用户",
|
||||
"ParameterValue": "%CurrentUser%",
|
||||
"ID": "0dba67a93c894f1f8067258fb2a58abb"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ProcessStartCommand, ServerDesignerCommon",
|
||||
"ProcessDefinitionResourceName": "项目立项流程",
|
||||
"ProcessInstanceName": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目列表!当前用户&\"提交的项目立项申请\""
|
||||
},
|
||||
"ReturnResultName": "发起流程结果"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||||
"ConditionAndCommandPairList": [
|
||||
{
|
||||
"Condition": {
|
||||
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
||||
"param": {
|
||||
"$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon",
|
||||
"cellLocations": [
|
||||
{
|
||||
"SerializeProperty": "=发起流程结果.ID"
|
||||
}
|
||||
]
|
||||
},
|
||||
"value": "%Null%",
|
||||
"compareType": 1
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||||
"ConditionAndCommandPairList": [
|
||||
{
|
||||
"Condition": {
|
||||
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
||||
"param": {
|
||||
"$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon",
|
||||
"cellLocations": [
|
||||
{
|
||||
"SerializeProperty": "=发起流程结果.TaskExists"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"$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%",
|
||||
"compareType": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "ElementUI.Commands.ShowMessageBox, ElementUI",
|
||||
"Title": "初始化",
|
||||
"Message": "是否立即配置项目人员",
|
||||
"Type": "info",
|
||||
"ConfirmButtonText": "确定",
|
||||
"ShowCancelButton": true,
|
||||
"CancelButtonText": "取消",
|
||||
"ShowClose": false,
|
||||
"DialogResult": "按钮结果",
|
||||
"AdvancedSettings": {}
|
||||
"value": "1"
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||||
"ConditionAndCommandPairList": [
|
||||
{
|
||||
"Condition": {
|
||||
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
||||
"param": {
|
||||
"$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon",
|
||||
"cellLocations": [
|
||||
{
|
||||
"SerializeProperty": "=按钮结果"
|
||||
}
|
||||
]
|
||||
},
|
||||
"value": "confirm"
|
||||
},
|
||||
"CommandList": [
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ShowPopupCommand, ServerDesignerCommon",
|
||||
"DrawerDirection": 3,
|
||||
"ShowDrawerHeader": true,
|
||||
"ClosePopupCallbackCommand": {
|
||||
"Commands": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ShowPopupCommand, ServerDesignerCommon",
|
||||
"PageName": "项目首页",
|
||||
"PassValues": [
|
||||
{
|
||||
"Source": "项目成员",
|
||||
"TargetCell": {
|
||||
"SerializeProperty": "=项目首页!项目首页导航栏"
|
||||
}
|
||||
"$type": "Forguncy.Model.UpdateListviewCommand, ServerDesignerCommon",
|
||||
"ListviewName": "项目分组图文列表",
|
||||
"UpdateType": 6,
|
||||
"UpdateListviewCommandRunTimeMethodSetting": {
|
||||
"MethodName": "Reload",
|
||||
"ParameterValues": {
|
||||
"clearFilter": false,
|
||||
"clearSort": false,
|
||||
"clearRuntimeQueryConditions": false
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
],
|
||||
"ID": "c0477bea-2b08-464e-a7b0-e270a5d31786"
|
||||
"ParamProperties": {
|
||||
"IsOK": "是否为确定"
|
||||
}
|
||||
},
|
||||
"ValueFormula": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=项目列表!发起流程结果.Page"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "7955aa8a-c06d-4f75-af03-50ffa76a9305"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ParamProperties": {
|
||||
"IsOK": "是否为确定",
|
||||
"项目ID": "项目ID",
|
||||
"类型": "类型"
|
||||
}
|
||||
],
|
||||
"ID": "635727e3-a969-40bf-8833-042f29922657"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "321bef2e-7b22-49cb-a855-d198fee975e3"
|
||||
}
|
||||
},
|
||||
"PageName": "项目信息",
|
||||
"LoadBindingDataOption": 2
|
||||
]
|
||||
}
|
||||
],
|
||||
"CanVisitRoleList": [
|
||||
@@ -1696,4 +1670,4 @@
|
||||
"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
|
||||
2352
Pages/项目/项目流程页面/创建项目.json
Normal file
2352
Pages/项目/项目流程页面/创建项目.json
Normal file
File diff suppressed because it is too large
Load Diff
15
Pages/项目/项目流程页面/创建项目.rd
Normal file
15
Pages/项目/项目流程页面/创建项目.rd
Normal 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"
|
||||
}
|
||||
]
|
||||
}
|
||||
1875
Pages/项目/项目流程页面/项目审批.json
Normal file
1875
Pages/项目/项目流程页面/项目审批.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -4,5 +4,11 @@
|
||||
"RowCount": 20,
|
||||
"Formulas": {
|
||||
"1,33": "IF(C20,H20,G20)"
|
||||
}
|
||||
},
|
||||
"CustomNames": [
|
||||
{
|
||||
"Name": "项目ID",
|
||||
"Formula": "项目审批!$I$20"
|
||||
}
|
||||
]
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,15 +1,15 @@
|
||||
{
|
||||
"PageType": 0,
|
||||
"ColumnCount": 22,
|
||||
"RowCount": 37,
|
||||
"RowCount": 36,
|
||||
"Formulas": {
|
||||
"10,15": "DATEDIF(E37,I37,\"d\")",
|
||||
"10,1": "TEXT(E37,\"yyyy-mm-dd\")&\",\"&TEXT(I37,\"yyyy-mm-dd\")"
|
||||
"12,15": "DATEDIF(E36,I36,\"d\")",
|
||||
"12,1": "TEXT(E36,\"yyyy-mm-dd\")&\",\"&TEXT(I36,\"yyyy-mm-dd\")"
|
||||
},
|
||||
"CustomNames": [
|
||||
{
|
||||
"Name": "项目ID",
|
||||
"Formula": "项目信息!$B$37"
|
||||
"Formula": "项目信息!$B$36"
|
||||
}
|
||||
]
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
BIN
Plugin/裁剪并上传图片-9_0_102_0.zip
Normal file
BIN
Plugin/裁剪并上传图片-9_0_102_0.zip
Normal file
Binary file not shown.
@@ -4,7 +4,7 @@
|
||||
<process id="_f9fc28f7-09f7-46bc-a48e-f889c5ee7879" name="项目立项申请" isExecutable="true">
|
||||
<documentation>用于项目的立项申请审批</documentation>
|
||||
<extensionElements>
|
||||
<fgc:ForguncyExtension Properties="{"description":null,"page":"项目审批","tables":["项目表"],"variableSetting":{"variables":[]},"eventSetting":{"eventHandlers":[{"id":"0","event":100,"comment":null,"commands":[],"index":null},{"id":"1","event":101,"comment":null,"commands":[{"$type":"ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition, ServerDesignerCommon","serverCommandName":"修改项目状态","isAsync":false,"inputParams":[{"key":"项目ID","value":{"valueType":2,"fixedValue":null,"tableFieldValue":{"TableName":"项目表","ColumnName":"ID","GUID":"635c536a-d1a2-4fd2-a0f7-53a5e7189de3","AttachType":null,"RelationBinding":null,"AggregateBindingInfo":null}}},{"key":"状态码","value":{"valueType":1,"fixedValue":"2","tableFieldValue":null}}],"returnCodeTo":"","returnMessageTo":"","returnPropertiesTo":[],"$fgc_java_type":"com.grapecity.forguncy.service.command.impl.callserver.CallServerCommandDefinition","$fgc_csharp_type":"ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition","id":"1709614677003-20e96939","enable":true,"comment":null}],"index":null},{"id":"2","event":102,"comment":null,"commands":[],"index":null}]},"timeoutSetting":{"deadlines":[]},"relationSetting":{"processInstanceIdFields":[{"TableName":"项目表","ColumnName":"立项流程示例ID","GUID":"fec07633-c41c-45c5-9991-057e88566137","AttachType":null,"RelationBinding":null,"AggregateBindingInfo":null}]},"comment":null,"fgcBpmnGuid":"ddc8f52f-d56b-4dec-af01-5cec98faaa2c"}" />
|
||||
<fgc:ForguncyExtension Properties="{"description":null,"page":"项目信息","tables":["项目表"],"variableSetting":{"variables":[]},"eventSetting":{"eventHandlers":[{"id":"0","event":100,"comment":null,"commands":[],"index":null},{"id":"1","event":101,"comment":null,"commands":[{"$type":"ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition, ServerDesignerCommon","serverCommandName":"修改项目状态","isAsync":false,"inputParams":[{"key":"项目ID","value":{"valueType":2,"fixedValue":null,"tableFieldValue":{"TableName":"项目表","ColumnName":"ID","GUID":"635c536a-d1a2-4fd2-a0f7-53a5e7189de3","AttachType":null,"RelationBinding":null,"AggregateBindingInfo":null}}},{"key":"状态码","value":{"valueType":1,"fixedValue":"2","tableFieldValue":null}}],"returnCodeTo":"","returnMessageTo":"","returnPropertiesTo":[],"$fgc_java_type":"com.grapecity.forguncy.service.command.impl.callserver.CallServerCommandDefinition","$fgc_csharp_type":"ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition","id":"1709614677003-20e96939","enable":true,"comment":null}],"index":null},{"id":"2","event":102,"comment":null,"commands":[{"$type":"ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition, ServerDesignerCommon","serverCommandName":"修改项目状态","isAsync":false,"inputParams":[{"key":"项目ID","value":{"valueType":2,"fixedValue":null,"tableFieldValue":{"TableName":"项目表","ColumnName":"ID","GUID":"635c536a-d1a2-4fd2-a0f7-53a5e7189de3","AttachType":null,"RelationBinding":null,"AggregateBindingInfo":null}}},{"key":"状态码","value":{"valueType":1,"fixedValue":"4","tableFieldValue":null}}],"returnCodeTo":"","returnMessageTo":"","returnPropertiesTo":[],"$fgc_java_type":"com.grapecity.forguncy.service.command.impl.callserver.CallServerCommandDefinition","$fgc_csharp_type":"ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition","id":"1718774884967-75e0db98_0","enable":true,"comment":null}],"index":null}]},"timeoutSetting":{"deadlines":[]},"relationSetting":{"processInstanceIdFields":[{"TableName":"项目表","ColumnName":"立项流程示例ID","GUID":"fec07633-c41c-45c5-9991-057e88566137","AttachType":null,"RelationBinding":null,"AggregateBindingInfo":null}]},"comment":null,"fgcBpmnGuid":"02ee4868-7458-4873-8cee-9ee6eeadbc4c"}" />
|
||||
</extensionElements>
|
||||
<startEvent id="_f08335ab-b838-4a55-8421-200f30047003" name="开始">
|
||||
<extensionElements>
|
||||
@@ -12,14 +12,14 @@
|
||||
</extensionElements>
|
||||
<outgoing>Flow_1m23z42</outgoing>
|
||||
</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>
|
||||
<fgc:ForguncyExtension Properties="{"generalSetting":{"page":"项目审批","tables":["项目表"],"actions":[{"key":"0","type":100,"enable":true,"remarks":[{"key":1,"enable":true,"required":false},{"key":2,"enable":false,"required":false}],"title":"同意立项","commitOption":{"autoSave":true}},{"type":300,"key":"1718539289443-380b793d","enable":true,"title":"回退","remarks":[{"key":1,"enable":true,"required":true},{"key":2,"enable":false,"required":false}],"commitOption":{"autoSave":false},"rollbackOption":{"type":1}},{"key":"1644290578551-fb1cce84","type":200,"enable":true,"remarks":[{"key":1,"enable":true,"required":true},{"key":2,"enable":false,"required":false}],"title":"拒绝","terminateOption":{"type":2}}]},"userSetting":{"assigneeSettings":[{"key":"1709614946145-d4008ffd","type":2,"value":{"valueType":1,"fixedValue":"项目总监"},"enable":true}],"assigneeTarget":2,"isMultiple":true,"isCountersign":false,"isSequential":false,"autoCommitStrategies":[{"status":1,"enable":false},{"status":2,"enable":true},{"status":3,"enable":false}],"nobodyAssignStrategy":{"status":1}},"dataSetting":{"tablePermissions":[]},"timeoutSetting":{"deadlines":[]},"eventSetting":{"eventHandlers":[{"id":"0","enable":true,"event":400,"commands":[{"enable":true,"id":"1709614651297-a52d85bf","$fgc_java_type":"com.grapecity.forguncy.service.command.impl.callserver.CallServerCommandDefinition","$fgc_csharp_type":"ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition","returnCodeTo":"","returnMessageTo":"","inputParams":[{"key":"项目ID","value":{"valueType":2,"tableFieldValue":{"$type":"ForguncyDataAccess.BindingInfo, ForguncyDataAccess","TableName":"项目表","ColumnName":"ID"}}},{"key":"状态码","value":{"valueType":1,"fixedValue":"1"}}],"returnPropertiesTo":[],"serverCommandName":"修改项目状态","isAsync":true}]},{"id":"1","enable":true,"event":300,"commands":[]},{"id":"2","enable":true,"event":302,"commands":[]}]},"variableSetting":{"variables":[]}}" />
|
||||
<fgc:ForguncyExtension Properties="{"generalSetting":{"page":"项目审批","tables":["项目表"],"actions":[{"key":"0","type":100,"enable":true,"remarks":[{"key":1,"enable":true,"required":false},{"key":2,"enable":false,"required":false}],"title":"同意","commitOption":{"autoSave":true}},{"type":300,"key":"1718539289443-380b793d","enable":true,"title":"回退","remarks":[{"key":1,"enable":true,"required":true},{"key":2,"enable":false,"required":false}],"commitOption":{"autoSave":false},"rollbackOption":{"type":1}},{"key":"1644290578551-fb1cce84","type":200,"enable":true,"remarks":[{"key":1,"enable":true,"required":true},{"key":2,"enable":false,"required":false}],"title":"结束","terminateOption":{"type":2}}]},"userSetting":{"assigneeSettings":[{"key":"1709614946145-d4008ffd","type":2,"value":{"valueType":1,"fixedValue":"项目总监"},"enable":true},{"key":"1718774820054-33488ab9","type":1,"value":{"valueType":2,"tableFieldValue":{"$type":"ForguncyDataAccess.BindingInfo, ForguncyDataAccess","TableName":"项目表","ColumnName":"所属客户部门","RelationBinding":{"$type":"ForguncyDataAccess.RelationBinding, ForguncyDataAccess","RelatedTable":"客户部门表","RelatedColumn":"ID","DisplayColumn":"对接人"}}},"enable":true}],"assigneeTarget":2,"isMultiple":true,"isCountersign":true,"isSequential":false,"autoCommitStrategies":[{"status":1,"enable":false},{"status":2,"enable":true},{"status":3,"enable":false}],"nobodyAssignStrategy":{"status":1}},"dataSetting":{"tablePermissions":[]},"timeoutSetting":{"deadlines":[]},"eventSetting":{"eventHandlers":[{"id":"0","enable":true,"event":400,"commands":[{"enable":true,"id":"1709614651297-a52d85bf","$fgc_java_type":"com.grapecity.forguncy.service.command.impl.callserver.CallServerCommandDefinition","$fgc_csharp_type":"ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition","returnCodeTo":"","returnMessageTo":"","inputParams":[{"key":"项目ID","value":{"valueType":2,"tableFieldValue":{"$type":"ForguncyDataAccess.BindingInfo, ForguncyDataAccess","TableName":"项目表","ColumnName":"ID"}}},{"key":"状态码","value":{"valueType":1,"fixedValue":"1"}}],"returnPropertiesTo":[],"serverCommandName":"修改项目状态","isAsync":true}]},{"id":"1","enable":true,"event":300,"commands":[]},{"id":"2","enable":true,"event":302,"commands":[]}]},"variableSetting":{"variables":[]}}" />
|
||||
</extensionElements>
|
||||
<incoming>Flow_0cq5pfu</incoming>
|
||||
<outgoing>_8c854f9d-40d8-4aed-acb1-6778e09b2e08</outgoing>
|
||||
<multiInstanceLoopCharacteristics activiti:collection="${userTaskResolver.getCollection(execution)}" activiti:elementVariable="FGC_activitiAssignee">
|
||||
<completionCondition>${nrOfCompletedInstances > 0}</completionCondition>
|
||||
<completionCondition>${nrOfCompletedInstances/nrOfInstances == 1}</completionCondition>
|
||||
</multiInstanceLoopCharacteristics>
|
||||
</userTask>
|
||||
<endEvent id="_3392ccdd-ae91-44fa-b2ee-f744284c12b0" name="结束">
|
||||
@@ -40,7 +40,7 @@
|
||||
</sequenceFlow>
|
||||
<userTask id="Activity_128hlps" name="创建项目" activiti:formKey="${formKeyResolver.getFormKey(execution)}" activiti:assignee="${FGC_activitiAssignee}">
|
||||
<extensionElements>
|
||||
<fgc:ForguncyExtension Properties="{"generalSetting":{"page":"项目审批","tables":["项目表"],"actions":[{"key":"100","type":100,"enable":true,"title":"提交","remarks":[{"key":1,"enable":true,"required":false},{"key":2,"enable":false,"required":false}],"commitOption":{"autoSave":true}}]},"userSetting":{"assigneeSettings":[{"key":"1718537558155-58d82bab","type":1,"value":{"valueType":2,"tableFieldValue":{"$type":"ForguncyDataAccess.BindingInfo, ForguncyDataAccess","TableName":"项目表","ColumnName":"项目经理"}},"enable":true}],"assigneeTarget":2,"isMultiple":true,"isCountersign":false,"isSequential":false,"autoCommitStrategies":[{"status":1,"enable":false},{"status":2,"enable":false},{"status":3,"enable":false}],"nobodyAssignStrategy":{"status":1}},"dataSetting":{"tablePermissions":[]},"timeoutSetting":{"deadlines":[]},"eventSetting":{"eventHandlers":[{"id":"0","enable":true,"event":400,"commands":[]},{"id":"1","enable":true,"event":300,"commands":[]},{"id":"2","enable":true,"event":302,"commands":[]}]},"variableSetting":{"variables":[]}}" />
|
||||
<fgc:ForguncyExtension Properties="{"generalSetting":{"page":"项目审批","tables":["项目表"],"actions":[{"key":"100","type":100,"enable":true,"title":"提交","remarks":[{"key":1,"enable":true,"required":false},{"key":2,"enable":false,"required":false}],"commitOption":{"autoSave":true}},{"type":1000,"key":"1718772912849-d40e3406","enable":true,"title":"暂存","remarks":[]},{"type":200,"key":"1718772884950-960cfaa1","enable":true,"title":"结束","remarks":[{"key":1,"enable":true,"required":false},{"key":2,"enable":false,"required":false}],"terminateOption":{"type":2}}]},"userSetting":{"assigneeSettings":[{"key":"1718537558155-58d82bab","type":1,"value":{"valueType":1,"fixedValue":"%Process.Starter%"},"enable":true}],"assigneeTarget":2,"isMultiple":true,"isCountersign":false,"isSequential":false,"autoCommitStrategies":[{"status":1,"enable":false},{"status":2,"enable":false},{"status":3,"enable":false}],"nobodyAssignStrategy":{"status":1}},"dataSetting":{"tablePermissions":[]},"timeoutSetting":{"deadlines":[]},"eventSetting":{"eventHandlers":[{"id":"0","enable":true,"event":400,"commands":[{"$type":"ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition, ServerDesignerCommon","serverCommandName":"修改项目状态","isAsync":false,"inputParams":[{"key":"项目ID","value":{"valueType":2,"tableFieldValue":{"TableName":"项目表","ColumnName":"ID","GUID":"635c536a-d1a2-4fd2-a0f7-53a5e7189de3"}}},{"key":"状态码","value":{"valueType":1,"fixedValue":"0"}}],"returnCodeTo":"","returnMessageTo":"","returnPropertiesTo":[],"$fgc_java_type":"com.grapecity.forguncy.service.command.impl.callserver.CallServerCommandDefinition","$fgc_csharp_type":"ServerDesignerCommon.ProcessEngine.ExtensionModel.CallServerCommandDefinition","id":"1718774862391-9043cbca_0","enable":true}]},{"id":"1","enable":true,"event":300,"commands":[]},{"id":"2","enable":true,"event":302,"commands":[]}]},"variableSetting":{"variables":[]}}" />
|
||||
</extensionElements>
|
||||
<incoming>Flow_1m23z42</incoming>
|
||||
<outgoing>Flow_0cq5pfu</outgoing>
|
||||
@@ -68,8 +68,15 @@
|
||||
<di:waypoint x="530" y="20" />
|
||||
<di:waypoint x="650" y="20" />
|
||||
</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">
|
||||
<Bounds xmlns="http://www.omg.org/spec/DD/20100524/DC" x="410" y="0" width="120" height="40" />
|
||||
<BPMNLabel />
|
||||
</BPMNShape>
|
||||
<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" />
|
||||
@@ -77,12 +84,6 @@
|
||||
<dc:Bounds x="657" y="47" width="27" height="16" />
|
||||
</BPMNLabel>
|
||||
</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">
|
||||
<dc:Bounds x="190" y="0" width="120" height="40" />
|
||||
<BPMNLabel />
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"Name": "立项流程",
|
||||
"Name": "项目立项流程",
|
||||
"PermissionData": {
|
||||
"$type": "Forguncy.RbacPermission.Core.Impl.BpmProcess.BpmProcessPermissionData, Forguncy.RbacPermission.Core",
|
||||
"permissionResource": {
|
||||
@@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"Name": "项目成员新增事件",
|
||||
"Name": "项目表新增事件",
|
||||
"Enabled": true,
|
||||
"Triggers": [
|
||||
{
|
||||
@@ -10,26 +10,43 @@
|
||||
"OperatorParamName": "操作人",
|
||||
"OperationTimeParamName": "操作时间",
|
||||
"SelectTables": [
|
||||
"项目成员表"
|
||||
"项目表"
|
||||
]
|
||||
}
|
||||
],
|
||||
"Commands": [
|
||||
{
|
||||
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
|
||||
"ServerCommandName": "同步项目参与人列表",
|
||||
"ServerCommandName": "填充项目初始化数据",
|
||||
"Parameters": [
|
||||
{
|
||||
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
|
||||
"ParamName": "项目ID",
|
||||
"ParamName": "ID",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=主键.ID"
|
||||
}
|
||||
}
|
||||
],
|
||||
"ResultErrorCodeTo": {
|
||||
"SerializeProperty": "code"
|
||||
},
|
||||
"ResultMessageTo": {
|
||||
"SerializeProperty": "msg"
|
||||
},
|
||||
"RefreshAfterFinish": true,
|
||||
"CheckDataValidation": true
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
|
||||
"ErrorCode": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=code"
|
||||
},
|
||||
"Message": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=msg"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
539
ServerCommands/项目/创建项目校验.json
Normal file
539
ServerCommands/项目/创建项目校验.json
Normal 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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -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": "同步完成"
|
||||
}
|
||||
]
|
||||
}
|
||||
939
ServerCommands/项目/填充项目初始化数据.json
Normal file
939
ServerCommands/项目/填充项目初始化数据.json
Normal 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"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user