diff --git a/.collaboration b/.collaboration index e884411d..4ebdc0a0 100644 --- a/.collaboration +++ b/.collaboration @@ -28,16 +28,7 @@ }, { "ModuleName": "Table/项目表", - "State": 1, - "LockedBy": { - "UserName": "SHAMUSPC\\NINGMEI", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-04-24T17:02:23.4186933+08:00", - "ModuleType": 7, - "ToRemoveFiles": [ - "Tables\\项目\\项目表.json" - ] + "ModuleType": 7 }, { "ModuleName": "TableView/View_项目统计信息", @@ -526,19 +517,7 @@ }, { "ModuleName": "PCPage/任务列表", - "State": 1, - "LockedBy": { - "UserName": "SHAMUSPC\\NINGMEI", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-04-24T16:56:23.9019143+08:00", - "ModuleType": 1, - "ToRemoveFiles": [ - "Pages\\项目\\项目首页\\项目首页-容器页面\\任务列表.json", - "Pages\\项目\\项目首页\\项目首页-容器页面\\任务列表.rd", - "Pages\\a3c94948c8a24e6a9d63fc05ebfd71f.json", - "Pages\\a3c94948c8a24e6a9d63fc05ebfd71f.rd" - ] + "ModuleType": 1 }, { "ModuleName": "PCPage/项目工时", @@ -766,19 +745,7 @@ }, { "ModuleName": "PCPage/汇报详情", - "State": 1, - "LockedBy": { - "UserName": "SHAMUSPC\\NINGMEI", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-04-24T16:27:08.2141418+08:00", - "ModuleType": 1, - "ToRemoveFiles": [ - "Pages\\汇报\\汇报详情.json", - "Pages\\汇报\\汇报详情.rd", - "Pages\\484d3ed119274a60bf32f15d178cf60.json", - "Pages\\484d3ed119274a60bf32f15d178cf60.rd" - ] + "ModuleType": 1 }, { "ModuleName": "PCPage/汇报详情预览", @@ -1378,19 +1345,7 @@ }, { "ModuleName": "CustomLibrary", - "State": 1, - "LockedBy": { - "UserName": "SHAMUSPC\\NINGMEI", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-04-24T16:49:30.4822599+08:00", - "ModuleType": 12, - "ToRemoveFiles": [ - "CustomLibraries.json", - "UserFile\\BaseCss.css", - "UserFile\\CustomFormula.js", - "UserFile\\echart.js" - ] + "ModuleType": 12 }, { "ModuleName": "MapJsonFile", @@ -1483,29 +1438,11 @@ }, { "ModuleName": "ServerCommand/AI内容转报工数据", - "State": 1, - "LockedBy": { - "UserName": "SHAMUSPC\\NINGMEI", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-04-24T16:29:01.2363882+08:00", - "ModuleType": 15, - "ToRemoveFiles": [ - "ServerCommands\\汇报\\AI内容转报工数据.json" - ] + "ModuleType": 15 }, { "ModuleName": "ServerCommand/AI报工数据转日报", - "State": 1, - "LockedBy": { - "UserName": "SHAMUSPC\\NINGMEI", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-04-24T16:27:37.8699165+08:00", - "ModuleType": 15, - "ToRemoveFiles": [ - "ServerCommands\\汇报\\AI报工数据转日报.json" - ] + "ModuleType": 15 }, { "ModuleName": "Image/gpt.svg", @@ -1582,12 +1519,6 @@ }, { "ModuleName": "PCPage/AI任务助手", - "State": 3, - "LockedBy": { - "UserName": "SHAMUSPC\\NINGMEI", - "Email": "phoben@qq.com" - }, - "LockDateTime": "2024-04-24T16:58:55.105567+08:00", "ModuleType": 1 } ] \ No newline at end of file diff --git a/Pages/汇报/汇报详情.json b/Pages/汇报/汇报详情.json index 64826267..5030422f 100644 --- a/Pages/汇报/汇报详情.json +++ b/Pages/汇报/汇报详情.json @@ -185,37 +185,44 @@ }, "23": { "GridRowColumnDefinition": { - "DesignLengthInPixel": 31.0 + "DesignLengthInPixel": 31.0, + "IsHidden": true } }, "24": { "GridRowColumnDefinition": { - "DesignLengthInPixel": 32.0 + "DesignLengthInPixel": 32.0, + "IsHidden": true } }, "25": { "GridRowColumnDefinition": { - "DesignLengthInPixel": 32.0 + "DesignLengthInPixel": 32.0, + "IsHidden": true } }, "26": { "GridRowColumnDefinition": { - "DesignLengthInPixel": 32.0 + "DesignLengthInPixel": 32.0, + "IsHidden": true } }, "27": { "GridRowColumnDefinition": { - "DesignLengthInPixel": 32.0 + "DesignLengthInPixel": 32.0, + "IsHidden": true } }, "28": { "GridRowColumnDefinition": { - "DesignLengthInPixel": 32.0 + "DesignLengthInPixel": 32.0, + "IsHidden": true } }, "29": { "GridRowColumnDefinition": { - "DesignLengthInPixel": 32.0 + "DesignLengthInPixel": 32.0, + "IsHidden": true } }, "36": { @@ -227,44 +234,79 @@ }, "MaxLength": { "Value": 1.0 - } + }, + "IsHidden": true } }, "45": { "GridRowColumnDefinition": { - "DesignLengthInPixel": 32.0 + "DesignLengthInPixel": 32.0, + "IsHidden": true } }, "46": { "GridRowColumnDefinition": { - "DesignLengthInPixel": 32.0 + "DesignLengthInPixel": 32.0, + "IsHidden": true } }, "47": { "GridRowColumnDefinition": { - "DesignLengthInPixel": 32.0 + "DesignLengthInPixel": 32.0, + "IsHidden": true } }, "48": { "GridRowColumnDefinition": { - "DesignLengthInPixel": 32.0 + "DesignLengthInPixel": 32.0, + "IsHidden": true } }, "49": { "GridRowColumnDefinition": { - "DesignLengthInPixel": 32.0 + "DesignLengthInPixel": 32.0, + "IsHidden": true } } }, + "InLogicalVisibleIndexes": [ + 23, + 24, + 25, + 26, + 27, + 28, + 29, + 30, + 31, + 32, + 33, + 34, + 35, + 36, + 37, + 38, + 39, + 40, + 41, + 42, + 43, + 44, + 45, + 46, + 47, + 48, + 49 + ], "Count": 50, "DefaultSize": 32.0 }, "Values": { "1,4": "上一天", "1,16": "下一天", - "1,24": "使用AI助手来编写日报", - "1,38": "帮我生成日报", - "1,44": "帮我生成报工", + "1,24": "AI解析为报工", + "1,30": "AI撰写日报", + "1,46": "清空", "5,1": "今日工作", "10,1": "*日报指的是昨日的工作总结,计划为今日工作安排", "10,40": "关闭", @@ -272,7 +314,8 @@ "12,7": "新增一行", "12,13": "%CurrentUser.UserName%", "12,16": "%CurrentUser.FullName%", - "12,19": "%CurrentUser.UserName%" + "12,19": "%CurrentUser.UserName%", + "12,24": false }, "Formulas": { "10,44": "IF(汇报ID>0,\"更新\",\"提交\")" @@ -341,207 +384,33 @@ "TemplateKey": "Gost" } }, - "1,38": { + "1,21": { + "CssName": "rotate-slow", "CellType": { - "$type": "Forguncy.ButtonCellType, ServerDesignerCommon", + "$type": "Forguncy.ImageCellType, ServerDesignerCommon", "CommandList": [ { - "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", - "ConditionAndCommandPairList": [ + "$type": "Forguncy.Model.SetCellPropertyCommand, ServerDesignerCommon", + "PropertyItemsList": [ { - "Condition": { - "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", - "param": { - "$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon", - "cellLocations": [ - { - "SerializeProperty": "=汇报详情!汇报日期" - } - ] - }, - "value": "%Null%", - "compareType": 1 + "TargetCells": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=汇报详情!Y13" }, - "CommandList": [ - { - "$type": "Notiflix_Forguncy.Block_Command, Notiflix_Forguncy", - "Cell": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=汇报详情!B8" - }, - "Title": "生成中" - }, - { - "$type": "Forguncy.Model.SetCellPropertyCommand, ServerDesignerCommon", - "PropertyItemsList": [ - { - "TargetCells": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=汇报详情!AM2,汇报详情!AS2,汇报详情!AS11,汇报详情!AO11" - }, - "PropertyType": 0, - "Value": false - } - ] - }, - { - "$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon", - "ServerCommandName": "AI报工数据转日报", - "Parameters": [ - { - "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", - "ParamName": "汇报人", - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=汇报详情!用户名" - } - }, - { - "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", - "ParamName": "汇报日期", - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=TEXT(汇报详情!汇报日期,\"yyyy-mm-dd\")" - } - }, - { - "$type": "Forguncy.Model.RequestServerCommandListviewParam, ServerDesignerCommon", - "ParamName": "汇报数据", - "ListviewName": "图文列表表格1", - "Columns": [ - { - "ArrayItemName": "类型", - "Column": "汇报类型" - }, - { - "ArrayItemName": "内容", - "Column": "汇报内容" - }, - { - "ArrayItemName": "工时", - "Column": "工时" - } - ] - } - ], - "ResultErrorCodeTo": { - "SerializeProperty": "code" - }, - "ResultMessageTo": { - "SerializeProperty": "msg" - }, - "ReturnPropertiesTo": [ - { - "ResultPropertyName": "生成文本", - "ResultTo": { - "SerializeProperty": "data" - } - } - ], - "RefreshAfterFinish": true, - "CheckDataValidation": true - }, - { - "$type": "Notiflix_Forguncy.Block_Command, Notiflix_Forguncy", - "FunctionName": "remove", - "Cell": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=汇报详情!B8" - }, - "Title": "生成中" - }, - { - "$type": "Forguncy.Model.SetCellPropertyCommand, ServerDesignerCommon", - "PropertyItemsList": [ - { - "TargetCells": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=汇报详情!AM2,汇报详情!AS2,汇报详情!AS11,汇报详情!AO11" - }, - "PropertyType": 0, - "Value": 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": "Forguncy.Model.SetCellPropertyCommand, ServerDesignerCommon", - "PropertyItemsList": [ - { - "TargetCells": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=汇报详情!Y5" - }, - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=汇报详情!data" - } - } - ] - } - ], - "ID": "0647f4a5-10dd-42e3-aff5-1f73d5b7a69c" - }, - { - "CommandList": [ - { - "$type": "Notiflix_Forguncy.Report_Command, Notiflix_Forguncy", - "FunctionName": "warning", - "Title": "温馨提示", - "Message": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=汇报详情!msg" - }, - "BtnText": "知道了" - } - ], - "ID": "d50b3314-e9dc-4ba5-beff-6588c290bf7c" - } - ] - } - ], - "ID": "1ac585cf-5b78-4f56-bb45-6690842529e4" - }, - { - "CommandList": [ - { - "$type": "Notiflix_Forguncy.Notify_Command, Notiflix_Forguncy", - "FourStandardStyle": "warning", - "Message": "请选择汇报日期" - } - ], - "ID": "43f115e4-1c2f-4ad5-bf73-9e01d7c37743" + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=NOT(汇报详情!Y13)" + } } ] } ], - "Text": "帮我生成日报", - "TemplateKey": "_RS_Success3", - "Icon": { - "Name": "gpt.svg", - "Color": "Accent 1", - "UseCellTypeForeColor": true - }, - "IconSize": 14.0 + "ToolTip": "AI助手", + "Size": 18, + "ImagePath": "gpt.svg" } }, - "1,44": { + "1,24": { "CellType": { "$type": "Forguncy.ButtonCellType, ServerDesignerCommon", "CommandList": [ @@ -563,6 +432,14 @@ "compareType": 1 }, "CommandList": [ + { + "$type": "Notiflix_Forguncy.Block_Command, Notiflix_Forguncy", + "Cell": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=汇报详情!B8" + }, + "Title": "生成中" + }, { "$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon", "ServerCommandName": "AI内容转报工数据", @@ -658,7 +535,7 @@ } } ], - "ID": "7a8064fc-a766-4275-a768-b74d119f3841" + "ID": "7a3e3a85-f380-48a2-9179-946940122b5c" }, { "CommandList": [ @@ -673,12 +550,21 @@ "BtnText": "知道了" } ], - "ID": "6f880c73-6452-4d05-aa23-28b48836303f" + "ID": "0b07ef87-9057-43b0-97d2-ffe35321322c" } ] + }, + { + "$type": "Notiflix_Forguncy.Block_Command, Notiflix_Forguncy", + "FunctionName": "remove", + "Cell": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=汇报详情!B8" + }, + "Title": "生成中" } ], - "ID": "3acbcfd6-dbb3-45a2-ba9a-1b80a9c3b4d1" + "ID": "5a62f9cf-6146-479d-bebc-978f73c84334" }, { "CommandList": [ @@ -688,12 +574,12 @@ "Message": "请在下方编写你的工作内容,让AI帮你完成左边的日报!" } ], - "ID": "d1d8efb3-0ef4-4ecc-a49d-2f3c2d216f32" + "ID": "415d3960-6a62-430c-a732-5e3f7f95b0d0" } ] } ], - "Text": "帮我生成报工", + "Text": "AI解析为报工", "TemplateKey": "_RS_Success3", "Icon": { "Name": "gpt.svg", @@ -703,6 +589,234 @@ "IconSize": 14.0 } }, + "1,30": { + "CellType": { + "$type": "Forguncy.ButtonCellType, ServerDesignerCommon", + "CommandList": [ + { + "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", + "ConditionAndCommandPairList": [ + { + "Condition": { + "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", + "param": { + "$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon", + "cellLocations": [ + { + "SerializeProperty": "=汇报详情!汇报日期" + } + ] + }, + "value": "%Null%", + "compareType": 1 + }, + "CommandList": [ + { + "$type": "Notiflix_Forguncy.Block_Command, Notiflix_Forguncy", + "Cell": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=汇报详情!B8" + }, + "Title": "生成中" + }, + { + "$type": "Forguncy.Model.SetCellPropertyCommand, ServerDesignerCommon", + "PropertyItemsList": [ + { + "TargetCells": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=汇报详情!AE2,汇报详情!Y2,汇报详情!AS11,汇报详情!AO11" + }, + "PropertyType": 0, + "Value": false + } + ] + }, + { + "$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon", + "ServerCommandName": "AI报工数据转日报", + "Parameters": [ + { + "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", + "ParamName": "汇报人", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=汇报详情!用户名" + } + }, + { + "$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon", + "ParamName": "汇报日期", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=TEXT(汇报详情!汇报日期,\"yyyy-mm-dd\")" + } + }, + { + "$type": "Forguncy.Model.RequestServerCommandListviewParam, ServerDesignerCommon", + "ParamName": "汇报数据", + "ListviewName": "图文列表表格1", + "Columns": [ + { + "ArrayItemName": "类型", + "Column": "汇报类型" + }, + { + "ArrayItemName": "内容", + "Column": "汇报内容" + }, + { + "ArrayItemName": "工时", + "Column": "工时" + } + ] + } + ], + "ResultErrorCodeTo": { + "SerializeProperty": "code" + }, + "ResultMessageTo": { + "SerializeProperty": "msg" + }, + "ReturnPropertiesTo": [ + { + "ResultPropertyName": "生成文本", + "ResultTo": { + "SerializeProperty": "data" + } + } + ], + "RefreshAfterFinish": true, + "CheckDataValidation": true + }, + { + "$type": "Notiflix_Forguncy.Block_Command, Notiflix_Forguncy", + "FunctionName": "remove", + "Cell": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=汇报详情!B8" + }, + "Title": "生成中" + }, + { + "$type": "Forguncy.Model.SetCellPropertyCommand, ServerDesignerCommon", + "PropertyItemsList": [ + { + "TargetCells": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=汇报详情!AE2,汇报详情!Y2,汇报详情!AS11,汇报详情!AO11" + }, + "PropertyType": 0, + "Value": 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": "Forguncy.Model.SetCellPropertyCommand, ServerDesignerCommon", + "PropertyItemsList": [ + { + "TargetCells": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=汇报详情!Y5" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=汇报详情!data" + } + } + ] + } + ], + "ID": "eafae063-03a8-46a3-98cf-d7309d3894a6" + }, + { + "CommandList": [ + { + "$type": "Notiflix_Forguncy.Report_Command, Notiflix_Forguncy", + "FunctionName": "warning", + "Title": "温馨提示", + "Message": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=汇报详情!msg" + }, + "BtnText": "知道了" + } + ], + "ID": "bb0bb52c-eecb-4095-b70d-49f236c075ed" + } + ] + } + ], + "ID": "5a09bcf5-170a-48e8-8b86-92a0ee92ed76" + }, + { + "CommandList": [ + { + "$type": "Notiflix_Forguncy.Notify_Command, Notiflix_Forguncy", + "FourStandardStyle": "warning", + "Message": "请选择汇报日期" + } + ], + "ID": "22bd868b-ebe2-460d-a83e-90e37eb8efe5" + } + ] + } + ], + "Text": "AI撰写日报", + "TemplateKey": "_RS_Success3", + "Icon": { + "Name": "gpt.svg", + "Color": "Accent 1", + "UseCellTypeForeColor": true + }, + "IconSize": 14.0 + } + }, + "1,46": { + "CellType": { + "$type": "Forguncy.ButtonCellType, ServerDesignerCommon", + "CommandList": [ + { + "$type": "Forguncy.Model.SetCellPropertyCommand, ServerDesignerCommon", + "PropertyItemsList": [ + { + "TargetCells": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=汇报详情!Y5" + }, + "Value": "%Null%" + } + ] + } + ], + "Text": "清空", + "TemplateKey": "_RS_Information3", + "Icon": { + "Name": "Application/043_brush_2.svg", + "BuiltIn": true, + "Color": "Background 1", + "UseCellTypeForeColor": true + }, + "IconSize": 14.0 + } + }, "4,24": { "BindingInfo": { "TableName": "汇报记录表", @@ -1095,6 +1209,30 @@ "ColumnName": "汇报人", "GUID": "4450a20c-d264-4f80-b4d1-9b6a98317ba5" } + }, + "12,24": { + "CellType": { + "$type": "Forguncy.CheckBoxCellType, ServerDesignerCommon", + "Caption": "显示助手", + "Style": 1, + "CommandList": [ + { + "$type": "Forguncy.Model.SetRowColumnLayoutCommand, ServerDesignerCommon", + "PropertyItemsList": [ + { + "Location": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=汇报详情!X:AX" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=汇报详情!Y13" + } + } + ] + } + ] + } } }, "StyleDatas": { @@ -1117,23 +1255,19 @@ "BorderLeft": 0 }, { - "FontSize": 16.0, - "Foreground": 4 + "HorizontalAlignment": 2 }, { "BorderBottom": 0 }, { - "FontWeight": 5 + "FontWeight": 4 }, { "FontFamily": 0, "FontSize": 13.333333333333332, "BorderLeft": 0 }, - { - "HorizontalAlignment": 2 - }, { "HorizontalAlignment": 2, "BorderLeft": 0 @@ -1149,7 +1283,7 @@ }, { "FontSize": 12.0, - "Foreground": 6 + "Foreground": 5 }, { "FontSize": -1.0 @@ -1161,7 +1295,6 @@ "[AUTO]General", "Center", "Background 2 0", - "Accent 1 0", "Bold", "Text 1 50" ], @@ -1215,15 +1348,17 @@ "1,16": 0, "1,17": 1, "1,23": 3, - "1,24": 4, - "1,26": 4, - "1,27": 4, - "1,38": 0, - "1,39": 1, - "1,40": 1, - "1,41": 1, - "1,42": 1, - "1,44": 0, + "1,24": 0, + "1,25": 1, + "1,26": 1, + "1,27": 1, + "1,28": 1, + "1,30": 0, + "1,31": 1, + "1,32": 1, + "1,33": 1, + "1,34": 1, + "1,46": 4, "2,4": 0, "2,5": 0, "2,6": 1, @@ -1268,59 +1403,59 @@ "5,22": 1, "5,23": 7, "6,23": 3, - "7,1": 8, - "7,22": 8, - "7,23": 9, - "8,1": 10, - "8,2": 10, - "8,3": 10, - "8,4": 10, - "8,5": 10, - "8,6": 10, - "8,7": 10, - "8,8": 10, - "8,9": 10, - "8,10": 10, - "8,11": 10, - "8,12": 10, - "8,13": 10, - "8,14": 10, - "8,15": 10, - "8,16": 10, - "8,17": 10, - "8,18": 10, - "8,19": 10, - "8,20": 10, - "8,21": 10, - "8,22": 10, - "8,23": 10, - "8,24": 11, - "8,25": 11, - "8,26": 11, - "8,27": 11, - "8,28": 11, - "8,29": 11, - "8,30": 11, - "8,31": 11, - "8,32": 11, - "8,33": 11, - "8,34": 11, - "8,35": 11, - "8,36": 11, - "8,37": 11, - "8,38": 11, - "8,39": 11, - "8,40": 11, - "8,41": 11, - "8,42": 11, - "8,43": 11, - "8,44": 11, - "8,45": 11, - "8,46": 11, - "8,47": 11, + "7,1": 4, + "7,22": 4, + "7,23": 8, + "8,1": 9, + "8,2": 9, + "8,3": 9, + "8,4": 9, + "8,5": 9, + "8,6": 9, + "8,7": 9, + "8,8": 9, + "8,9": 9, + "8,10": 9, + "8,11": 9, + "8,12": 9, + "8,13": 9, + "8,14": 9, + "8,15": 9, + "8,16": 9, + "8,17": 9, + "8,18": 9, + "8,19": 9, + "8,20": 9, + "8,21": 9, + "8,22": 9, + "8,23": 9, + "8,24": 10, + "8,25": 10, + "8,26": 10, + "8,27": 10, + "8,28": 10, + "8,29": 10, + "8,30": 10, + "8,31": 10, + "8,32": 10, + "8,33": 10, + "8,34": 10, + "8,35": 10, + "8,36": 10, + "8,37": 10, + "8,38": 10, + "8,39": 10, + "8,40": 10, + "8,41": 10, + "8,42": 10, + "8,43": 10, + "8,44": 10, + "8,45": 10, + "8,46": 10, + "8,47": 10, "8,48": 1, "9,48": 1, - "10,1": 12, + "10,1": 11, "10,40": 0, "10,41": 1, "10,42": 1, @@ -1338,7 +1473,7 @@ "12,11": 1, "12,12": 0, "12,13": 1, - "12,16": 13, + "12,16": 12, "12,19": 1 }, "SheetStyle": { @@ -1355,13 +1490,15 @@ "1,16,1,2", "1,7,1,8", "12,16,1,3", - "1,44,1,5", - "1,38,1,5", "10,44,1,4", "10,40,1,3", "4,24,4,25", "5,6,1,16", - "12,19,1,4" + "12,19,1,4", + "12,24,1,3", + "1,24,1,5", + "1,30,1,5", + "1,46,1,3" ], "PageInfo": { "$type": "Forguncy.Model.Pages.NormalPage, ServerDesignerCommon", @@ -1413,4 +1550,4 @@ "Formula": "汇报详情!$T$13" } ] -}//B56+yqBPIxx25bXQTM4uMKLAcCQOIYu48fkQqq08NVQxMe1eeFsyv+dJMXBpYW8+bXCqGF4JAS29g6Exxisnoy7WObOm07kKedSKsOMcFBHDO9SLyodYa0qoT+xEHrpM8N66r5GVT3KSVYQNzK5WFlnEwOqs9Nz6k9cun5+AGqQ0p4MPtn/Agxp2kl1/a7hLiYf4iuFSnL9xqNKppCCLoIp+Nxk8b2h6zdFhpHREbqBGSh6oP+6TNLUiiA0tvPJ4cqo7bUVzg2yj5jUqwsMhzhT3qEQOPDn/+1saxQWWqMldO+8OmgDXm9zNveM3dk5gyjnNRacEr2ET2Q1kpVpkY/lzZdS+z2K7Zrz5IKf46HUG7hye+uYx+BOnJC30wsRcsVTl8YpzPt4xbwVLnKlv2MsBnJqV24Dy6BmdJOyYhYno/+0Qf8LccJvxuyJ4EhLz15zu0+4ZlM7a7Lllh0uLHfuNOL+ne6Jfp7kod5urt2elLqDn4FaWmIZGaJbJLxGp76eT0e7fNyGTdJZJbRrTZwgsVMnSUr0sjXQROPXoW4E3bkRCJQMckgFKn1WES916wjp1RNejHX8RLQL70lgrUHnDbG/Vt7ZZ3jaODthT9CPyCC3FqWy83L1F9dQW7GFBS1dYllCmFWr9hUqLctrlUI6hjqjnuny4BqWp2k5PLiQF/ReQF0t6oTanKPuWY38cNWzztLBKPIp9HKRu4GFybnzVhamd1+bDj8NyGwcfAdX6GjpNAaYWOXWz1ohRzp4YquEEECVSdJETYE4cnGpHHRrelLPIsG/LCDzhOP571v2CJSXdKg7VHIB1atMM+BaVsvyPop/SWQxlGXedzau3cNIz6rD0KcibB36Y8kbHkamxPVpAJPnZzLN2uw/vDyEstd8ae4ln/iGDBZnltNpByw==|920 \ No newline at end of file +}//LQAOSkJmfF719UiHhYhYw9kVmzTBD+7frXlG0LS4lwuwU+CwHntHQhhnH1uiHbQiX64Ka75yQxo0eOp/SjTDJPi8w8WDz27A46gtb77mVOMMD5Sbi1uAXQEq0K2iK50XLSUL87BjQEmnVXgaAYLl+fvwIkSA0qxVpShsu1BCHZBmTXtaQXVFovEGYuCnQBbjqUTrB+EQ2tl2nBNnydjWNJBX4/xx8+HceWFVmKavCoT1g3T9EW6Fpy8/HYQMp74TkHIHK/4JPjD8gw9icmyIuAUmYHdW7Ki0AGI0kpSj5jRJ3T4Wpu42vPTjY9Rkx8tO0+XoDeFJbak+SlaqX84AxcQF+rY/5DzQUlISpwenQSZLnwNfNSP7aoE2Czqa9ageAltwJqSBmteLo3K7oamjV/3rTSy2dQAHfR1N8zfPndX0onm8SG7KtfDzSR/ya83m+NcbOS80mRsqauIbRFzRG4uz7udeqrJQzb00GFC6vlXJOQuGEyN3DeedhmNyuO9paa3adrgLmROutcsP8dXDUep/8crBQWU7bESGob10U+sbr1LElRjzLE/ly5n3C++aqUud/iMnutM/bNEsXhB/2XEsY1NJB3x9sogNY9J1AdNGXucMUjpeIaVYlhdUDAD66XN0yIdXC58r6CeO3bztWrsBnbMRc2IfN/YSWjXl+YS6PZvWZ3f+ojlXfXuD2K7Del1Ml63wsXerlHe5Tu5WoXwzafN2ukuqMZKeMXLRPE0BoR1y/sQIEztHHrNCVUx13lfw3sLfbzbsyq9pT0BZr82eLaccLbDpi7a9ji/9ObvMFkKfP+6vvBM61Cb4KudkQ8yOjMEXLVMn+jeeXHR8eybJOplvf3m1NbLDDRBYXDOq1S0inh7xYI1JmMooHsPfBtqSSln3QRVgIVNDzglgjg==|920 \ No newline at end of file diff --git a/Pages/项目/项目首页/项目首页-容器页面/AI任务助手.json b/Pages/项目/项目首页/项目首页-容器页面/AI任务助手.json new file mode 100644 index 00000000..d3967e02 --- /dev/null +++ b/Pages/项目/项目首页/项目首页-容器页面/AI任务助手.json @@ -0,0 +1,729 @@ +{ + "Rows": { + "RowColumnAttachedInfos": { + "0": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "1": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "2": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 10.0 + } + }, + "3": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "4": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 15.0 + } + }, + "5": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "6": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 10.0 + } + }, + "7": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "8": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 15.0 + } + }, + "9": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "10": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 10.0 + } + }, + "11": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 53.0, + "Mode": 1 + } + }, + "12": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 15.0 + } + }, + "13": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "14": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 10.0 + } + }, + "15": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0, + "Mode": 1 + } + }, + "16": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 15.0 + } + }, + "17": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "18": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 10.0 + } + }, + "19": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 163.0 + } + }, + "20": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "21": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "22": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "23": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "24": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "25": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "26": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "27": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + } + }, + "InLogicalVisibleIndexes": [ + 23, + 24, + 25, + 26, + 27 + ], + "Count": 28, + "DefaultSize": 32.0 + }, + "Cols": { + "RowColumnAttachedInfos": { + "0": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "1": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "2": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "3": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "4": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "5": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "6": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "7": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "8": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "9": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "10": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "11": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "12": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "13": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "14": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "15": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + }, + "16": { + "GridRowColumnDefinition": { + "DesignLengthInPixel": 32.0 + } + } + }, + "Count": 33, + "DefaultSize": 32.0 + }, + "Values": { + "1,1": "项目工期", + "1,18": "AI生成任务", + "5,1": "项目工时", + "9,1": "项目简介", + "13,1": "项目成员", + "17,1": "请描述你对任务的安排", + "21,13": "生成" + }, + "AttachInfos": { + "3,1": { + "BindingInfo": { + "TableName": "项目表", + "ColumnName": "起始日期", + "GUID": "0e3c2f8b-c72e-4c8b-9621-77700118dacb" + } + }, + "3,18": { + "CellType": { + "$type": "ElementUI.VirtualizedTableCellType, ElementUI", + "TableName": "EL虚拟表格1", + "DataType": "treeTable", + "Columns": [], + "DefaultExpansion": "collapseAll", + "LineNumberColumnSetting": { + "Width": 62, + "Align": "left", + "Fixed": "none", + "HeaderAlign": "left" + }, + "SelectColumnSettings": { + "Width": 62, + "Align": "left", + "Fixed": "none", + "HeaderAlign": "left" + }, + "OperationColumnSettings": { + "ActionButtons": [ + { + "$type": "ElementUI.VirtualizedTableActionButton, ElementUI", + "Type": "button", + "Name": "编辑", + "Shape": "default" + }, + { + "$type": "ElementUI.VirtualizedTableActionButton, ElementUI", + "Type": "button", + "Name": "删除", + "StyleType": "Accent 5", + "Shape": "default" + } + ], + "Label": "操作", + "Width": 200, + "Align": "left", + "Fixed": "none", + "HeaderAlign": "center" + } + } + }, + "7,1": { + "BindingInfo": { + "TableName": "项目表", + "ColumnName": "项目预算工时", + "GUID": "fdb23c51-a43e-484f-b093-ac8034767300" + } + }, + "11,1": { + "BindingInfo": { + "TableName": "项目表", + "ColumnName": "项目简介", + "GUID": "b11c5060-2dd8-438f-b45a-37f38c3aa551" + } + }, + "15,1": { + "BindingInfo": { + "TableName": "项目表", + "ColumnName": "参与人列表", + "GUID": "ce80f498-e6ab-4496-8d7b-c99b6e83501c" + }, + "CellType": { + "$type": "ElementUI.Tag, ElementUI", + "CommandList": [], + "UIPermissions": [ + { + "Scope": 2, + "AllowRoles": [ + "FGC_Anonymous" + ] + }, + { + "Scope": 1, + "AllowRoles": [ + "FGC_Anonymous" + ] + }, + { + "Scope": 4, + "AllowRoles": [ + "FGC_Anonymous" + ] + } + ], + "ColorList": [ + { + "color": "Accent 1" + }, + { + "color": "Accent 2" + }, + { + "color": "Accent 3" + }, + { + "color": "Accent 4" + }, + { + "color": "Accent 5" + }, + { + "color": "Accent 6" + } + ], + "separator": ",", + "size": "default", + "effect": "light", + "allowAdd": false, + "addButtonSettings": { + "width": 100, + "text": "添加标签" + }, + "distinct": false, + "ReadOnly": true + } + }, + "19,1": { + "BindingInfo": { + "TableName": "项目表", + "ColumnName": "项目简介", + "GUID": "b4c02381-e205-419b-9019-5279820edee3" + }, + "CellType": { + "$type": "Forguncy.MultilineTextBox, ServerDesignerCommon", + "TemplateKey": "_RS_NewLittleRoundCorner" + } + }, + "21,13": { + "CellType": { + "$type": "Forguncy.ButtonCellType, ServerDesignerCommon", + "Text": "生成", + "TemplateKey": "_RS_Success3", + "Icon": { + "Name": "gpt.svg", + "Color": "Accent 1", + "UseCellTypeForeColor": true + } + } + } + }, + "StyleDatas": { + "Styles": [ + { + "FontSize": 13.333333333333332 + }, + { + "BorderRight": 0 + }, + { + "FontFamily": 1, + "FontSize": 13.333333333333332, + "Foreground": 2 + }, + { + "Formatter": 3 + }, + { + "FontFamily": 1 + }, + { + "FontFamily": 1, + "FontSize": 13.333333333333332 + }, + { + "FontFamily": 1, + "BorderRight": 0 + }, + { + "FontFamily": 1, + "FontSize": 13.333333333333332, + "Formatter": 4 + }, + { + "FontFamily": 1, + "WordWrap": true + }, + { + "FontFamily": 1, + "FontSize": 13.333333333333332, + "Formatter": 5, + "VerticalAlignment": 6, + "WordWrap": true + }, + { + "FontFamily": 1, + "Formatter": 5, + "VerticalAlignment": 6, + "WordWrap": true + } + ], + "Types": { + "Strs": [ + "Background 2 0", + "Body", + "Accent 2 0", + "yyyy/m/d", + "[AUTO]General", + "@", + "Top" + ], + "Borders": [ + { + "Color": 0 + } + ] + }, + "CellStyles": { + "1,1": 0, + "1,16": 1, + "1,18": 2, + "2,16": 1, + "3,1": 3, + "3,16": 1, + "4,16": 1, + "5,0": 4, + "5,1": 5, + "5,2": 4, + "5,3": 4, + "5,4": 4, + "5,5": 4, + "5,6": 4, + "5,7": 4, + "5,8": 4, + "5,9": 4, + "5,10": 4, + "5,11": 4, + "5,12": 4, + "5,13": 4, + "5,14": 4, + "5,15": 4, + "5,16": 6, + "5,17": 4, + "5,32": 4, + "6,0": 4, + "6,1": 4, + "6,2": 4, + "6,3": 4, + "6,4": 4, + "6,5": 4, + "6,6": 4, + "6,7": 4, + "6,8": 4, + "6,9": 4, + "6,10": 4, + "6,11": 4, + "6,12": 4, + "6,13": 4, + "6,14": 4, + "6,15": 4, + "6,16": 6, + "6,17": 4, + "6,32": 4, + "7,0": 4, + "7,1": 4, + "7,16": 6, + "7,17": 4, + "7,32": 4, + "8,16": 1, + "9,0": 4, + "9,1": 7, + "9,2": 4, + "9,3": 4, + "9,4": 4, + "9,5": 4, + "9,6": 4, + "9,7": 4, + "9,8": 4, + "9,9": 4, + "9,10": 4, + "9,11": 4, + "9,12": 4, + "9,13": 4, + "9,14": 4, + "9,15": 4, + "9,16": 6, + "9,17": 4, + "9,32": 4, + "10,0": 4, + "10,1": 4, + "10,2": 4, + "10,3": 4, + "10,4": 4, + "10,5": 4, + "10,6": 4, + "10,7": 4, + "10,8": 4, + "10,9": 4, + "10,10": 4, + "10,11": 4, + "10,12": 4, + "10,13": 4, + "10,14": 4, + "10,15": 4, + "10,16": 6, + "10,17": 4, + "10,32": 4, + "11,0": 4, + "11,1": 8, + "11,16": 6, + "11,17": 4, + "11,32": 4, + "12,16": 1, + "13,0": 4, + "13,1": 7, + "13,2": 4, + "13,3": 4, + "13,4": 4, + "13,5": 4, + "13,6": 4, + "13,7": 4, + "13,8": 4, + "13,9": 4, + "13,10": 4, + "13,11": 4, + "13,12": 4, + "13,13": 4, + "13,14": 4, + "13,15": 4, + "13,16": 6, + "13,17": 4, + "13,32": 4, + "14,0": 4, + "14,1": 4, + "14,2": 4, + "14,3": 4, + "14,4": 4, + "14,5": 4, + "14,6": 4, + "14,7": 4, + "14,8": 4, + "14,9": 4, + "14,10": 4, + "14,11": 4, + "14,12": 4, + "14,13": 4, + "14,14": 4, + "14,15": 4, + "14,16": 6, + "14,17": 4, + "14,32": 4, + "15,0": 4, + "15,1": 9, + "15,16": 6, + "15,17": 4, + "15,32": 4, + "16,0": 4, + "16,1": 4, + "16,2": 4, + "16,3": 4, + "16,4": 4, + "16,5": 4, + "16,6": 4, + "16,7": 4, + "16,8": 4, + "16,9": 4, + "16,10": 4, + "16,11": 4, + "16,12": 4, + "16,13": 4, + "16,14": 4, + "16,15": 4, + "16,16": 6, + "16,17": 4, + "16,32": 4, + "17,0": 4, + "17,1": 7, + "17,2": 4, + "17,3": 4, + "17,4": 4, + "17,5": 4, + "17,6": 4, + "17,7": 4, + "17,8": 4, + "17,9": 4, + "17,10": 4, + "17,11": 4, + "17,12": 4, + "17,13": 4, + "17,14": 4, + "17,15": 4, + "17,16": 6, + "17,17": 4, + "17,32": 4, + "18,0": 4, + "18,1": 4, + "18,2": 4, + "18,3": 4, + "18,4": 4, + "18,5": 4, + "18,6": 4, + "18,7": 4, + "18,8": 4, + "18,9": 4, + "18,10": 4, + "18,11": 4, + "18,12": 4, + "18,13": 4, + "18,14": 4, + "18,15": 4, + "18,16": 6, + "18,17": 4, + "18,32": 4, + "19,0": 4, + "19,1": 10, + "19,2": 4, + "19,3": 4, + "19,4": 4, + "19,5": 4, + "19,6": 4, + "19,7": 4, + "19,8": 4, + "19,9": 4, + "19,10": 4, + "19,11": 4, + "19,12": 4, + "19,13": 4, + "19,14": 4, + "19,15": 4, + "19,16": 6, + "19,17": 4, + "19,32": 4, + "20,16": 6, + "20,17": 4, + "21,16": 6, + "21,17": 4 + }, + "SheetStyle": { + "FontFamily": 1 + } + }, + "Spans": [ + "3,1,1,15", + "11,1,1,15", + "19,1,1,15", + "15,1,1,15", + "21,13,1,3", + "7,1,1,15", + "3,18,19,14" + ], + "PageInfo": { + "$type": "Forguncy.Model.Pages.NormalPage, ServerDesignerCommon", + "PermissionData": { + "$type": "Forguncy.RbacPermission.Core.Impl.Page.PagePermissionData, Forguncy.RbacPermission.Core", + "permissionResource": { + "$type": "Forguncy.RbacPermission.Core.Impl.Page.PagePermissionResource, Forguncy.RbacPermission.Core" + }, + "permissionBindings": [ + { + "$type": "Forguncy.RbacPermission.Core.Impl.Page.PagePermissionBinding, Forguncy.RbacPermission.Core", + "roleNames": [ + "FGC_LoginUser" + ] + } + ] + }, + "RowBreakLines": [], + "RepeatRangeSettings": [] + }, + "PrintInfo": { + "PaperSize": {}, + "Margin": {} + } +}//j1OQPmxr9ga5QstMPqZwTDuWLDzeQgs1SA3mKIpIS2vuItlz08gbNRGxxQQ9vHWA+YabrpUee8N91rXwFlmG13Zv09JImRqZuFJekOYfHEkRdeWKuG8Es+G/BfGYfZhwHJftHscQXe6/afZ+bk91FGd6OaOE8h8AU2vkcdrufuKyIfrLYRQr5F+FFnPLEULvH2rUtDOp3m+LrdTFY1ML43scXldK5ZH/2CM7JHubG9kek2bwWQztA/xCka5Avc0aYCQ4pfbL1lBPfmVZWdhBZ2GQFzOmAm1Uy7Eur4dXvhh2T1qgIXuvZttvM3uw4OLQ0vS4gURgPZ3gF5GN3D5g1aaOiH6nqxHRUB1xj2XTWePNYozauIJOxuGr2oYbXisFcXU8sFXi3cOikUoF7i2IKuoGlYaZHvznX9E2fTUVoQVIjsnaSjV61juH+gSlVTML2e1zqC94fhPXCKdSJdKZLwm0l+04ERrFWZHErmis1ywAdJaU15SGoZOYgkR7cSY4EsNcXDDz6aLfKw3nJ0PcPAp2qXZKZ65H3jGIjLLOWkwj/BtTDYrxCAAeF9R4+X1T4jt/jLLBCBTQ+3W0ewWLPP1k1yschD85dsbdPVsRAwRkCIgqofwHZfQi5aaEa605IsJdf8fThi85uIO01OdodpsDZWohXAWWrwwZmOK6+9oBzL9gN1T3aJT8poWlk/3bhrxoKwVLaOqUiT819kcMciE7gAE2JiYS0N/xV1PF9IUcgiPGbMeLu4LNpw7hjPCG1frJUHxhfjWZAhV6+pGLeTtS7fb7aZJQMrZISX8faZ76plB1yqHrh219jfJa2xUGxH8bbxZg+vT6jcsmMSqrRrAvT8rh/OEKKrw+h9KVxfUT/ze15qC9np70zW6x2KOKEBPvP/8eqf6ykHrzV10lRw==|920 \ No newline at end of file diff --git a/Pages/项目/项目首页/项目首页-容器页面/AI任务助手.rd b/Pages/项目/项目首页/项目首页-容器页面/AI任务助手.rd new file mode 100644 index 00000000..d67ca21f --- /dev/null +++ b/Pages/项目/项目首页/项目首页-容器页面/AI任务助手.rd @@ -0,0 +1,5 @@ +{ + "PageType": 0, + "ColumnCount": 33, + "RowCount": 28 +} \ No newline at end of file diff --git a/Pages/项目/项目首页/项目首页-容器页面/任务列表.json b/Pages/项目/项目首页/项目首页-容器页面/任务列表.json index 3792110e..783909c3 100644 --- a/Pages/项目/项目首页/项目首页-容器页面/任务列表.json +++ b/Pages/项目/项目首页/项目首页-容器页面/任务列表.json @@ -157,7 +157,14 @@ }, "17": { "GridRowColumnDefinition": { - "DesignLengthInPixel": 32.0 + "DesignLengthInPixel": 32.0, + "Mode": 2, + "MinLength": { + "Unit": 1 + }, + "MaxLength": { + "Value": 1.0 + } } }, "18": { @@ -182,14 +189,7 @@ }, "22": { "GridRowColumnDefinition": { - "DesignLengthInPixel": 32.0, - "Mode": 2, - "MinLength": { - "Unit": 1 - }, - "MaxLength": { - "Value": 1.0 - } + "DesignLengthInPixel": 32.0 } }, "23": { @@ -282,7 +282,7 @@ "DefaultSize": 32.0 }, "Values": { - "1,35": "新增任务", + "1,34": "新增任务", "10,1": "添加分组" }, "AttachInfos": { @@ -304,7 +304,7 @@ "WaterMark": "搜索分组" } }, - "1,10": { + "1,9": { "CssName": "singlebox", "CellType": { "$type": "Forguncy.RadioGroupCellType, ServerDesignerCommon", @@ -327,7 +327,7 @@ "NoneItemText": "全部" } }, - "1,19": { + "1,18": { "CellType": { "$type": "ElementUI.SelectCellType, ElementUI", "CommandList": [], @@ -400,7 +400,7 @@ "noMatchText": "无匹配数据" } }, - "1,27": { + "1,26": { "CellType": { "$type": "ElementUI.InputCellType, ElementUI", "CommandList": [], @@ -435,7 +435,7 @@ "resize": "none" } }, - "1,35": { + "1,34": { "CellType": { "$type": "Forguncy.ButtonCellType, ServerDesignerCommon", "CommandList": [ @@ -537,6 +537,15 @@ "IconSize": 14.0 } }, + "1,37": { + "CssName": "rotate-slow", + "CellType": { + "$type": "Forguncy.ImageCellType, ServerDesignerCommon", + "ToolTip": "AI助手", + "Size": 18, + "ImagePath": "gpt.svg" + } + }, "3,1": { "CellType": { "$type": "Forguncy.RepeaterCellType, ServerDesignerCommon", @@ -758,7 +767,7 @@ }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=任务列表!K2" + "SerializeProperty": "=任务列表!J2" } }, { @@ -770,7 +779,7 @@ }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=任务列表!T2" + "SerializeProperty": "=任务列表!S2" } }, { @@ -783,7 +792,7 @@ }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=任务列表!AB2" + "SerializeProperty": "=任务列表!AA2" } } ] @@ -981,24 +990,20 @@ { "FontFamily": 1 }, - { - "FontFamily": 1, - "Formatter": 3 - }, { "FontFamily": 1, "FontSize": 13.333333333333332 }, { "FontSize": 13.333333333333332, - "HorizontalAlignment": 4, - "VerticalAlignment": 5 + "HorizontalAlignment": 3, + "VerticalAlignment": 4 }, { "Background": 0, "FontSize": 13.333333333333332, - "Foreground": 6, - "HorizontalAlignment": 4 + "Foreground": 5, + "HorizontalAlignment": 3 } ], "Types": { @@ -1006,7 +1011,6 @@ "Background 2 0", "Body", "@", - "[AUTO]General", "Center", "Top", "black" @@ -1027,20 +1031,36 @@ "1,6": 2, "1,7": 0, "1,9": 3, - "1,10": 4, - "1,19": 4, + "1,10": 2, + "1,11": 2, + "1,12": 2, + "1,13": 2, + "1,14": 2, + "1,15": 2, + "1,16": 2, + "1,18": 3, + "1,19": 2, "1,20": 2, "1,21": 2, "1,22": 2, "1,23": 2, "1,24": 2, "1,25": 2, - "1,27": 4, - "1,35": 4, + "1,26": 3, + "1,27": 2, + "1,28": 2, + "1,29": 2, + "1,30": 2, + "1,31": 2, + "1,32": 2, + "1,33": 2, + "1,34": 3, + "1,35": 2, "1,36": 2, - "1,37": 2, + "1,37": 3, + "1,38": 2, "2,7": 0, - "3,1": 5, + "3,1": 4, "3,7": 0, "3,9": 2, "3,38": 2, @@ -1057,31 +1077,31 @@ "7,7": 0, "7,9": 2, "7,38": 2, - "8,1": 5, - "8,2": 5, - "8,3": 5, - "8,4": 5, - "8,5": 5, - "8,6": 5, + "8,1": 4, + "8,2": 4, + "8,3": 4, + "8,4": 4, + "8,5": 4, + "8,6": 4, "8,7": 0, "8,38": 2, - "9,1": 5, - "9,2": 5, - "9,3": 5, - "9,4": 5, - "9,5": 5, - "9,6": 5, + "9,1": 4, + "9,2": 4, + "9,3": 4, + "9,4": 4, + "9,5": 4, + "9,6": 4, "9,7": 0, "9,38": 2, - "10,1": 6, + "10,1": 5, "10,7": 0, "10,38": 2, - "11,1": 5, - "11,2": 5, - "11,3": 5, - "11,4": 5, - "11,5": 5, - "11,6": 5, + "11,1": 4, + "11,2": 4, + "11,3": 4, + "11,4": 4, + "11,5": 4, + "11,6": 4, "11,7": 0, "11,9": 2, "11,10": 2, @@ -1123,12 +1143,13 @@ "3,1,6,6", "3,7,6,1", "1,1,1,6", - "1,10,1,8", - "1,19,1,7", - "1,27,1,7", - "1,35,1,3", "5,10,6,28", - "10,1,1,6" + "10,1,1,6", + "1,37,1,2", + "1,18,1,7", + "1,26,1,7", + "1,34,1,3", + "1,9,1,8" ], "PageInfo": { "$type": "Forguncy.Model.Pages.NormalPage, ServerDesignerCommon", @@ -1219,4 +1240,4 @@ "Formula": "任务列表!$B$4" } ] -}//3G8gQBAjW74orbraakAf+4yAfE2QZFFZNhDXOUoccCOi8Vzz9qIaqhztm7MjilkShV73ObD8sOotm0CNkfd6f5xTc3lsHCzsdfoeMWERbaU3VXcPiirbIoumYEPuuQZXruXfRv3q1gT8IioPfg5QJHeb7Ljf4RIRv8VblT2oEp7L+RLi03osyyywMTuLrXlAGD+tJ+tOPKztaTtBIlexD9CIlUa7Zc1PdjumcvX5lBdqa5EZTmVybUY4UQ5EQ7TzRMZtQwenftpCdWh/QaJ7rGDBpKRhL7sM75ybXChLDb4uxtrH4Sjq4b83PVy5nssK2qDyP1KlDXcMcziPBJEE301Zk7yyLGQtjw2b93LJ9RCjYh0Q0CiIH1s17l8DDh9gr3JX2EwUuDkLhiGH0BHWA8LF7vImsn5spm0xyuNY8/hmL6jlTUzbEdDQdbC6nyyACO29ih6qnpLpqV7HmKawtabSRQyOodjGWt9ek1N1BV6BOP/UiTd8Y83WvZ9coaMo1sFymBHa9ygkD2ISoC+Fx9cJQoYclKp5pGOTNhBqs54i90NqpiazU7KbP7N9Z/udlvFs8G7T09XFcFeyOH9HPFJyI2NfbhNwkpeAuefV8BXZe/4vl0sQdtpNURLALJEmIDhNWWUsD5F7+iItTl333WdRic9++QK7zUFKoHlrttcu3o0fhDJyfQ6Q9WxuYV+sx0t6vwc04GOywAHIxwt81jP9UFImmJYuTWJN7+oMRKKWB+uU+cn5GjzlrNGO7heKyYdBTNrwqsg/48oEqexiA2TNMHDMFeJqGgwGZQuiQHhxyxCcIp0PDzjVHBrDTBG5BXNtoTEAMDS17wPyIo486j+km0E3qlFsmIrrdtOCK8+OB9YxIJmnbmggKoiNUxhKi1z3hBl38tT2CZl8BUuJoA==|920 \ No newline at end of file +}//HCF91IYz7OEn/sGo6TBLYXQwQX4mxX4++bBz6YkiqF2QWPCB/qxV/Pgga+chCZDKvPWOxmmFsLuadPZEo2kjTyBp8qq9Ws6uK0YZQrWfgzSTONB/zoRqe704TNhx4H37XZZDh0roylp4zMOyTUunNw0Mqnu2J4YiBlJnXxnuxaCQ5Lk50oV/l9zyWxmHZ8Ba5lLm8ubWvVpESmGVYglWTqkAnOxUWpV49MoahlBMiLaVP+1Dawy6VFIS5dcMeSDfi/QH+7CzJy+irdQwZuDAZCLS2SmYVAxZCkiRZNTFSlLJrrBOC2AGE+Lg+Adkcbqtxcg0g6muvjTit71E4H+BZ0AjzyN8u8tn33c4PVevMM4oG/+slPmrcuqKNt/4lLhgoK2CIdxQRFDr3stG9rdTbkYuBg+BM0lkBbayinPq7cPLt0rMRAqHpekHoQ2mNYjKaNqhb3iNtpl5YVxIKrkHIM14HshN8rmG73wfKBMD6rWlS4beJM2yIRQuuQAwgzN++Vluqw5KM5kpoSmXKRSZU5Y/BS5y/RnhAXj2JwS6Um8Pn52raMT3gU+RE8eomut63MEXyX5dDP3BI25uLtkXCaYqysze18Op+oxm/7kvsDyaMaxlQ1yLYP5+b2f2j0s/QtPZMBAZpawjt4uJ84qG55mgl8Tw0mXH/gZjGKXjJHyR+KhVk3oiJdJW75b8Efp1M60bmxybjUlEIlX85eD+Ie9pzBQYXv7iKkOc+pWcgNIGJsrd6iTNRHr6QvmTV5Vk4FNj9Ld8w+UdemSsxf4ABQpB/8nZH4q+NDDCqLWpqZBojjwc4gaBlwe6bGPEFr9iesujbfE0BK13QE2G3msmgPEbG37ARcFgtjtBj1GfSuEc6gGmoty0E/p044B/D9kToJy9vCcAiMQTNH1Fs1nOfw==|920 \ No newline at end of file diff --git a/ServerCommands/汇报/AI内容转报工数据.json b/ServerCommands/汇报/AI内容转报工数据.json index 8954e4d6..8fd988a9 100644 --- a/ServerCommands/汇报/AI内容转报工数据.json +++ b/ServerCommands/汇报/AI内容转报工数据.json @@ -50,357 +50,375 @@ ], "Commands": [ { - "$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit", - "OutParamaterName": "聊天记录" - }, - { - "$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit", - "OperationParamaterPairs": [ - { - "Name": "role", - "Value": "user" - }, - { - "Name": "content", - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=汇报内容" - } - } - ], - "OutParamaterName": "我的消息" - }, - { - "$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit", - "InParamater": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=聊天记录" - }, - "Operation": 4, - "OperationParamaterAName": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=我的消息" - }, - "OutParamaterName": "聊天记录" - }, - { - "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", - "ParameterName": "获取返回数据", - "ID": "2d5721f5d57e4f99bf86c95b7ba87b44" - }, - { - "$type": "OPENAIFORGUNCY.Completions, OPENAIFORGUNCY", - "URL": "https://oa.api2d.net", - "APIKEY": "fk211858-C6yKrsealBkvHao04yT9Ypg6GR0NVPyh", - "IsDataSource": "json", - "MessageJSON": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=聊天记录" - }, - "Parameter": { - "Model": 43, - "Temperature": 1.0, - "TopP": 1.0, - "MaxTokens": 3000, - "SystemContent": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=\"我稍后将发送一篇关于工作日报的内容,汇报人为:\"&汇报人&\"汇报日期为:\"&汇报日期&\"请帮我将工作内容帮我整理成结构化标准数据,我用来写入数据表,通过调用[生成日报数据]命令来想我传递结果参数。\"" - }, - "Response_format": "text" - }, - "OpenTools": true, - "Tools": [ - { - "$type": "OPENAIFORGUNCY.FunctionCallObj, OPENAIFORGUNCY", - "Name": "CreateReportData", - "Description": "通过一段自然语言文本,生成结构化的日报数据,用于写到数据表。", - "Properties": [ - { - "$type": "OPENAIFORGUNCY.PropertiesObj, OPENAIFORGUNCY", - "Name": "reportList", - "PropertiesType": 4, - "Description": "工作日报数据数组,每一个成员都代表一项工作数据", - "Properties": [], - "Items": { - "Name": "工作日报数据对象", - "PropertiesType": 3, - "Description": "工作日报数据对象,包含工作日报的各个属性和值", - "Required": "type,content", + "$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon", + "TryCommandPart": { + "CommandList": [ + { + "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", + "ParameterName": "获取返回数据", + "ID": "1160201db9ab4885af5731b6a4f0c15e" + }, + { + "$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit", + "OutParamaterName": "聊天记录" + }, + { + "$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit", + "OperationParamaterPairs": [ + { + "Name": "role", + "Value": "user" + }, + { + "Name": "content", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=汇报内容" + } + } + ], + "OutParamaterName": "我的消息" + }, + { + "$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit", + "InParamater": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=聊天记录" + }, + "Operation": 4, + "OperationParamaterAName": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=我的消息" + }, + "OutParamaterName": "聊天记录" + }, + { + "$type": "OPENAIFORGUNCY.Completions, OPENAIFORGUNCY", + "URL": "https://oa.api2d.net", + "APIKEY": "fk211858-C6yKrsealBkvHao04yT9Ypg6GR0NVPyh", + "IsDataSource": "json", + "MessageJSON": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=聊天记录" + }, + "Parameter": { + "Model": 43, + "Temperature": 1.0, + "TopP": 1.0, + "MaxTokens": 3000, + "SystemContent": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=\"我稍后将发送一篇关于工作日报的内容,汇报人为:\"&汇报人&\"汇报日期为:\"&汇报日期&\"请帮我将工作内容帮我整理成结构化标准数据,我用来写入数据表,通过调用[生成日报数据]命令来想我传递结果参数。\"" + }, + "Response_format": "text" + }, + "OpenTools": true, + "Tools": [ + { + "$type": "OPENAIFORGUNCY.FunctionCallObj, OPENAIFORGUNCY", + "Name": "CreateReportData", + "Description": "通过一段自然语言文本,生成结构化的日报数据,用于写到数据表。", "Properties": [ { "$type": "OPENAIFORGUNCY.PropertiesObj, OPENAIFORGUNCY", - "Name": "type", - "Description": "日报代表对昨日工作的汇报,计划为今日还未执行的计划", - "Enum": "日报,计划", - "Properties": [] - }, - { - "$type": "OPENAIFORGUNCY.PropertiesObj, OPENAIFORGUNCY", - "Name": "content", - "Description": "指具体某一项工作内容,你可以进行适当润色,对所耗时长的内容请放置time参数里,这里需要删掉。", - "Properties": [] - }, - { - "$type": "OPENAIFORGUNCY.PropertiesObj, OPENAIFORGUNCY", - "Name": "time", - "PropertiesType": 2, - "Description": "某一项工作内容的工作时长,单位为小时,不可自行推测和修改,如果内容中没有就为空。", - "Properties": [] - } - ] - } - } - ], - "Required": "type,content", - "CallFunctionCommand": { - "$type": "GrapeCity.Forguncy.Commands.CustomCommandObject, Forguncy.Commands", - "Commands": [ - { - "$type": "Forguncy.Model.LoopCommand, ServerDesignerCommon", - "LoopInfo": { - "$type": "Forguncy.Model.CountLoopInfo, ServerDesignerCommon", - "LoopCount": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=参数对象.reportList" - }, - "LoopItemParamName": "Item" - }, - "CommandList": [ - { - "$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon", - "TableName": "汇报子表", - "UpdateType": "add", - "ShowConfirm": false, - "UpdateBindingValues": [ - { - "BindingInfo": { - "TableName": "汇报子表", - "ColumnName": "汇报ID", - "GUID": "39d1011f-77d2-4106-b28c-a0b3bcadaebf" + "Name": "reportList", + "PropertiesType": 4, + "Description": "工作日报数据数组,每一个成员都代表一项工作数据", + "Properties": [], + "Items": { + "Name": "工作日报数据对象", + "PropertiesType": 3, + "Description": "工作日报数据对象,包含工作日报的各个属性和值", + "Required": "type,content", + "Properties": [ + { + "$type": "OPENAIFORGUNCY.PropertiesObj, OPENAIFORGUNCY", + "Name": "type", + "Description": "日报代表对昨日工作的汇报,计划为今日还未执行的计划", + "Enum": "日报,计划", + "Properties": [] }, - "Value": "1" - }, - { - "BindingInfo": { - "TableName": "汇报子表", - "ColumnName": "汇报类型", - "GUID": "8168f28d-1cd9-4747-92ac-ccb24b01cbf7" + { + "$type": "OPENAIFORGUNCY.PropertiesObj, OPENAIFORGUNCY", + "Name": "content", + "Description": "指具体某一项工作内容,你可以进行适当润色,对所耗时长的内容请放置time参数里,这里需要删掉。", + "Properties": [] }, - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=Item.type" + { + "$type": "OPENAIFORGUNCY.PropertiesObj, OPENAIFORGUNCY", + "Name": "time", + "PropertiesType": 2, + "Description": "某一项工作内容的工作时长,单位为小时,不可自行推测和修改,如果内容中没有就为空。", + "Properties": [] } - }, - { - "BindingInfo": { - "TableName": "汇报子表", - "ColumnName": "汇报内容", - "GUID": "7cd850b0-866e-4b35-b100-d7619a225767" - }, - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=Item.content" - } - }, - { - "BindingInfo": { - "TableName": "汇报子表", - "ColumnName": "工时", - "GUID": "5867bc71-06f3-4adb-93e2-9cb407b6929a" - }, - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=Item.time" - } - }, - { - "BindingInfo": { - "TableName": "汇报子表", - "ColumnName": "关联任务", - "GUID": "fb41bf88-a680-4215-851f-53cb228334c4" - }, - "Value": "1" - }, - { - "BindingInfo": { - "TableName": "汇报子表", - "ColumnName": "关联项目", - "GUID": "d8b6a211-6d0c-4826-9474-748a3de364f6" - }, - "Value": "1" - } - ] + ] + } } ], - "Disabled": true - }, - { - "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", - "ErrorCode": "0", - "Message": "ok", - "CustomReturns": [ - { - "ReturnPropertyName": "日报JSON" - } - ], - "Disabled": true - } - ], - "ParamProperties": { - "arguments": "参数对象" - } - } - } - ], - "ResultTo": "result", - "CommandList": [ - { - "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", - "ParameterName": "第一条消息", - "ParameterValue": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=result.choices.0.delta" - }, - "ID": "e64b8c9ac33645ffb3001c151acc8918" - }, - { - "$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": "=第一条消息.tool_calls" - } - }, - "value": "%Null%", - "compareType": 1 - }, - { - "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", - "param": { - "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", - "ParamObject": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=第一条消息.tool_calls.Count" - } - }, - "value": "0", - "compareType": 2 - } - ] - }, - "CommandList": [ - { - "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", - "ParameterName": "第一条命令", - "ParameterValue": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=第一条消息.tool_calls.0.function" - }, - "ID": "71cc339549c14ef6ab89d4df1ab33791" - }, - { - "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", - "ConditionAndCommandPairList": [ + "Required": "type,content", + "CallFunctionCommand": { + "$type": "GrapeCity.Forguncy.Commands.CustomCommandObject, Forguncy.Commands", + "Commands": [ { - "Condition": { - "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", - "param": { - "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", - "ParamObject": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=第一条命令.name" - } + "$type": "Forguncy.Model.LoopCommand, ServerDesignerCommon", + "LoopInfo": { + "$type": "Forguncy.Model.CountLoopInfo, ServerDesignerCommon", + "LoopCount": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=参数对象.reportList" }, - "value": "CreateReportData" + "LoopItemParamName": "Item" }, "CommandList": [ { - "$type": "JsonUtilityCommand.JsonDeserializeCommand, JsonUtilityCommand", - "JsonString": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=第一条命令.arguments" - }, - "SampleJson": "{\r\n \"reportList\": [\r\n {\r\n \"type\": \"日报\",\r\n \"content\": \"今天和报价系统部门做了沟通,了解了关于成本的细节\",\r\n \"time\": 120\r\n },\r\n {\r\n \"type\": \"日报\",\r\n \"content\": \"对发票标准版系统进行了升级\",\r\n \"time\": 0\r\n },\r\n {\r\n \"type\": \"日报\",\r\n \"content\": \"研究了时间轮插件,并进行了测试\",\r\n \"time\": 120\r\n },\r\n {\r\n \"type\": \"计划\",\r\n \"content\": \"继续测试时间轮插件\",\r\n \"time\": 0\r\n },\r\n {\r\n \"type\": \"计划\",\r\n \"content\": \"更新发票标准版系统的离线发布文件,并部署到测试服务器\",\r\n \"time\": 0\r\n },\r\n {\r\n \"type\": \"计划\",\r\n \"content\": \"完善PMS\",\r\n \"time\": 60\r\n }\r\n ]\r\n}", - "ToParameter": "arguments" - }, - { - "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", - "ParameterName": "reportList", - "ParameterValue": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=arguments.reportList" - }, - "ID": "6fba4b5f2a574cf08a7c6c685c9ddacf" - }, - { - "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", - "ErrorCode": "0", - "Message": "生成完毕", - "CustomReturns": [ + "$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon", + "TableName": "汇报子表", + "UpdateType": "add", + "ShowConfirm": false, + "UpdateBindingValues": [ { - "ReturnPropertyName": "日报JSON", + "BindingInfo": { + "TableName": "汇报子表", + "ColumnName": "汇报ID", + "GUID": "39d1011f-77d2-4106-b28c-a0b3bcadaebf" + }, + "Value": "1" + }, + { + "BindingInfo": { + "TableName": "汇报子表", + "ColumnName": "汇报类型", + "GUID": "8168f28d-1cd9-4747-92ac-ccb24b01cbf7" + }, "Value": { "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=reportList" + "SerializeProperty": "=Item.type" } + }, + { + "BindingInfo": { + "TableName": "汇报子表", + "ColumnName": "汇报内容", + "GUID": "7cd850b0-866e-4b35-b100-d7619a225767" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=Item.content" + } + }, + { + "BindingInfo": { + "TableName": "汇报子表", + "ColumnName": "工时", + "GUID": "5867bc71-06f3-4adb-93e2-9cb407b6929a" + }, + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=Item.time" + } + }, + { + "BindingInfo": { + "TableName": "汇报子表", + "ColumnName": "关联任务", + "GUID": "fb41bf88-a680-4215-851f-53cb228334c4" + }, + "Value": "1" + }, + { + "BindingInfo": { + "TableName": "汇报子表", + "ColumnName": "关联项目", + "GUID": "d8b6a211-6d0c-4826-9474-748a3de364f6" + }, + "Value": "1" } ] } ], - "ID": "2bbf012d-0a2f-4bfc-96fe-b8a51478c893" + "Disabled": true }, { - "CommandList": [ + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": "0", + "Message": "ok", + "CustomReturns": [ { - "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", - "ErrorCode": "0", - "Message": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=第一条消息.content" - }, - "CustomReturns": [ - { - "ReturnPropertyName": "日报JSON" - } - ] + "ReturnPropertyName": "日报JSON" } ], - "ID": "8ec03356-8284-457b-9d71-2641bb12bd94" + "Disabled": true } - ] + ], + "ParamProperties": { + "arguments": "参数对象" + } } - ], - "ID": "5630a4de-fbc5-4d3d-9918-cc5cc98e48a2" - }, - { - "CommandList": [ - { - "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", - "ErrorCode": "0", - "Message": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=第一条消息.content" + } + ], + "ResultTo": "result", + "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": "=result.tool_calls" + } + }, + "value": "%Null%", + "compareType": 1 + }, + { + "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", + "param": { + "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", + "ParamObject": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=result.tool_calls.Count" + } + }, + "value": "0", + "compareType": 2 + } + ] + }, + "CommandList": [ + { + "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", + "ParameterName": "function", + "ParameterValue": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=result.tool_calls.0.function" + }, + "ID": "bf1604d840c5489ba3eea9adeb21f391" + }, + { + "$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": "=function.name" + } + }, + "value": "CreateReportData" + }, + "CommandList": [ + { + "$type": "JsonUtilityCommand.JsonDeserializeCommand, JsonUtilityCommand", + "JsonString": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=function.arguments" + }, + "SampleJson": "{\r\n \"reportList\": [\r\n {\r\n \"type\": \"日报\",\r\n \"content\": \"今天和报价系统部门做了沟通,了解了关于成本的细节\",\r\n \"time\": 120\r\n },\r\n {\r\n \"type\": \"日报\",\r\n \"content\": \"对发票标准版系统进行了升级\",\r\n \"time\": 0\r\n },\r\n {\r\n \"type\": \"日报\",\r\n \"content\": \"研究了时间轮插件,并进行了测试\",\r\n \"time\": 120\r\n },\r\n {\r\n \"type\": \"计划\",\r\n \"content\": \"继续测试时间轮插件\",\r\n \"time\": 0\r\n },\r\n {\r\n \"type\": \"计划\",\r\n \"content\": \"更新发票标准版系统的离线发布文件,并部署到测试服务器\",\r\n \"time\": 0\r\n },\r\n {\r\n \"type\": \"计划\",\r\n \"content\": \"完善PMS\",\r\n \"time\": 60\r\n }\r\n ]\r\n}", + "ToParameter": "arguments" + }, + { + "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", + "ParameterName": "reportList", + "ParameterValue": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=arguments.reportList" + }, + "ID": "46466e3f3c5a40a8a27b326072688b5e" + } + ], + "ID": "c896a53b-a72f-43d7-a514-47b4513396a5" + }, + { + "CommandList": [ + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": "0", + "Message": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=第一条消息.content" + }, + "CustomReturns": [ + { + "ReturnPropertyName": "日报JSON" + } + ] + } + ], + "ID": "c038072d-e2d1-45cd-9566-d7b9b0b0fb12" + } + ] + } + ], + "ID": "9d0189c2-7188-4beb-bc64-32bdb9240476" }, - "CustomReturns": [ - { - "ReturnPropertyName": "日报JSON" - } - ] + { + "CommandList": [ + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": "0", + "Message": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=第一条消息.content" + }, + "CustomReturns": [ + { + "ReturnPropertyName": "日报JSON" + } + ] + } + ], + "ID": "25d03ffb-9976-471d-b24d-f4fd5f0cb68e" + } + ] + } + ] + }, + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": "0", + "Message": "生成完毕", + "CustomReturns": [ + { + "ReturnPropertyName": "日报JSON", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=reportList" } - ], - "ID": "248dc6c4-ddae-4403-b702-129f935b6591" - } - ] - } - ] + } + ] + } + ] + }, + "CatchCommandPart": { + "CommandList": [ + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=ExceptionCode" + }, + "Message": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=ExceptionMessage" + }, + "CustomReturns": [ + { + "ReturnPropertyName": "日报JSON" + } + ] + } + ] + } } ], "ReturnProperties": [ diff --git a/ServerCommands/汇报/AI报工数据转日报.json b/ServerCommands/汇报/AI报工数据转日报.json index 32968023..e3039f4c 100644 --- a/ServerCommands/汇报/AI报工数据转日报.json +++ b/ServerCommands/汇报/AI报工数据转日报.json @@ -61,171 +61,183 @@ ], "Commands": [ { - "$type": "JsonUtilityCommand.JsonDeserializeCommand, JsonUtilityCommand", - "JsonString": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=全局配置" - }, - "SampleJson": "{\"AI提示词1\":\"我将发给你一个记录着某人一天工作内容的数据,为JSON字符串,请你尝试解读它,内容中的[汇报类型]分为`日报`和`计划`。\\n- 日报指的是昨日工作内容的总结;\\n- 计划指的是今日计划工作安排;\\n请你使用为我编写一篇简要的工作日报,对于日报结构和要求如下:\\n标题为固定格式:YYYY年MM年DD月-某某工作日报\\n内容包含两个主题:昨日工作总结、今日工作计划\\n每个主题下的内容从JSON中总结,可以适当润色,但不可过度偏离源数据中的工作内容;\"}", - "ToParameter": "全局配置JSON" - }, - { - "$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit", - "OperationParamaterPairs": [ + "$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon", + "ConditionAndCommandPairList": [ { - "Name": "汇报日期", - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=汇报日期" - } - }, - { - "Name": "汇报人", - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=汇报人" - } - }, - { - "Name": "工作内容明细", - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=汇报数据" - } - } - ], - "OutParamaterName": "汇报数据对象" - }, - { - "$type": "JsonUtilityCommand.JsonSerializeCommand, JsonUtilityCommand", - "SourceObject": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=汇报数据对象" - }, - "ToParameter": "汇报数据文本" - }, - { - "$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit", - "OutParamaterName": "聊天记录" - }, - { - "$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit", - "OperationParamaterPairs": [ - { - "Name": "role", - "Value": "user" - }, - { - "Name": "content", - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=汇报数据文本" - } - } - ], - "OutParamaterName": "我的消息" - }, - { - "$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit", - "InParamater": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=聊天记录" - }, - "Operation": 4, - "OperationParamaterAName": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=我的消息" - }, - "OutParamaterName": "聊天记录" - }, - { - "$type": "OPENAIFORGUNCY.Completions, OPENAIFORGUNCY", - "URL": "https://oa.api2d.net", - "APIKEY": "fk211858-C6yKrsealBkvHao04yT9Ypg6GR0NVPyh", - "IsDataSource": "json", - "MessageJSON": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=聊天记录" - }, - "Parameter": { - "Model": 43, - "Temperature": 1.0, - "TopP": 1.0, - "MaxTokens": 3000, - "SystemContent": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=全局配置JSON.AI提示词1" - }, - "Response_format": "text" - }, - "Tools": [], - "ResultTo": "result", - "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": "=result" - } - }, - "value": "%Null%", - "compareType": 1 - }, - "CommandList": [ - { - "$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon", - "ParameterName": "回复消息", - "ParameterValue": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=result.choices.0.delta.content" - }, - "ID": "39923e69847142ef9112d1f7ff63b431" - }, - { - "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", - "ErrorCode": "0", - "Message": "生成完成", - "CustomReturns": [ - { - "ReturnPropertyName": "生成文本", - "Value": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=回复消息" - } - } - ] - } - ], - "ID": "c682b2d2-7253-43d4-b57f-e979981af543" + "Condition": { + "$type": "Forguncy.Model.IfCondition, ServerDesignerCommon", + "param": { + "$type": "Forguncy.Model.IfConditionServerSiteParam, ServerDesignerCommon", + "ParamObject": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=汇报数据.Count" + } }, + "value": "0", + "compareType": 2 + }, + "CommandList": [ { - "CommandList": [ - { - "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", - "ErrorCode": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=返回结果.error_code" + "$type": "Forguncy.Model.CatchExceptionCommand, ServerDesignerCommon", + "TryCommandPart": { + "CommandList": [ + { + "$type": "JsonUtilityCommand.JsonDeserializeCommand, JsonUtilityCommand", + "JsonString": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=全局配置" + }, + "SampleJson": "{\"AI提示词1\":\"我将发给你一个记录着某人一天工作内容的数据,为JSON字符串,请你尝试解读它,内容中的[汇报类型]分为`日报`和`计划`。\\n- 日报指的是昨日工作内容的总结;\\n- 计划指的是今日计划工作安排;\\n请你使用为我编写一篇简要的工作日报,对于日报结构和要求如下:\\n标题为固定格式:YYYY年MM年DD月-某某工作日报\\n内容包含两个主题:昨日工作总结、今日工作计划\\n每个主题下的内容从JSON中总结,可以适当润色,但不可过度偏离源数据中的工作内容;\"}", + "ToParameter": "全局配置JSON" }, - "Message": { - "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", - "SerializeProperty": "=返回结果.error_msg" + { + "$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit", + "OperationParamaterPairs": [ + { + "Name": "汇报日期", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=汇报日期" + } + }, + { + "Name": "汇报人", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=汇报人" + } + }, + { + "Name": "工作内容明细", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=汇报数据" + } + } + ], + "OutParamaterName": "汇报数据对象" }, - "CustomReturns": [ - { - "ReturnPropertyName": "生成文本" - } - ] - } - ], - "ID": "7e03f0e5-4ff6-4984-96d9-32b64d1e071e" + { + "$type": "JsonUtilityCommand.JsonSerializeCommand, JsonUtilityCommand", + "SourceObject": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=汇报数据对象" + }, + "ToParameter": "汇报数据文本" + }, + { + "$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit", + "OutParamaterName": "聊天记录" + }, + { + "$type": "CollectionOperationKit.ServerSideObjectOp, CollectionOperationKit", + "OperationParamaterPairs": [ + { + "Name": "role", + "Value": "user" + }, + { + "Name": "content", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=汇报数据文本" + } + } + ], + "OutParamaterName": "我的消息" + }, + { + "$type": "CollectionOperationKit.ServerSideArrayOp, CollectionOperationKit", + "InParamater": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=聊天记录" + }, + "Operation": 4, + "OperationParamaterAName": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=我的消息" + }, + "OutParamaterName": "聊天记录" + }, + { + "$type": "OPENAIFORGUNCY.Completions, OPENAIFORGUNCY", + "URL": "https://openai.api2d.net", + "APIKEY": "fk211858-C6yKrsealBkvHao04yT9Ypg6GR0NVPyh", + "IsDataSource": "json", + "MessageJSON": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=聊天记录" + }, + "Parameter": { + "Model": 43, + "Temperature": 1.0, + "TopP": 1.0, + "MaxTokens": 3000, + "SystemContent": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=全局配置JSON.AI提示词1" + }, + "Response_format": "text" + }, + "Tools": [], + "ResultTo": "result", + "CommandList": [ + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": "0", + "Message": "生成完成", + "CustomReturns": [ + { + "ReturnPropertyName": "生成文本", + "Value": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=result.content" + } + } + ] + } + ] + } + ] + }, + "CatchCommandPart": { + "CommandList": [ + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=ExceptionCode" + }, + "Message": { + "$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon", + "SerializeProperty": "=ExceptionMessage" + }, + "CustomReturns": [ + { + "ReturnPropertyName": "生成文本" + } + ] + } + ] + } } - ] + ], + "ID": "722f555e-4094-4a1d-8191-881a5861f680" + }, + { + "CommandList": [ + { + "$type": "Forguncy.Model.ReturnCommand, ServerDesignerCommon", + "ErrorCode": "400", + "Message": "请提供工作内容后再试", + "CustomReturns": [ + { + "ReturnPropertyName": "生成文本" + } + ] + } + ], + "ID": "761504f4-8247-41b7-b6bd-34a3f281a571" } ] } diff --git a/Tables/项目/项目表.json b/Tables/项目/项目表.json index ddd669d0..b0614225 100644 --- a/Tables/项目/项目表.json +++ b/Tables/项目/项目表.json @@ -629,6 +629,12 @@ "Name": "项目岗位数", "ColumnType": "System.Int32, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e" }, + { + "$type": "Forguncy.SaveLoad.FormulaColumnSaveData, ServerDesignerCommon", + "Formula": "YEAR([计划开始日期])&\"年\"&MONTH([计划开始日期])&\"年\"&DAY([计划开始日期])&\"~\"&YEAR([计划完成日期])&\"年\"&MONTH([计划完成日期])&\"年\"&DAY([计划完成日期])", + "Name": "起始日期", + "ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e" + }, { "$type": "Forguncy.SaveLoad.UserExtraBingingColumnSaveData, ServerDesignerCommon", "ColumnType": "System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e", diff --git a/UserFile/BaseCss.css b/UserFile/BaseCss.css index f61517cd..5d937857 100644 --- a/UserFile/BaseCss.css +++ b/UserFile/BaseCss.css @@ -142,4 +142,29 @@ white-space: normal !important; padding: 0 !important; background-color: transparent !important; +} + +/* 定义旋转动画 */ +@keyframes rotate-and-fade { + 0% { + transform: rotate(0deg); + opacity: 1; + } + 25% { + transform: rotate(90deg); + opacity: 0.6; + } + 50% { + transform: rotate(180deg); + opacity: 1; + } + 100% { + transform: rotate(360deg); + opacity: 0.6; + } +} + +/* 应用动画的CSS类 */ +.rotate-slow { + animation: rotate-and-fade 10s linear infinite; /* 持续时间10秒,线性速率,无限循环 */ } \ No newline at end of file