From c6bb68724efc0bf7c7c80a2d9079cc99aaaaaa30 Mon Sep 17 00:00:00 2001 From: cuckooent Date: Wed, 16 Oct 2024 10:34:34 +0800 Subject: [PATCH] =?UTF-8?q?{"Message":"=E6=96=B0=E5=A2=9E=E5=8F=8D?= =?UTF-8?q?=E9=A6=88=E8=BD=AC=E6=8D=A2=E4=B8=BA=E4=BB=BB=E5=8A=A1=E5=8A=9F?= =?UTF-8?q?=E8=83=BD","MessageType":2,"Modules":[{"State":1,"Type":1,"Name?= =?UTF-8?q?":"PCPage/=E5=A4=84=E7=90=86=E5=8F=8D=E9=A6=88=E5=B7=A5?= =?UTF-8?q?=E5=8D=95"},{"State":1,"Type":1,"Name":"PCPage/=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1=E9=A6=96=E9=A1=B5"},{"State":1,"Type":27,"Name":"Serv?= =?UTF-8?q?erCommandPrivate/=E5=90=8E=E7=AB=AF=E6=96=B0=E5=A2=9E=E9=A1=B9?= =?UTF-8?q?=E7=9B=AE=E5=8F=8D=E9=A6=88"},{"State":3,"Type":15,"Name":"Serv?= =?UTF-8?q?erCommand/=E5=B0=86=E5=8F=8D=E9=A6=88=E8=BD=AC=E4=B8=BA?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1"}],"Version":"v1"}?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .collaboration | 41 +- Pages/项目/项目反馈/处理反馈工单.json | 339 +++++++++++--- Pages/项目/项目反馈/处理反馈工单.rd | 18 +- .../项目首页-容器页面/任务容器页面/任务首页.json | 41 +- ServerCommands/项目反馈/后端新增项目反馈.json | 44 +- ServerCommands/项目反馈/将反馈转为任务.json | 421 ++++++++++++++++++ 6 files changed, 742 insertions(+), 162 deletions(-) create mode 100644 ServerCommands/项目反馈/将反馈转为任务.json diff --git a/.collaboration b/.collaboration index 2d8d2726..bde0885f 100644 --- a/.collaboration +++ b/.collaboration @@ -446,17 +446,7 @@ }, { "ModuleName": "PCPage/处理反馈工单", - "State": 1, - "LockedBy": { - "UserName": "cuckooent", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-10-16T09:24:36.522956+08:00", - "ModuleType": 1, - "ToRemoveFiles": [ - "Pages\\项目\\项目反馈\\处理反馈工单.json", - "Pages\\项目\\项目反馈\\处理反馈工单.rd" - ] + "ModuleType": 1 }, { "ModuleName": "PCPage/反馈与建议", @@ -588,17 +578,7 @@ }, { "ModuleName": "PCPage/任务首页", - "State": 1, - "LockedBy": { - "UserName": "cuckooent", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-10-16T10:27:31.7938653+08:00", - "ModuleType": 1, - "ToRemoveFiles": [ - "Pages\\项目\\项目首页\\项目首页-容器页面\\任务容器页面\\任务首页.json", - "Pages\\项目\\项目首页\\项目首页-容器页面\\任务容器页面\\任务首页.rd" - ] + "ModuleType": 1 }, { "ModuleName": "PCPage/项目周报列表", @@ -1426,16 +1406,7 @@ }, { "ModuleName": "ServerCommandPrivate/后端新增项目反馈", - "State": 1, - "LockedBy": { - "UserName": "cuckooent", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-10-16T10:30:58.9213738+08:00", - "ModuleType": 27, - "ToRemoveFiles": [ - "ServerCommands\\项目反馈\\后端新增项目反馈.json" - ] + "ModuleType": 27 }, { "ModuleName": "ServerCommand/匿名提交项目反馈", @@ -2499,12 +2470,6 @@ }, { "ModuleName": "ServerCommand/将反馈转为任务", - "State": 3, - "LockedBy": { - "UserName": "cuckooent", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-10-16T09:29:55.3905477+08:00", "ModuleType": 15 } ] \ No newline at end of file diff --git a/Pages/项目/项目反馈/处理反馈工单.json b/Pages/项目/项目反馈/处理反馈工单.json index 020f2ca2..034fa8e6 100644 --- a/Pages/项目/项目反馈/处理反馈工单.json +++ b/Pages/项目/项目反馈/处理反馈工单.json @@ -8,8 +8,7 @@ }, "1": { "GridRowColumnDefinition": { - "DesignLengthInPixel": 35.0, - "Mode": 1 + "DesignLengthInPixel": 35.0 } }, "2": { @@ -64,10 +63,20 @@ }, "13": { "GridRowColumnDefinition": { - "DesignLengthInPixel": 32.0 + "DesignLengthInPixel": 20.0 } }, "14": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 35.0 + } + }, + "15": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "16": { "GridRowColumnDefinition": { "DesignLengthInPixel": 32.0, "IsHidden": true @@ -75,9 +84,9 @@ } }, "InLogicalVisibleIndexes": [ - 14 + 16 ], - "Count": 15, + "Count": 17, "DefaultSize": 32.0 }, "Cols": { @@ -189,7 +198,7 @@ }, "24": { "GridRowColumnDefinition": { - "DesignLengthInPixel": 40.0 + "DesignLengthInPixel": 32.0 } }, "33": { @@ -213,8 +222,7 @@ }, "Values": { "0,33": "FGC_审批记录", - "1,26": "保存", - "1,29": "展开", + "1,28": "展开", "3,1": "工单编号", "3,9": "项目经理", "3,17": "紧急程度", @@ -227,12 +235,14 @@ "9,9": "所属项目", "9,17": "关联任务", "9,25": "下一节点处理人", - "14,15": true + "14,10": "转为任务", + "14,16": "保存", + "16,15": true }, "Formulas": { - "1,31": "IF(G15,F15,E15)", - "1,29": "IF(P15,\"收起\",\"展开\")", - "14,18": "IFERROR(GETURLQUERYVALUE(\"id\"),\"\")" + "1,31": "IF(G17,F17,E17)", + "1,28": "IF(P17,\"收起\",\"展开\")", + "16,18": "IFERROR(GETURLQUERYVALUE(\"id\"),\"\")" }, "AttachInfos": { "0,33": { @@ -297,25 +307,7 @@ ] } }, - "1,26": { - "CellType": { - "$type": "Forguncy.ButtonCellType, ServerDesignerCommon", - "CommandList": [ - { - "$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon", - "TableName": "需求反馈登记表", - "ShowConfirm": false - }, - { - "$type": "Notiflix_Forguncy.Notify_Command, Notiflix_Forguncy", - "Message": "保存成功" - } - ], - "Text": "保存", - "TemplateKey": "_RS_Main3" - } - }, - "1,29": { + "1,28": { "CellType": { "$type": "Forguncy.HyperlinkCellType, ServerDesignerCommon", "CommandList": [ @@ -325,11 +317,11 @@ { "TargetCells": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=处理反馈工单!P15" + "SerializeProperty": "=处理反馈工单!P17" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=NOT(处理反馈工单!P15)" + "SerializeProperty": "=NOT(处理反馈工单!P17)" } } ] @@ -350,11 +342,11 @@ { "TargetCells": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=处理反馈工单!G15" + "SerializeProperty": "=处理反馈工单!G17" }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=NOT(处理反馈工单!G15)" + "SerializeProperty": "=NOT(处理反馈工单!G17)" } } ] @@ -763,14 +755,168 @@ "$type": "HtmlRichEditor.HtmlRichEditor, HtmlRichEditor" } }, - "14,1": { + "14,10": { + "CellType": { + "$type": "Forguncy.ButtonCellType, ServerDesignerCommon", + "CommandList": [ + { + "$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon", + "TableName": "需求反馈登记表", + "ShowConfirm": false + }, + { + "$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon", + "ServerCommandName": "将反馈转为任务", + "Parameters": [ + { + "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", + "ParamName": "反馈ID", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=处理反馈工单!ID" + } + } + ], + "ResultErrorCodeTo": { + "SerializeProperty": "code" + }, + "ResultMessageTo": { + "SerializeProperty": "msg" + }, + "ReturnPropertiesTo": [ + { + "ResultPropertyName": "任务ID", + "ResultTo": { + "SerializeProperty": "新任务ID" + } + } + ], + "RefreshAfterFinish": true, + "CheckDataValidation": true + }, + { + "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", + "ConditionAndCommandPairList": [ + { + "Condition": { + "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", + "param": { + "$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon", + "cellLocations": [ + { + "SerializeProperty": "=code" + } + ] + }, + "value": "0" + }, + "CommandList": [ + { + "$type": "Notiflix_Forguncy.Notify_Command, Notiflix_Forguncy", + "Message": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=处理反馈工单!msg" + } + }, + { + "$type": "Forguncy.Model.ShareCommand, ServerDesignerCommon", + "ShareCommandContainerRefer": { + "ShareCommandContainerID": "fb580c25-10dd-4f22-8d8b-580f1b78aab8" + }, + "Params": [ + { + "ParamReferObject": { + "ParamID": "6a721307-5546-48b1-944e-d04195469758", + "ShareCommandContainerReferObject": { + "ShareCommandContainerID": "fb580c25-10dd-4f22-8d8b-580f1b78aab8" + } + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=处理反馈工单!新任务ID" + } + } + ], + "ResultErrorCodeTo": { + "SerializeProperty": "code" + }, + "ResultMessageTo": { + "SerializeProperty": "msg" + }, + "Disabled": true + }, + { + "$type": "Forguncy.Model.ClosePopupCommand, ServerDesignerCommon", + "ReloadData": true + } + ], + "ID": "55a8f896-891b-4bb3-84c4-6c18e9202ecd" + }, + { + "CommandList": [ + { + "$type": "Notiflix_Forguncy.Report_Command, Notiflix_Forguncy", + "FunctionName": "warning", + "Title": "温馨提示", + "Message": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=处理反馈工单!msg" + }, + "BtnText": "知道了" + } + ], + "ID": "c9ee0a2c-d9b7-4159-b4b8-8f73c10fa33b" + } + ] + } + ], + "Text": "转为任务", + "IsDisabled": true, + "TemplateKey": "_RS_Success3", + "Icon": { + "Name": "报告.svg", + "Color": "Accent 1", + "UseCellTypeForeColor": true + }, + "IconSize": 14.0 + }, + "RulesGuidList": [ + "a6fdf064-9d30-4baa-b82c-912116ebdd59" + ] + }, + "14,16": { + "CellType": { + "$type": "Forguncy.ButtonCellType, ServerDesignerCommon", + "CommandList": [ + { + "$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon", + "TableName": "需求反馈登记表", + "ShowConfirm": false + }, + { + "$type": "Notiflix_Forguncy.Notify_Command, Notiflix_Forguncy", + "Message": "保存成功" + } + ], + "Text": "保存", + "TemplateKey": "_RS_Main3", + "Icon": { + "Name": "Application/067_save_4.svg", + "BuiltIn": true, + "Color": "Background 1", + "UseCellTypeForeColor": true + }, + "IconSize": 14.0 + } + }, + "16,1": { "BindingInfo": { "TableName": "需求反馈登记表", "ColumnName": "项目ID", "GUID": "9d96b455-1882-41f9-8734-b5b453f27abd" } }, - "14,4": { + "16,4": { "CellType": { "$type": "Forguncy.ImageCellType, ServerDesignerCommon", "Size": 14, @@ -778,7 +924,7 @@ "UseCellForeColor": true } }, - "14,5": { + "16,5": { "CellType": { "$type": "Forguncy.ImageCellType, ServerDesignerCommon", "Size": 14, @@ -786,7 +932,7 @@ "UseCellForeColor": true } }, - "14,6": { + "16,6": { "CellType": { "$type": "Forguncy.CheckBoxCellType, ServerDesignerCommon", "Caption": "展开审批历史", @@ -802,7 +948,7 @@ }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=处理反馈工单!G15" + "SerializeProperty": "=处理反馈工单!G17" } } ] @@ -810,7 +956,7 @@ ] } }, - "14,10": { + "16,10": { "BindingInfo": { "TableName": "需求反馈登记表", "ColumnName": "流程实例ID", @@ -838,7 +984,7 @@ "$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon", "cellLocations": [ { - "SerializeProperty": "=处理反馈工单!K15" + "SerializeProperty": "=处理反馈工单!K17" } ] }, @@ -871,7 +1017,7 @@ }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=处理反馈工单!K15" + "SerializeProperty": "=处理反馈工单!K17" } } }, @@ -889,7 +1035,7 @@ }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=处理反馈工单!K15" + "SerializeProperty": "=处理反馈工单!K17" } }, { @@ -914,14 +1060,14 @@ "MethodName": "Refresh" } ], - "ID": "383fc4e0-1bc1-497a-a157-ed2f61de06fc" + "ID": "7b8aa279-24cb-4e26-b647-64fa504591a3" } ] } ] } }, - "14,15": { + "16,15": { "CellType": { "$type": "Forguncy.CheckBoxCellType, ServerDesignerCommon", "CellDefaultValue": true, @@ -938,7 +1084,7 @@ }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=处理反馈工单!P15" + "SerializeProperty": "=处理反馈工单!P17" } } ] @@ -946,12 +1092,19 @@ ] } }, - "14,18": { + "16,18": { "BindingInfo": { "TableName": "需求反馈登记表", "ColumnName": "ID", "GUID": "06c65a7a-2d90-472d-9cac-7438b2aa1bcc" } + }, + "16,21": { + "BindingInfo": { + "TableName": "需求反馈登记表", + "ColumnName": "状态", + "GUID": "e36d0800-87af-474f-a6b5-71e1d101362c" + } } }, "StyleDatas": { @@ -968,12 +1121,14 @@ "FontSize": 13.333333333333332 }, { + "FontFamily": 0, "FontSize": 13.333333333333332, "HorizontalAlignment": 1, "Underline": false }, { - "Foreground": 2 + "Foreground": 2, + "HorizontalAlignment": 1 }, { "FontFamily": 0, @@ -984,7 +1139,7 @@ "FontFamily": 0, "FontSize": 14.666666666666666, "Foreground": 4, - "HorizontalAlignment": 1 + "HorizontalAlignment": 5 }, { "FontFamily": 0, @@ -993,10 +1148,10 @@ { "FontFamily": 0, "FontSize": 14.666666666666666, - "Formatter": 5 + "Formatter": 6 }, { - "Formatter": 6 + "Formatter": 7 }, { "FontSize": 13.333333333333332 @@ -1005,10 +1160,11 @@ "Types": { "Strs": [ "Body", - "Left", + "Center", "Text 1 50", "[AUTO]General", "black", + "Left", "yyyy/m/d h:mm", "@" ] @@ -1031,7 +1187,9 @@ "1,14": 2, "1,15": 2, "1,16": 2, - "1,29": 3, + "1,28": 3, + "1,29": 0, + "1,30": 0, "1,31": 4, "3,1": 5, "3,9": 2, @@ -1227,12 +1385,18 @@ "10,25": 7, "10,32": 7, "10,34": 2, - "14,4": 0, - "14,5": 0, - "14,10": 9, - "14,15": 2, + "14,10": 2, + "14,11": 2, + "14,12": 2, + "14,13": 2, + "14,14": 2, "14,16": 2, - "14,17": 2 + "16,4": 0, + "16,5": 0, + "16,10": 9, + "16,15": 2, + "16,16": 2, + "16,17": 2 }, "RowStyles": { "5": 10, @@ -1244,7 +1408,9 @@ "11": 10, "12": 10, "13": 10, - "14": 10 + "14": 10, + "15": 10, + "16": 10 }, "SheetStyle": { "FontFamily": 0 @@ -1252,18 +1418,17 @@ }, "Spans": [ "12,1,1,31", - "14,1,1,3", + "16,1,1,3", "10,1,1,7", "10,25,1,7", "4,1,1,7", "4,25,1,7", "4,17,1,7", "1,1,1,16", - "0,33,14,1", - "14,6,1,3", - "14,10,1,4", - "1,29,1,2", - "14,15,1,3", + "0,33,16,1", + "16,6,1,3", + "16,10,1,4", + "16,15,1,3", "10,17,1,7", "10,9,1,7", "4,9,1,7", @@ -1271,8 +1436,11 @@ "7,9,1,7", "7,17,1,7", "7,25,1,7", - "14,18,1,3", - "1,26,1,3" + "16,18,1,3", + "1,28,1,3", + "14,16,1,5", + "14,10,1,5", + "16,21,1,3" ], "PageInfo": { "$type": "Forguncy.Model.Pages.NormalPage, ServerDesignerCommon", @@ -1320,7 +1488,7 @@ } } ], - "ID": "f11e8251-178c-4c0e-91ca-14e26fdbc3e9" + "ID": "d7f21b14-2161-48ca-9983-6d74892f3d9b" } ] } @@ -1341,7 +1509,26 @@ }, "RowBreakLines": [], "RepeatRangeSettings": [], - "RelatedDataTableName": "需求反馈登记表" + "RelatedDataTableName": "需求反馈登记表", + "ConditionFormatRulesCollection": { + "Rules": [ + { + "$type": "Forguncy.ConditionFormat.FormulaRule, ServerDesignerCommon", + "Formula": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=AND(处理反馈工单!状态=2,处理反馈工单!ID>0)" + }, + "GUID": "a6fdf064-9d30-4baa-b82c-912116ebdd59", + "StyleInfo": { + "Underline": null, + "Strikethrough": null + }, + "IsDisabled": false, + "IsInvisible": false, + "IsReadOnly": false + } + ] + } }, "PrintInfo": { "PaperSize": {}, @@ -1350,15 +1537,19 @@ "CustomNames": [ { "Name": "项目ID", - "Formula": "处理反馈工单!$B$15" + "Formula": "处理反馈工单!$B$17" }, { "Name": "流程实例ID", - "Formula": "处理反馈工单!$K$15" + "Formula": "处理反馈工单!$K$17" }, { "Name": "ID", - "Formula": "处理反馈工单!$S$15" + "Formula": "处理反馈工单!$S$17" + }, + { + "Name": "状态", + "Formula": "处理反馈工单!$V$17" } ] -}//UKK19NCjpzYferNgf9spKzlQPwlO8JTzVlBRLVHSxdtqBIlsh85Q616V+pFyv0S8Csyn0HBg1f07RpGTuKmh01Ccj5oFb0ow8ooZSFIw7syT/1IarEdZbcjPRrPFNdx9qlcjCLfMofCJLeYt9ehlnjE4SsbCwCtxM8dP8UmALkXua/MwelwWilQQDDxovXDIrTUVT/sdaOL5Pj9v4x+a11Kh9eBp1/QGmlv2EhX5pIHwjCXAMyCK/mfZSw5zXlti/i0ElHAR+KIXPiv85FSI5lOeRSak5gXwvlbfpMItt1vJjCU2PsfKgINZGpW9FP5hq87xI0GHo0r9GWkoFOpMWMgjHOZ+uUnpMhzhjgN5oc+NgEuDYjB3zZLWdXq6aaXUVNjByzu82R1kjMoXd/R9J+XlWxKZ7c/RQ9CtFhgvZPeSGgCG6S87wJeA52bnfoK8xlqoNFrKwmamTLtyYGV7Cjh4Lg9MW8M7kG8hwkvoPismYd0s5iXignZUbAexl4TD5HyR4XaweWK0iNAoQ1bJmQbK3cWU64KPstLPbEBdQ85kI/0bjZs85F8WT3CvNqENmevXvhj8xWYYVppxB1nqasMm+4qp6260d5Ecsxl6tkF/b2vDJS4ulczKsR5OJjKGKmsq2ojTA+uCysSP+91f03VR7UPah27hA6FwKJO1NBZY3Bk7YReoFwhtJTqM5wFEP/PRymOmmmY17Rd9K9JW2TWtlef/tqkONzTk03K3fP5/KvuCxnFV489unujBPv/c6GFRXRmsdILtQCuCeKiLW7laMS6f8yweU61RXiV5meKkoiFnrGJ9m0Pnjlxfv23c/32725gf9uNAni8b/oKcNO9E1anVOseg4rQkOT8iYXCmJ5NSQbaWHqZEcgldvYy3GTVpfYqLeJe/l4g1DkpEpQ==|920 \ No newline at end of file +}//WOwG/rt5SrFH5965Yp0QktTFL00+U26Crj2Xu+1TnAc+tFRHglOatxkpi2j3RwUjpLbFOWPcChBCsMuy4+EKzKDuA3g/OGYHLJon6cVoH3i3cTvmUvjT0TqGtYmqr82INm4D810jSXezNLAbhiK0UkYZLk8Y5BtX5/gPnctm3W2r8O/WjzLH21TSw39VSsYYDhzWF1fsxwfD/LYytojWv49YfGo6gUc9CqINSR35jO0epqsVMZ6FKQ99/cxN0DAvSfpHhkAPjwUngS+E6HyLlYt0M6MRZbpLPLvQcvz0ITmWNdiJdLDMJTc3yR+SilDjvQm/sQnKzPogNnCg+KKxf3gHvJ3oMNHQPTZRTiRtgx4JyhJg3deXn9Ce5ifnVyPl2kKQ720GGKcLDou+N7cZMjv4uP7pxduKkkzMD9Rw3VE5DkzB52DC1CnEOFrT+eze/qxgR1nwVKIMUru/l6zcv0Ihcz113dimx3qACxSLQYjG6yCe4BEqDCzW6rSCshMBb0pK0FpC+xqzvEZvUIgM67v8oRirbZ+T5vrMdhHRonNtiJ9yVo1bRgg+1iuApKOuBqRBIvFGMjGpxVMExpQKHX3h/H9rAdj/2yiPVsbSUCGVkWN39qzBUN2b4khJPRIgQ2hVpLiYrq65BHgfLL1RwF0dLO+1yKEwU2sw+G7mbsDs1ruECg2igFewm2fWZY2WQLX8UdOsM7d8erDsCfPG4TTaMFzULWAusqvVAOgbrCaDOoV7z7glV3HA6lmad6p17mz0XJ8ipJO12KQ50eE1FKRdF7VsAwtRJK7WqsHInJmHOBDNniNB6pvW+X98XYk4ppH2wTJM7enaWRmwPp+El2d1kkMBNlTY/m/lSwugRxopX5yJnjZ9LfDglXDpspYeYfPFX5yPvhTnz0MUD4gzDg==|920 \ No newline at end of file diff --git a/Pages/项目/项目反馈/处理反馈工单.rd b/Pages/项目/项目反馈/处理反馈工单.rd index 363ccc0f..86223799 100644 --- a/Pages/项目/项目反馈/处理反馈工单.rd +++ b/Pages/项目/项目反馈/处理反馈工单.rd @@ -1,24 +1,28 @@ { "PageType": 0, "ColumnCount": 35, - "RowCount": 15, + "RowCount": 17, "Formulas": { - "1,31": "IF(G15,F15,E15)", - "1,29": "IF(P15,\"收起\",\"展开\")", - "14,18": "IFERROR(GETURLQUERYVALUE(\"id\"),\"\")" + "1,31": "IF(G17,F17,E17)", + "1,28": "IF(P17,\"收起\",\"展开\")", + "16,18": "IFERROR(GETURLQUERYVALUE(\"id\"),\"\")" }, "CustomNames": [ { "Name": "项目ID", - "Formula": "处理反馈工单!$B$15" + "Formula": "处理反馈工单!$B$17" }, { "Name": "流程实例ID", - "Formula": "处理反馈工单!$K$15" + "Formula": "处理反馈工单!$K$17" }, { "Name": "ID", - "Formula": "处理反馈工单!$S$15" + "Formula": "处理反馈工单!$S$17" + }, + { + "Name": "状态", + "Formula": "处理反馈工单!$V$17" } ] } \ No newline at end of file diff --git a/Pages/项目/项目首页/项目首页-容器页面/任务容器页面/任务首页.json b/Pages/项目/项目首页/项目首页-容器页面/任务容器页面/任务首页.json index 861563b0..f3ba26e8 100644 --- a/Pages/项目/项目首页/项目首页-容器页面/任务容器页面/任务首页.json +++ b/Pages/项目/项目首页/项目首页-容器页面/任务容器页面/任务首页.json @@ -345,12 +345,12 @@ "$type": "Forguncy.Model.StopCommand, ServerDesignerCommon" } ], - "ID": "2d61e5f5-96d8-44e2-b332-a603cb33b2d9" + "ID": "aaa0fe74-20d5-43bf-9029-47476b0cc233" } ] } ], - "ID": "c4a63e52-0e32-4b8c-891c-e9f31737608e" + "ID": "065c1923-2736-4272-a96b-921ab651b038" } ] } @@ -398,7 +398,7 @@ "ID": "e2e848e0e72d48229c97757429d446a2" } ], - "ID": "97880e61-8ec8-40b9-82e1-51de8afc51f5" + "ID": "7b739eff-a88e-4a39-9732-5c4541e12bfa" } ] }, @@ -551,7 +551,10 @@ { "$type": "Forguncy.Model.ProcessStartCommand, ServerDesignerCommon", "ProcessDefinitionResourceName": "新增任务流程", - "ProcessInstanceName": "新增任务等待审批", + "ProcessInstanceName": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=任务首页!项目名称&\"-\"&任务首页!任务名称" + }, "SelectedTable": "任务表", "ReturnResultName": "发起流程结果" }, @@ -612,7 +615,7 @@ "MethodName": "Refresh" } ], - "ID": "adda2e37-c58f-4f65-bf30-bae5d6572931" + "ID": "783b8a5c-fe6f-43c7-8b6a-8fc026bc7dfb" }, { "CommandList": [ @@ -627,12 +630,12 @@ "BtnText": "知道了" } ], - "ID": "262ed60d-8c89-4570-a7d6-b6d27d5b2d41" + "ID": "0c908444-e6ce-4436-8fd3-7fa330758c59" } ] } ], - "ID": "5f640b63-0d2a-44d0-a42d-d0847dd78744" + "ID": "d226c3cd-7db9-4460-8a19-286cebc0bfcc" } ] } @@ -770,7 +773,7 @@ "ReloadData": true } ], - "ID": "4ae85616-25cb-4c0a-b912-ddf67587929e" + "ID": "c0e0f42f-65fc-4453-88af-4f66538f728b" }, { "CommandList": [ @@ -785,12 +788,12 @@ "BtnText": "知道了" } ], - "ID": "23487978-1630-4bd4-b39c-c6eb0f25f6cc" + "ID": "c179cb75-63ef-4063-8bef-b6687f38872c" } ] } ], - "ID": "539c7828-d53b-4157-9e8b-4d797cf612c2" + "ID": "d26e275a-2e2f-4d65-97ab-c2f79c8b4576" }, { "CommandList": [ @@ -805,12 +808,12 @@ "BtnText": "知道了" } ], - "ID": "0255465a-a07a-4d00-b766-e6942c0e0008" + "ID": "0350da11-5208-4daf-bab4-37e50968361f" } ] } ], - "ID": "c1616066-ea68-4874-a9a5-43dc28d3b64f" + "ID": "cf09e133-b718-4663-ad78-30b7d53eccee" } ] } @@ -939,7 +942,7 @@ } } ], - "ID": "fdc01d92-29b3-46af-92ef-9f4859f59ff6" + "ID": "4f6dd506-e0fb-4bc0-812c-97b18c499c04" } ] }, @@ -980,7 +983,7 @@ } } ], - "ID": "e4606c37-9a0d-4bc4-90e1-515c6ec58659" + "ID": "00be3c11-a590-4c62-9983-d914e04d03ac" } ] } @@ -1095,7 +1098,7 @@ "Disabled": true } ], - "ID": "8d1a45d5-93f7-46d7-b0ce-2d4cb0b6db8b" + "ID": "9bba74eb-9b7f-4aa6-bae3-11794e439f19" } ] } @@ -1273,7 +1276,7 @@ ] } ], - "ID": "6553a8e3-9a8d-42cc-b10a-09b9303746a5" + "ID": "46f49595-bd9f-490b-946a-60298fddc625" }, { "CommandList": [ @@ -1290,7 +1293,7 @@ ] } ], - "ID": "8576c5cc-9b56-43e9-964e-65603c6259c0" + "ID": "dee61cf7-44bf-40aa-9e3c-d2427715f4dc" } ] }, @@ -2016,7 +2019,7 @@ } } ], - "ID": "76b348ec-05bf-4c96-b82f-5c96e99c8eaf" + "ID": "ad5f281a-2039-4e6c-a004-46a78afa5edb" } ] }, @@ -2126,4 +2129,4 @@ "Formula": "任务首页!$Y$8" } ] -}//YcmhDPZFW9t+4/XA+rqf7BomXp3Tev370I9aP6g86F/q0nAFMc8+PKdNYBJtK8G1ueNlN1BSpqz5dohZ2fG3UQjy3TT0i1gc1uvlv2YiSWhM+m2I5QS2g3N4pVRfQO5F08M8aYVY0035hnzH0yOTaF1/EjaEtCcHAsy3I0p0QHcSooGmx5fh1vHlXOGb90MojHXH/YUR8OeCvrZzfBvaRhnRr6cju7XaSm36Xrg5iyQMBPaBF65o+pI3M5MvuDioSTJUwykOHqwHSCSUybAbQ62wODWM+yQF0qknXa/vBodzINDI0TAqDzX07/EhmS0eOwtm0EKTlmManWwJmejPTLyFQHPySicRncSFTfFTXM8PSazBl7KPLUTtmVgFQA2sEKREj/klXS690PmuTyMyI++t3+d1PdYz5pHIXfkv9IYlprX3OZQ6uUBtS/g2e3R7HmoDv4bHCabinatzcksxi10BYbBLOvd4jcO0zwlNfEEfqgwCdkhkSTjMs6VSJgDaZhF1tKLetJB2S0OdIjJ46Fa84iW2yUHQLqrOcYj6B2pOErbh4yF/NSB4egMrFmk3m+dLEsZPp0nSx+e4jvKqt78hYx/mHzQyYIPgR3k40pok2Ea8sz9FRE/qekw4rvzyHdGm1cXdCdX0OJFImXwed9X2XUclcycuSIEh7RCrt+UO3ouEwHV2ONqm2YZgxLqILtk3f8ucZHhkgY+8HoPlgorUiaJvQEvuFDxFK5KZY8r08w69B8NccILZx+aPubrl7VdxIJqq2N4HBwnw7uFhfsT5/s0RCyT/e1kobq+C+fQHm8N5WMuv41Yk4a+kwWuajHtYnl7cSFr3j9qdShH8GE4nXjBNMUYHoWWdzXiz7zXaSJc/cB+nQYsuv63RzlWiCisPpQ8t/i92Y3ehiuwiQA==|920 \ No newline at end of file +}//I9dY+/Eg6IAaEJxYTfP1J/tbdOVuAzz7kBQfkECnxHvEsjeSR9rg3rUPvZdS0kL5cnduMwSxIW/ji3b+pqGqxQUyoUVFlcgKzBumSU9xoi9qzhgrj5zyDXQqdYddvsT/5dd+Do0AopO2ySr9j+Erm/FCYymNxvCsbEf7tVQR87+zYMrJlz6PDnYFGOkrYsnYT+bVO9LNkRwpo2dKQH+wqQUA0/FlVRqIjmUjJQQeZVbnqqULYHUOS/wdHz7y4lwsa9ea7sjGJ1HbaETv5/ANci2LnjZTSl8AI1r1md2dRRgHBzwbr+dBzEKk8Q2/dsWs0pH7Has8kl8+wxgZmdgfQBQKfcoPZpF9+oDx56P5rYOVwhGwcrZeKpl9nqNqoGPIqDDU66KP+dKiHfbl7P5s+4LAL2firgi7nT8dABjDIgkgs4n/3KJtoI7GZjxAxpi2DXqsi3/roK3BHIM3bRLTFSPo6eMf21rIrrZ1p3rGeUwtr0qkg2halvk5oADccXZAoLLXpEaum3VzRQcxrS8jU8QvDhBefd1JjxBtfW8aR20Gxk6OEIjbYgeMrcvkUA8ct3tvsMzRFvBOAboh737BlHpdyFWmLGDtP+3S0gMObWHBTh41YztivqG8yrwq7/09+8ij8eZmRFOXJaRgEiFuBXXMEp2KHcUJAkoytfozSHbv1MswHTxsW9hClz0jxTItkQNwALojUKR+A20LCE4COLbiSMEfHrlRnnnZa4PscsAmnPwzVkPmftatq1p9L3C1yj5A4VTYbbYojPeXt3xUZpC+TakyKpTZVWlTdiJzYXZ7BvEiPY0Q4fCfDiZgrMEUbmh5pMZFJxocRev1bgAr3Wu+DFpHxaCyO5p0IlpP6es6jelHZe8Vb9mrGGLr1pa9BdquJEa7M9Ua17UO4JgWHg==|920 \ No newline at end of file diff --git a/ServerCommands/项目反馈/后端新增项目反馈.json b/ServerCommands/项目反馈/后端新增项目反馈.json index fe72eee4..e321110f 100644 --- a/ServerCommands/项目反馈/后端新增项目反馈.json +++ b/ServerCommands/项目反馈/后端新增项目反馈.json @@ -55,7 +55,7 @@ "TableValueType": 1, "BindingInfos": [ { - "GUID": "00aab768-e1a0-4710-b78f-0d105e2200bd", + "GUID": "6beb85b3-fe97-4e2e-95f4-6a15e22f13c7", "BindingInfo": { "TableName": "项目表", "ColumnName": "项目名称", @@ -64,7 +64,7 @@ "ColumnName": "项目名称" }, { - "GUID": "ed7100a5-64b9-4972-9784-7dd9e2507bb0", + "GUID": "20ed3814-9aed-4e00-8918-7fe09d6e532d", "BindingInfo": { "TableName": "项目表", "ColumnName": "项目状态", @@ -73,7 +73,7 @@ "ColumnName": "项目状态" }, { - "GUID": "7a908f6c-ebfa-442c-82f5-279ed3e93c0b", + "GUID": "c8d399bf-99be-4642-bb28-aef461842efa", "BindingInfo": { "TableName": "项目表", "ColumnName": "项目经理", @@ -82,7 +82,7 @@ "ColumnName": "项目经理" }, { - "GUID": "2b622506-11dd-4489-8a28-fa5c2cf60e51", + "GUID": "e2b6bb86-ac3f-4ec8-bc2a-93c80ac55f04", "BindingInfo": { "TableName": "项目表", "ColumnName": "开启反馈收集", @@ -106,7 +106,7 @@ "NullFormulaValueQueryPolicy": 0, "TopCount": "1" }, - "ID": "4f329450e3454c82a3f4e885c4df66e7" + "ID": "472ea7eff9c04fa795980c20618170a4" }, { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", @@ -156,7 +156,7 @@ "TableValueType": 1, "BindingInfos": [ { - "GUID": "de97885b-14f6-406f-937b-97b79bd12768", + "GUID": "46315531-ef75-4e94-b5c4-d77cb9cd8a9b", "BindingInfo": { "TableName": "任务表", "ColumnName": "任务名称", @@ -180,7 +180,7 @@ "NullFormulaValueQueryPolicy": 0, "TopCount": "1" }, - "ID": "d7bef5f0274f4a349218203ef1a2dc7c" + "ID": "46f15f3c184f4297af3f0613bc1dcb90" }, { "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", @@ -206,24 +206,20 @@ "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=任务.任务名称" }, - "ID": "65851cf1cc2c4aea8f0bffa89bc51c81" + "ID": "41bf003b19804adaabb83493e51d4c69" } ], - "ID": "c5fac691-27dd-4495-9b41-69077f34573f" + "ID": "d2b265d3-1114-45c4-9c20-f549e373e5bf" }, { "CommandList": [ { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", "ParameterName": "获取任务描述", - "ParameterValue": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=功能" - }, - "ID": "241b7726859442948ac5735d8e62f67b" + "ID": "447b55424ece4c22ac00101950cd5d71" } ], - "ID": "20eb0b80-e5db-48e6-9d8e-db1d2308a143" + "ID": "2f3d60dc-d15c-4108-8768-7482867399f6" } ] }, @@ -303,7 +299,7 @@ "TableValueType": 1, "BindingInfos": [ { - "GUID": "e3ecae0f-5c8b-4ebb-9ce4-fd868347a3a5", + "GUID": "dbf81214-9dd7-41f8-aa5d-f1841db23020", "BindingInfo": { "TableName": "任务表", "ColumnName": "任务负责人", @@ -326,7 +322,7 @@ }, "NullFormulaValueQueryPolicy": 0 }, - "ID": "fd2822da1de64295b72c009c01587d94" + "ID": "c8a6d923aa5742c58030ea3dfb66bbd4" }, { "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", @@ -335,10 +331,10 @@ "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=任务.执行者" }, - "ID": "109c2c792f3140fcb18391d665ba6466" + "ID": "5ee2293c73d34429af9238e4cf5253c9" } ], - "ID": "bd5c9496-f4e0-460e-ae77-ad738f25f814" + "ID": "9724d5a0-42aa-46d4-8b73-688a20fc0cde" }, { "CommandList": [ @@ -349,10 +345,10 @@ "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", "SerializeProperty": "=项目.项目经理" }, - "ID": "c294a5b08553459f94f2a11f8d1ed02c" + "ID": "04fa5f13801e488d904cf5fdd6e7cd32" } ], - "ID": "66344fe5-1c54-4923-a301-976254bda5d4" + "ID": "b12a4580-cb56-4aeb-bb7e-e761c78b81c5" } ] }, @@ -379,7 +375,7 @@ "ID": "299f253110674735a00ec8d2450d5a25" } ], - "ID": "7aad0094-c4fd-4409-b881-829b154db026" + "ID": "4c60828e-a161-4a08-b329-3c98c0787c15" } ] }, @@ -530,7 +526,7 @@ ] } ], - "ID": "f0ff0242-7a2c-4baa-87da-665085fe8700" + "ID": "bbc6096b-7398-4ff1-9c7a-67852c8e35a2" }, { "CommandList": [ @@ -545,7 +541,7 @@ ] } ], - "ID": "53e997b3-ac43-4a1b-94f9-8231b813ac19" + "ID": "bc8a7c6e-fb44-496b-8368-76c019ebfb20" } ] } diff --git a/ServerCommands/项目反馈/将反馈转为任务.json b/ServerCommands/项目反馈/将反馈转为任务.json new file mode 100644 index 00000000..7bdd2582 --- /dev/null +++ b/ServerCommands/项目反馈/将反馈转为任务.json @@ -0,0 +1,421 @@ +{ + "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.Commands.SetParameterCommand, ServerDesignerCommon", + "ParameterName": "反馈单", + "TableValue": { + "TableName": "需求反馈登记表", + "TableValueType": 1, + "BindingInfos": [ + { + "GUID": "e6d64064-d638-44fb-b7b1-42bfce27a434", + "BindingInfo": { + "TableName": "需求反馈登记表", + "ColumnName": "ID", + "GUID": "6b974e9e-c1d9-4aa2-9a24-9959ba315e67" + }, + "ColumnName": "ID" + }, + { + "GUID": "34419cac-16b0-429f-a130-5f9766e0a3cb", + "BindingInfo": { + "TableName": "需求反馈登记表", + "ColumnName": "工单编号", + "GUID": "8afc575b-94ff-49cf-8ef4-fce11cf0ee28" + }, + "ColumnName": "工单编号" + }, + { + "GUID": "e5a58370-2922-430a-99c5-18f3cd7487dd", + "BindingInfo": { + "TableName": "需求反馈登记表", + "ColumnName": "项目ID", + "GUID": "0c6c6c2f-b82a-492f-8c90-516f03b8e245" + }, + "ColumnName": "项目ID" + }, + { + "GUID": "e5f96a50-757b-4d5b-97f8-f455a7822135", + "BindingInfo": { + "TableName": "需求反馈登记表", + "ColumnName": "标题", + "GUID": "079f600a-a333-4a0f-909a-4c0fd1e38512" + }, + "ColumnName": "标题" + }, + { + "GUID": "c22c18a1-e10e-4877-9bde-3575c8cc7d0e", + "BindingInfo": { + "TableName": "需求反馈登记表", + "ColumnName": "内容", + "GUID": "5e61b59a-7ff1-45de-94ad-053cc2b56ef2" + }, + "ColumnName": "内容" + }, + { + "GUID": "5261aa36-dd03-4cac-a300-7b65e814a972", + "BindingInfo": { + "TableName": "需求反馈登记表", + "ColumnName": "处理人", + "GUID": "db3e1de0-d88b-454b-acc9-344313b00152" + }, + "ColumnName": "处理人" + }, + { + "GUID": "82791eea-58e5-45f1-8ace-b0186d3f3238", + "BindingInfo": { + "TableName": "需求反馈登记表", + "ColumnName": "提交人", + "GUID": "c2d24265-6352-4221-ac7c-51082fad37b5" + }, + "ColumnName": "提交人" + }, + { + "GUID": "3ef1678d-8187-4fad-b1e8-f18de7affd8f", + "BindingInfo": { + "TableName": "需求反馈登记表", + "ColumnName": "状态", + "GUID": "c51e7b37-d8a4-49b4-9eef-dab73d643cb6" + }, + "ColumnName": "状态" + } + ], + "SqlCondition": { + "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", + "ColumnBindingInfo": { + "TableName": "需求反馈登记表", + "ColumnName": "ID", + "GUID": "dbc0b422-795e-40a6-a425-7d4aa878dc25" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=反馈ID" + } + }, + "TopCount": "1" + }, + "ID": "e181b74220c2473f94adb934dd662675" + }, + { + "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", + "ConditionAndCommandPairList": [ + { + "Condition": { + "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", + "param": { + "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", + "ParamObject": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=反馈单" + } + }, + "value": "%Null%", + "compareType": 1 + }, + "CommandList": [ + { + "$type": "Forguncy.Model.ServerTransactionCommand, ServerDesignerCommon", + "CommandList": [ + { + "$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon", + "TableName": "任务表", + "UpdateType": "add", + "ShowConfirm": false, + "UpdateBindingValues": [ + { + "BindingInfo": { + "TableName": "任务表", + "ColumnName": "项目ID", + "GUID": "0df1a5e3-2b55-4692-8b3e-4040fb0c5c37" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=反馈单.项目ID" + } + }, + { + "BindingInfo": { + "TableName": "任务表", + "ColumnName": "层级", + "GUID": "20650ab9-ee7b-4c0f-a1c7-60dc1fb4873a" + }, + "Value": "0" + }, + { + "BindingInfo": { + "TableName": "任务表", + "ColumnName": "任务名称", + "GUID": "3a0ff9c9-1f03-4a7f-9f30-6c4619fb3875" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=反馈单.标题" + } + }, + { + "BindingInfo": { + "TableName": "任务表", + "ColumnName": "任务负责人", + "GUID": "0afe6750-8f03-4b2f-9b4a-fa3ad091fe51" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=反馈单.处理人" + } + }, + { + "BindingInfo": { + "TableName": "任务表", + "ColumnName": "开始时间", + "GUID": "91313406-b27d-4b1d-adb4-498bc9063c4d" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=NOW()" + } + }, + { + "BindingInfo": { + "TableName": "任务表", + "ColumnName": "任务说明", + "GUID": "640d3cba-7afc-428d-89aa-be3d8efca453" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=反馈单.内容" + } + }, + { + "BindingInfo": { + "TableName": "任务表", + "ColumnName": "备注", + "GUID": "ca0d1041-a9d8-4e21-9a7e-ac49491132b2" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=\"由工单编号\"&反馈单.工单编号&\"创建\"" + } + }, + { + "BindingInfo": { + "TableName": "任务表", + "ColumnName": "任务预算工时", + "GUID": "40fccb06-7dfa-4f4f-bdfe-005c4dc22548" + }, + "Value": "0" + }, + { + "BindingInfo": { + "TableName": "任务表", + "ColumnName": "进度", + "GUID": "17c7f61e-22cb-4ef4-abdd-c05e6b6acd91" + }, + "Value": "0" + }, + { + "BindingInfo": { + "TableName": "任务表", + "ColumnName": "收集反馈", + "GUID": "7f502b38-911c-443a-a39b-5336d9753e2f" + }, + "Value": "1" + }, + { + "BindingInfo": { + "TableName": "任务表", + "ColumnName": "任务状态", + "GUID": "81736bf5-08bc-41c6-aa1c-4cb915c9bc1c" + }, + "Value": "0" + }, + { + "BindingInfo": { + "TableName": "任务表", + "ColumnName": "功能名称", + "GUID": "f081162a-cd2f-458a-a6e1-ab1e149cc984" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=反馈单.标题" + } + }, + { + "BindingInfo": { + "TableName": "任务表", + "ColumnName": "功能描述", + "GUID": "d5d49936-1146-4fcc-971c-4e2e7699f394" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=反馈单.内容" + } + } + ], + "ParamNameToSaveNewRowValue": "新任务" + }, + { + "$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon", + "TableName": "需求反馈登记表", + "ShowConfirm": false, + "RowsToUpdate": 1, + "RowsToUpdateCondition": { + "$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess", + "ColumnBindingInfo": { + "TableName": "需求反馈登记表", + "ColumnName": "ID", + "GUID": "aa0ffe9d-de6e-4b12-92f7-de8dcb741bbe" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=反馈单.ID" + } + }, + "UpdateBindingValues": [ + { + "BindingInfo": { + "TableName": "需求反馈登记表", + "ColumnName": "关联任务", + "GUID": "ab6b52ad-b3f2-4557-886d-d7569784d047" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=新任务.ID" + } + } + ] + } + ] + }, + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": "0", + "Message": "创建任务完成,请补充任务信息并发起流程", + "CustomReturns": [ + { + "ReturnPropertyName": "任务ID", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=新任务.ID" + } + } + ] + }, + { + "$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": "afc188a8-6905-445e-bda8-be96313844da" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=新任务.ID" + } + }, + "ReturnResultName": "发起流程结果", + "Disabled": true + }, + { + "$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": [], + "ID": "01a7de68-9d97-486d-b31e-631580df44d0" + }, + { + "CommandList": [ + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": "400", + "Message": "创建任务完成,请手动进行提交审批", + "CustomReturns": [ + { + "ReturnPropertyName": "任务ID" + } + ] + } + ], + "ID": "f5ecdb28-8076-4cea-9e32-0543d9858c8c" + } + ], + "Disabled": true + } + ], + "ID": "94507538-cf9b-4531-83ab-47d292cca70e" + }, + { + "CommandList": [ + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": "400", + "Message": "反馈单不存在", + "CustomReturns": [ + { + "ReturnPropertyName": "任务ID" + } + ] + } + ], + "ID": "2b968801-d3a6-47f1-87e1-44517ede6ee6" + } + ] + } + ], + "ReturnProperties": [ + { + "Name": "任务ID" + } + ] +} \ No newline at end of file