Files
clue/ServerCommands/项目反馈/后端新增项目反馈.json
cuckooent 63dce96f74 {"Message":"1. 更新新增工时,增加从反馈导入并生成内容;\r\n2. 优化从Gitee导入内容,自动排版生成序号;","MessageType":2,"Modules":[{"State":1,"Type":23,"Name":"TableView/用户角色关系视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/组织级别视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/角色组织关系视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/组织信息视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/角色拥有权限视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/角色信息视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/用户信息视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/用户组织关系视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/角色分类关系视图","ExclusiveType":0},{"State":1,"Type":7,"Name":"Table/需求反馈登记表"},{"State":1,"Type":7,"Name":"Table/FGC_商品表","ExclusiveType":0},{"State":1,"Type":7,"Name":"Table/FGC_订单记录","ExclusiveType":0},{"State":1,"Type":7,"Name":"Table/FGC_订单明细表","ExclusiveType":0},{"State":1,"Type":7,"Name":"Table/message_test","ExclusiveType":0},{"State":1,"Type":1,"Name":"PCPage/处理反馈工单"},{"State":1,"Type":1,"Name":"PCPage/反馈与建议"},{"State":1,"Type":1,"Name":"PCPage/页面反馈录入"},{"State":1,"Type":1,"Name":"PCPage/新增报工"},{"State":1,"Type":1,"Name":"PCPage/任务-反馈"},{"State":1,"Type":1,"Name":"PCPage/项目反馈"},{"State":1,"Type":1,"Name":"PCPage/版本发布详情"},{"State":1,"Type":27,"Name":"ServerCommandPrivate/后端新增项目反馈"},{"State":1,"Type":15,"Name":"ServerCommand/匿名提交项目反馈"},{"State":1,"Type":26,"Name":"Upload"},{"State":1,"Type":1,"Name":"PCPage/导入反馈"},{"State":3,"Type":1,"Name":"PCPage/导入工时内容菜单"}],"Version":"v1"}
2024-09-04 11:17:37 +08:00

558 lines
21 KiB
JSON

