{"Message":"增加周报的AI生成功能","MessageType":2,"Modules":[{"State":1,"Type":1,"Name":"PCPage/项目标题"},{"State":1,"Type":1,"Name":"PCPage/汇报详情"},{"State":1,"Type":40,"Name":"Plugin"},{"State":1,"Type":15,"Name":"ServerCommand/AI对话"},{"State":1,"Type":1,"Name":"PCPage/项目周报首页"},{"State":1,"Type":1,"Name":"PCPage/项目周报详情"},{"State":3,"Type":15,"Name":"ServerCommand/AI生成周报"}],"Version":"v1"}

This commit is contained in:
SHAMUSPC\NINGMEI
2024-05-21 11:43:02 +08:00
parent abaf835b76
commit f6f0fa7e3f
13 changed files with 1257 additions and 322 deletions

View File

@@ -53,8 +53,14 @@
},
"11": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 69.0,
"Mode": 1
"DesignLengthInPixel": 238.0,
"Mode": 2,
"MinLength": {
"Unit": 1
},
"MaxLength": {
"Value": 1.0
}
}
},
"12": {
@@ -74,8 +80,14 @@
},
"15": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 69.0,
"Mode": 1
"DesignLengthInPixel": 238.0,
"Mode": 2,
"MinLength": {
"Unit": 1
},
"MaxLength": {
"Value": 1.0
}
}
},
"16": {
@@ -148,46 +160,48 @@
"DesignLengthInPixel": 32.0
}
},
"13": {
"26": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"14": {
"27": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"15": {
"28": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"16": {
"29": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"17": {
"30": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"18": {
"31": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
}
},
"Count": 19,
"Count": 32,
"DefaultSize": 32.0
},
"Values": {
"1,1": "项目",
"5,1": "汇报日期",
"9,1": "上周工作",
"9,28": "AI生成",
"13,1": "本周计划",
"18,15": "保存"
"18,28": "保存",
"20,1": "%CurrentUser.UserName%"
},
"AttachInfos": {
"3,1": {
@@ -319,6 +333,195 @@
"IgnoreBlank": false
}
},
"9,28": {
"CellType": {
"$type": "Forguncy.ButtonCellType, ServerDesignerCommon",
"CommandList": [
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "ForguncyDataAccess.RelationSqlCondition, ForguncyDataAccess",
"SubConditions": [
{
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon",
"cellLocations": [
{
"SerializeProperty": "=项目周报详情!项目ID"
}
]
},
"value": "%Null%",
"compareType": 1
},
{
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon",
"cellLocations": [
{
"SerializeProperty": "=项目周报详情!B8"
}
]
},
"value": "%Null%",
"compareType": 1
}
]
},
"CommandList": [
{
"$type": "Notiflix_Forguncy.Block_Command, Notiflix_Forguncy",
"Cell": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目周报详情!B12"
},
"Title": "加载中"
},
{
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
"ServerCommandName": "AI生成周报",
"Parameters": [
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "成员",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目周报详情!B21"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "项目ID",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目周报详情!项目ID"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "生成日期",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=TEXT(项目周报详情!B8,\"yyyy-mm-dd\")"
}
}
],
"ResultErrorCodeTo": {
"SerializeProperty": "code"
},
"ResultMessageTo": {
"SerializeProperty": "msg"
},
"ReturnPropertiesTo": [
{
"ResultPropertyName": "上周工作",
"ResultTo": {
"SerializeProperty": "上周工作"
}
}
],
"RefreshAfterFinish": true,
"CheckDataValidation": true
},
{
"$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": "Forguncy.Model.SetCellPropertyCommand, ServerDesignerCommon",
"PropertyItemsList": [
{
"TargetCells": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目周报详情!B12"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目周报详情!上周工作"
}
}
]
},
{
"$type": "Notiflix_Forguncy.Notify_Command, Notiflix_Forguncy",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目周报详情!msg&\",请完善所属项目和任务\""
}
}
],
"ID": "3245f3dc-91db-4894-90d9-1e4d7d25b08f"
},
{
"CommandList": [
{
"$type": "Notiflix_Forguncy.Report_Command, Notiflix_Forguncy",
"FunctionName": "info",
"Title": "温馨提示",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目周报详情!msg"
},
"BtnText": "知道了"
}
],
"ID": "83d91d47-1b24-414e-aa38-68feeb4cbc67"
}
]
},
{
"$type": "Notiflix_Forguncy.Block_Command, Notiflix_Forguncy",
"FunctionName": "remove",
"Cell": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=项目周报详情!B12"
},
"Title": "加载中"
}
],
"ID": "0c8cbeea-aa99-447f-a8bc-419beca863e0"
},
{
"CommandList": [
{
"$type": "Notiflix_Forguncy.Notify_Command, Notiflix_Forguncy",
"FourStandardStyle": "warning",
"Message": "请选择日期和项目"
}
],
"ID": "79eaf3e9-b75d-41f3-8c3a-9133d3d61d81"
}
]
}
],
"Text": "AI生成",
"TemplateKey": "_RS_Success3",
"Icon": {
"Name": "gpt.svg",
"Color": "Accent 1",
"UseCellTypeForeColor": true
},
"IconSize": 14.0
}
},
"11,1": {
"BindingInfo": {
"TableName": "项目周报",
@@ -326,34 +529,7 @@
"GUID": "c3c718bc-c5bb-4469-8c61-62ec732abe09"
},
"CellType": {
"$type": "ElementUI.InputCellType, ElementUI",
"CommandList": [],
"UIPermissions": [
{
"Scope": 2,
"AllowRoles": [
"FGC_Anonymous"
]
},
{
"Scope": 1,
"AllowRoles": [
"FGC_Anonymous"
]
},
{
"Scope": 4,
"AllowRoles": [
"FGC_Anonymous"
]
}
],
"type": "textarea",
"placeholder": "请选择",
"resize": "vertical"
},
"DataValidationInfo": {
"IgnoreBlank": false
"$type": "HtmlRichEditor.HtmlRichEditor, HtmlRichEditor"
}
},
"15,1": {
@@ -363,37 +539,10 @@
"GUID": "3157fe2f-4949-4b24-8e6e-33b7f8009bf4"
},
"CellType": {
"$type": "ElementUI.InputCellType, ElementUI",
"CommandList": [],
"UIPermissions": [
{
"Scope": 2,
"AllowRoles": [
"FGC_Anonymous"
]
},
{
"Scope": 1,
"AllowRoles": [
"FGC_Anonymous"
]
},
{
"Scope": 4,
"AllowRoles": [
"FGC_Anonymous"
]
}
],
"type": "textarea",
"placeholder": "请选择",
"resize": "vertical"
},
"DataValidationInfo": {
"IgnoreBlank": false
"$type": "HtmlRichEditor.HtmlRichEditor, HtmlRichEditor"
}
},
"18,15": {
"18,28": {
"CellType": {
"$type": "Forguncy.ButtonCellType, ServerDesignerCommon",
"CommandList": [
@@ -450,7 +599,7 @@
"ReloadData": true
}
],
"ID": "1c8529da-8a08-4bcf-af46-b8c3c8ac3aaf"
"ID": "61d2f04d-6281-464a-891f-ffb9852923bf"
},
{
"CommandList": [
@@ -477,7 +626,7 @@
"Message": "保存成功"
}
],
"ID": "133b0fba-7daa-42a9-a36a-e5a5d794da61"
"ID": "b1cd88ff-e0a6-4c8a-84ba-5e433834e521"
}
]
}
@@ -503,6 +652,11 @@
"FontFamily": 0,
"Formatter": 1
},
{
"FontFamily": 0,
"FontSize": 13.333333333333332,
"Formatter": 1
},
{
"BorderBottom": 0
}
@@ -539,6 +693,19 @@
"1,16": 0,
"1,17": 0,
"1,18": 0,
"1,19": 0,
"1,20": 0,
"1,21": 0,
"1,22": 0,
"1,23": 0,
"1,24": 0,
"1,25": 0,
"1,26": 0,
"1,27": 0,
"1,28": 0,
"1,29": 0,
"1,30": 0,
"1,31": 0,
"2,0": 0,
"2,1": 0,
"2,2": 0,
@@ -558,9 +725,22 @@
"2,16": 0,
"2,17": 0,
"2,18": 0,
"2,19": 0,
"2,20": 0,
"2,21": 0,
"2,22": 0,
"2,23": 0,
"2,24": 0,
"2,25": 0,
"2,26": 0,
"2,27": 0,
"2,28": 0,
"2,29": 0,
"2,30": 0,
"2,31": 0,
"3,0": 0,
"3,1": 0,
"3,18": 0,
"3,31": 0,
"9,0": 0,
"9,1": 1,
"9,2": 0,
@@ -580,6 +760,17 @@
"9,16": 0,
"9,17": 0,
"9,18": 0,
"9,19": 0,
"9,20": 0,
"9,21": 0,
"9,22": 0,
"9,23": 0,
"9,24": 0,
"9,25": 0,
"9,28": 2,
"9,29": 0,
"9,30": 0,
"9,31": 0,
"10,0": 0,
"10,1": 0,
"10,2": 0,
@@ -599,9 +790,22 @@
"10,16": 0,
"10,17": 0,
"10,18": 0,
"10,19": 0,
"10,20": 0,
"10,21": 0,
"10,22": 0,
"10,23": 0,
"10,24": 0,
"10,25": 0,
"10,26": 0,
"10,27": 0,
"10,28": 0,
"10,29": 0,
"10,30": 0,
"10,31": 0,
"11,0": 0,
"11,1": 0,
"11,18": 0,
"11,31": 0,
"12,0": 0,
"12,1": 0,
"12,2": 0,
@@ -621,6 +825,19 @@
"12,16": 0,
"12,17": 0,
"12,18": 0,
"12,19": 0,
"12,20": 0,
"12,21": 0,
"12,22": 0,
"12,23": 0,
"12,24": 0,
"12,25": 0,
"12,26": 0,
"12,27": 0,
"12,28": 0,
"12,29": 0,
"12,30": 0,
"12,31": 0,
"13,0": 0,
"13,1": 1,
"13,2": 0,
@@ -640,6 +857,19 @@
"13,16": 0,
"13,17": 0,
"13,18": 0,
"13,19": 0,
"13,20": 0,
"13,21": 0,
"13,22": 0,
"13,23": 0,
"13,24": 0,
"13,25": 0,
"13,26": 0,
"13,27": 0,
"13,28": 0,
"13,29": 0,
"13,30": 0,
"13,31": 0,
"14,0": 0,
"14,1": 0,
"14,2": 0,
@@ -659,37 +889,64 @@
"14,16": 0,
"14,17": 0,
"14,18": 0,
"14,19": 0,
"14,20": 0,
"14,21": 0,
"14,22": 0,
"14,23": 0,
"14,24": 0,
"14,25": 0,
"14,26": 0,
"14,27": 0,
"14,28": 0,
"14,29": 0,
"14,30": 0,
"14,31": 0,
"15,0": 0,
"15,1": 0,
"15,18": 0,
"16,1": 2,
"16,2": 2,
"16,3": 2,
"16,4": 2,
"16,5": 2,
"16,6": 2,
"16,7": 2,
"16,8": 2,
"16,9": 2,
"16,10": 2,
"16,11": 2,
"16,12": 2,
"16,13": 2,
"16,14": 2,
"16,15": 2,
"16,16": 2,
"16,17": 2
"15,31": 0,
"16,1": 3,
"16,2": 3,
"16,3": 3,
"16,4": 3,
"16,5": 3,
"16,6": 3,
"16,7": 3,
"16,8": 3,
"16,9": 3,
"16,10": 3,
"16,11": 3,
"16,12": 3,
"16,13": 3,
"16,14": 3,
"16,15": 3,
"16,16": 3,
"16,17": 3,
"16,18": 3,
"16,19": 3,
"16,20": 3,
"16,21": 3,
"16,22": 3,
"16,23": 3,
"16,24": 3,
"16,25": 3,
"16,26": 3,
"16,27": 3,
"16,28": 3,
"16,29": 3,
"16,30": 3
},
"SheetStyle": {
"FontFamily": 0
}
},
"Spans": [
"3,1,1,17",
"7,1,1,17",
"11,1,1,17",
"15,1,1,17",
"18,15,1,3"
"3,1,1,30",
"7,1,1,30",
"18,28,1,3",
"9,28,1,3",
"11,1,1,30",
"15,1,1,30"
],
"PageInfo": {
"$type": "Forguncy.Model.Pages.NormalPage, ServerDesignerCommon",
@@ -720,4 +977,4 @@
"Formula": "项目周报详情!$B$4"
}
]
}//S7tIi549JrgxIMddVLa0rrPg9c3wijgEFv8Qen/fvhdOlJXuucqgatZa9cIuULNBVKpJ8IAbjEF6+XXuGwy5mebGrnRtQm9uzmR7nAsru+EDhxqdseWhP9WwENWm64wPKLFYGQj+4gIVTdz8IAtmlHS5ROs7yApCqK/F6jVcfm2ykC0hBZg52yIQ+eOXA0ahK/xbR+7jXXnCIZi3B39rnlUZVJRegZLA4maWDx3h3/3kHrocoHoXtrFd7IdJ6xiUzhZ9Af66f6UtHZJ4xTMYx+g14MGM3IwRl0kIxsWI3Lu75HiWlZ+YH08/h/O283V5Yx/r6E+6tGaP10GtmMDpUEPh6GUZZrTwva1fA99b32A0vsKCX9Auw6OfbzyYQWlp/FV9q0qmSoTxg9J0F4eGY8GDoOVKLyjFxhZBHeh8MFLjN2ll2GfhC/Z0eDHr89CzL13XG5KlILiFXAQIybzRNYffNpRMOQAGvBSryCxoYoHc77X+BUBr6X18nnft0abT31CToeRH3VocHrNQFaAj8uBBR3dt6+2SXnw+UQpYEgd2ht7rOmWkjlawavfs80xZoC4l0mEhYV+RmjLGMTRucVx07jEafrI1+mqwMfsvYclEGw5Y6HFwF6o1vujGfSNqE7S9o+aWyF9UQL0WtzUfzxlFFK8VAa0uQzWHmA8vnjzrhP/OOCwGw+3qWkNkeX/I7+if0ZB9Smo7zOj0VEsoEyEYg1yU9Inx7KhrsjGI/0+UmmH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