{
"Name": "后端新增项目反馈",
"Enabled": true,
"Triggers": [
{
"$type": "Forguncy.SaveLoad.InvokeTriggerSaveData, ServerDesignerCommon",
"Parameters": [
{
"Name": "项目ID",
"DataValidationInfo": {
"IgnoreBlank": false
}
},
{
"Name": "关联任务",
"DataValidationInfo": {}
},
{
"Name": "反馈类型",
"DataValidationInfo": {
"IgnoreBlank": false
}
},
{
"Name": "标题",
"DataValidationInfo": {
"IgnoreBlank": false
}
},
{
"Name": "内容",
"DataValidationInfo": {
"IgnoreBlank": false
}
},
{
"Name": "提交人",
"DataValidationInfo": {
"IgnoreBlank": false
}
},
{
"Name": "联系方式",
"DataValidationInfo": {}
}
]
}
],
"Commands": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "项目",
"TableValue": {
"TableName": "项目表",
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "00aab768-e1a0-4710-b78f-0d105e2200bd",
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目名称",
"GUID": "3b20d1db-744b-44c1-b375-dc719c94b921"
},
"ColumnName": "项目名称"
},
{
"GUID": "ed7100a5-64b9-4972-9784-7dd9e2507bb0",
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目状态",
"GUID": "45cf9a96-af0b-4a77-9d49-11592ff04081"
},
"ColumnName": "项目状态"
},
{
"GUID": "7a908f6c-ebfa-442c-82f5-279ed3e93c0b",
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "项目经理",
"GUID": "875ee18b-d7a8-42be-a90e-df248c82d1d5"
},
"ColumnName": "项目经理"
},
{
"GUID": "2b622506-11dd-4489-8a28-fa5c2cf60e51",
"BindingInfo": {
"TableName": "项目表",
"ColumnName": "开启反馈收集",
"GUID": "dcd24bda-b2f8-443a-b3ab-6a63d9345551"
},
"ColumnName": "开启反馈收集"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "项目表",
"ColumnName": "ID",
"GUID": "1323a917-a55e-4703-b4cc-50ef88f8a2a6"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目ID"
}
},
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "4f329450e3454c82a3f4e885c4df66e7"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "反馈类型表",
"TableValue": {
"TableName": "反馈类型表",
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "f05cbe68-992d-4cb2-b9b4-0b97cbeef8e5",
"BindingInfo": {
"TableName": "反馈类型表",
"ColumnName": "反馈类型",
"GUID": "4cf4c557-2d13-47a3-880a-11a97e9bee6e"
},
"ColumnName": "反馈类型"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "反馈类型表",
"ColumnName": "ID",
"GUID": "25162896-537d-4f20-a57a-125d91133662"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=反馈类型"
}
},
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "474dc903edf4427983dc0c4f92c0c332"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "当前用户",
"ParameterValue": "%CurrentUser%",
"ID": "5841edd70613491daaa8f5e02731f9ba"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "任务",
"TableValue": {
"TableName": "任务表",
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "de97885b-14f6-406f-937b-97b79bd12768",
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "任务名称",
"GUID": "1c45b42c-aba6-44c7-ba53-0aaeedf6a9f6"
},
"ColumnName": "任务名称"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务表",
"ColumnName": "ID",
"GUID": "e4ac11fa-f908-499d-8b80-fac491d9bd25"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=关联任务"
}
},
"NullFormulaValueQueryPolicy": 0,
"TopCount": "1"
},
"ID": "d7bef5f0274f4a349218203ef1a2dc7c"
},
{
"$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.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "获取任务描述",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务.任务名称"
},
"ID": "65851cf1cc2c4aea8f0bffa89bc51c81"
}
],
"ID": "c5fac691-27dd-4495-9b41-69077f34573f"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "获取任务描述",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=功能"
},
"ID": "241b7726859442948ac5735d8e62f67b"
}
],
"ID": "20eb0b80-e5db-48e6-9d8e-db1d2308a143"
}
]
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SubConditions": [
{
"$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",
"LeftBracket": 1
},
{
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目.项目状态"
}
},
"value": "2",
"RightBracket": 1
}
],
"RelationType": 1
},
{
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon",
"ParamObject": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目.开启反馈收集"
}
},
"value": "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.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "任务",
"TableValue": {
"TableName": "任务表",
"TableValueType": 1,
"BindingInfos": [
{
"GUID": "e3ecae0f-5c8b-4ebb-9ce4-fd868347a3a5",
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "任务负责人",
"GUID": "2cd0170f-294c-42f3-8454-9a4dce1688bf"
},
"ColumnName": "执行者"
}
],
"SqlCondition": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务表",
"ColumnName": "ID",
"GUID": "25ebd14a-0805-42d7-8e46-45e36e9f3d1e"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=关联任务"
}
},
"NullFormulaValueQueryPolicy": 0
},
"ID": "fd2822da1de64295b72c009c01587d94"
},
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "处理人",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=任务.执行者"
},
"ID": "109c2c792f3140fcb18391d665ba6466"
}
],
"ID": "bd5c9496-f4e0-460e-ae77-ad738f25f814"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "处理人",
"ParameterValue": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目.项目经理"
},
"ID": "c294a5b08553459f94f2a11f8d1ed02c"
}
],
"ID": "66344fe5-1c54-4923-a301-976254bda5d4"
}
]
},
{
"$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.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "处理人",
"ParameterValue": "Administrator",
"ID": "299f253110674735a00ec8d2450d5a25"
}
],
"ID": "7aad0094-c4fd-4409-b881-829b154db026"
}
]
},
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "需求反馈登记表",
"UpdateType": "add",
"ShowConfirm": false,
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "需求反馈登记表",
"ColumnName": "项目ID",
"GUID": "ad4258c3-5a78-4944-99c0-eb5bf2082c60"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目ID"
}
},
{
"BindingInfo": {
"TableName": "需求反馈登记表",
"ColumnName": "标题",
"GUID": "24f36892-13d2-447c-b8f8-d3c8ededa003"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=标题"
}
},
{
"BindingInfo": {
"TableName": "需求反馈登记表",
"ColumnName": "关联任务",
"GUID": "a3c10476-3ae8-44d4-aeca-4eb16d38e99c"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=关联任务"
}
},
{
"BindingInfo": {
"TableName": "需求反馈登记表",
"ColumnName": "反馈类型",
"GUID": "9caead9d-7adb-431d-a32f-cf56e7ee53d0"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=反馈类型"
}
},
{
"BindingInfo": {
"TableName": "需求反馈登记表",
"ColumnName": "内容",
"GUID": "ab7912d9-e2e4-424e-82b9-0011487553fd"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=内容"
}
},
{
"BindingInfo": {
"TableName": "需求反馈登记表",
"ColumnName": "提交人",
"GUID": "ba627564-f894-4821-b235-08e82d7ed7ef"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=提交人"
}
},
{
"BindingInfo": {
"TableName": "需求反馈登记表",
"ColumnName": "联系方式",
"GUID": "8167a720-81a1-47db-a25c-5ba6271864b3"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=联系方式"
}
},
{
"BindingInfo": {
"TableName": "需求反馈登记表",
"ColumnName": "处理人",
"GUID": "9ce29dfd-cb43-42b4-a68b-17ffcc10dd6c"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=处理人"
}
},
{
"BindingInfo": {
"TableName": "需求反馈登记表",
"ColumnName": "状态",
"GUID": "2662f0d5-9318-4147-886a-95fe05fd326a"
},
"Value": "0"
}
],
"ParamNameToSaveNewRowValue": "新反馈"
},
{
"$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": "8e8dac33-0e65-4a7e-96a6-9e4b1d23dee5"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=新反馈.ID"
}
},
"Initiator": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=IF(当前用户=\"\",\"Administrator\",当前用户)"
},
"ReturnResultName": "发起流程结果"
},
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "0",
"Message": "感谢您的提交!",
"CustomReturns": [
{
"ReturnPropertyName": "反馈编号",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=新反馈.工单编号"
}
}
]
}
],
"ID": "f0ff0242-7a2c-4baa-87da-665085fe8700"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon",
"ErrorCode": "400",
"Message": "该项目暂时关闭反馈通道,请联系商务经理!",
"CustomReturns": [
{
"ReturnPropertyName": "反馈编号"
}
]
}
],
"ID": "53e997b3-ac43-4a1b-94f9-8231b813ac19"
}
]
}
],
"ReturnProperties": [
{
"Name": "反馈编号"
}
]
}