{"Message":"完成AI对话功能","MessageType":2,"Modules":[{"State":1,"Type":7,"Name":"Table/FGC_订单记录","ExclusiveType":0},{"State":1,"Type":7,"Name":"Table/FGC_订单明细表","ExclusiveType":0},{"State":1,"Type":7,"Name":"Table/FGC_商品表","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/项目任务树视图"},{"State":1,"Type":23,"Name":"TableView/用户信息视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/用户组织关系视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/用户角色关系视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/组织信息视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/组织级别视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/角色信息视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/角色分类关系视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/角色拥有权限视图","ExclusiveType":0},{"State":1,"Type":23,"Name":"TableView/角色组织关系视图","ExclusiveType":0},{"State":1,"Type":7,"Name":"Table/message_test","ExclusiveType":0},{"State":1,"Type":7,"Name":"Table/对话主题","ExclusiveType":0},{"State":1,"Type":1,"Name":"PCPage/首页"},{"State":1,"Type":1,"Name":"PCPage/对话页面"},{"State":1,"Type":31,"Name":"UserControlPage/聊天起泡"},{"State":1,"Type":31,"Name":"UserControlPage/聊天列表"},{"State":1,"Type":12,"Name":"CustomLibrary"},{"State":1,"Type":26,"Name":"Upload"},{"State":1,"Type":40,"Name":"Plugin"},{"State":3,"Type":20,"Name":"ServerCommands/AI"},{"State":3,"Type":15,"Name":"ServerCommand/AI对话"},{"State":3,"Type":34,"Name":"Notification/AI流消息"}],"Version":"v1"}

This commit is contained in:
SHAMUSPC\NINGMEI
2024-04-27 12:10:25 +08:00
parent 3283758231
commit cb5fcf28b8
17 changed files with 952 additions and 463 deletions

View File

@@ -344,7 +344,7 @@
]
}
],
"ID": "063712d4-9119-44e8-bc07-af24523d126a"
"ID": "297eae8f-5e51-4c59-8a48-82772bee9ce4"
},
{
"CommandList": [
@@ -364,7 +364,7 @@
]
}
],
"ID": "3992f681-8cf6-4378-b304-16bd9d2512f5"
"ID": "3e3420a1-8d7b-46e2-a864-0c9dac0bee98"
}
]
}
@@ -475,6 +475,42 @@
"UseCellForeColor": true
}
},
"2,32": {
"CellType": {
"$type": "Forguncy.ImageCellType, ServerDesignerCommon",
"CommandList": [
{
"$type": "Forguncy.Model.SetCellPropertyCommand, ServerDesignerCommon",
"PropertyItemsList": [
{
"TargetCells": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=首页!对话子页面"
},
"Value": "对话页面"
}
]
},
{
"$type": "Forguncy.Model.SetRowColumnLayoutCommand, ServerDesignerCommon",
"PropertyItemsList": [
{
"Location": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=首页!B:D,首页!AG:AG"
},
"Value": true
}
]
}
],
"ToolTip": "清空记录",
"Size": 18,
"ImagePath": "Application/156_processCentre_1.svg",
"BuiltIn": true,
"UseCellForeColor": true
}
},
"16,4": {
"CssName": "fade-in animation-delay-1",
"CellType": {
@@ -486,13 +522,12 @@
"Commands": {
"Commands": [
{
"$type": "Forguncy.Model.Commands.SetParameterCommand, ServerDesignerCommon",
"ParameterName": "aaaa",
"ParameterValue": {
"$type": "Notiflix_Forguncy.Block_Command, Notiflix_Forguncy",
"Cell": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=首页!内容"
"SerializeProperty": "=首页!对话子页面"
},
"ID": "3780e8d9f7dd410b87c0294ddea65dba"
"Title": "加载中"
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
@@ -511,30 +546,6 @@
"value": "%Null%"
},
"CommandList": [
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "对话主题",
"UpdateType": "add",
"ShowConfirm": false,
"UpdateBindingValues": [
{
"BindingInfo": {
"TableName": "对话主题",
"ColumnName": "用户",
"GUID": "5e6ad134-0fed-4457-b235-efa146f849f0"
},
"Value": "%CurrentUser%"
},
{
"BindingInfo": {
"TableName": "对话主题",
"ColumnName": "主题",
"GUID": "4f600f47-db1e-4e63-aeab-70ec147631ed"
},
"Value": "新发起的聊天"
}
]
},
{
"$type": "Forguncy.Model.SetCellPropertyCommand, ServerDesignerCommon",
"PropertyItemsList": [
@@ -551,7 +562,7 @@
]
}
],
"ID": "0c0f375a-d6c4-4baa-803a-55a0dd6063a9"
"ID": "31257ad1-3225-4c1a-b20e-eeceaba583b9"
}
]
},
@@ -602,7 +613,7 @@
"Millisecond": "1000"
}
],
"ID": "6a5b6585-d001-4c5d-8f30-dcb7369010b0"
"ID": "8a2c66f8-57a4-417b-9c87-8de9cae5274c"
}
]
},
@@ -642,14 +653,14 @@
"Name": "用户名",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=页!母版_当前用户"
"SerializeProperty": "=FGC_母版页!母版_当前用户"
}
},
{
"Name": "全名",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=页!母版_当前用户姓名"
"SerializeProperty": "=FGC_母版页!母版_当前用户姓名"
}
},
{
@@ -675,20 +686,90 @@
"Value": "1"
}
],
"Returns": [],
"MethodResultErrorCodeTo": {
"SerializeProperty": "code"
},
"MethodResultMessageTo": {
"SerializeProperty": "msg"
"Returns": []
}
}
},
{
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
"TableName": "对话主题",
"ShowConfirm": false
},
{
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
"ServerCommandName": "AI对话",
"Parameters": [
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "主题ID",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=首页!当前主题"
}
}
],
"RequestAsync": true,
"CheckDataValidation": false
},
{
"$type": "Forguncy.Model.OperateCellTypeCommand, ServerDesignerCommon",
"TargetPageElement": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=对话页面!聊天列表组件"
},
"TargetType": "Forguncy.UserControlPageCellType, ServerDesignerCommon, Version=10.0.2.0, Culture=neutral, PublicKeyToken=967100671921c115",
"MethodName": "CallUserControlPageMethod",
"ParameterValues": {
"userControlMethodData": {
"$type": "Forguncy.UserControlPageMethodData, ServerDesignerCommon",
"UserControlPageName": "聊天列表",
"MethodName": "添加一条消息",
"ParameterValues": [
{
"Name": "用户名",
"Value": "assistant"
},
{
"Name": "全名",
"Value": "AI助手"
},
{
"Name": "角色",
"Value": "assistant"
},
{
"Name": "内容",
"Value": "思考中..."
},
{
"Name": "日期",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=NOW()"
}
},
{
"Name": "是否自己消息",
"Value": "0"
}
],
"Returns": []
}
}
}
],
"ID": "180823c4-4e16-49c5-8eb1-779349de25c3"
"ID": "b8b4752f-7056-4765-8f68-8b888a749c22"
}
]
},
{
"$type": "Notiflix_Forguncy.Block_Command, Notiflix_Forguncy",
"FunctionName": "remove",
"Cell": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=首页!对话子页面"
},
"Title": "加载中"
}
],
"ParamProperties": {
@@ -734,12 +815,16 @@
"Foreground": 2
},
{
"Background": 3,
"FontFamily": 4,
"FontFamily": 3,
"Foreground": 2
},
{
"Background": 4,
"FontFamily": 3,
"BorderLeft": 1
},
{
"FontFamily": 4,
"FontFamily": 3,
"FontSize": 13.333333333333332
}
],
@@ -748,8 +833,8 @@
"Center",
"Background 1 -15",
"Background 1 -50",
"#FFFFFF00",
"Body",
"#FFFFFF00",
"black"
],
"Borders": [
@@ -766,6 +851,7 @@
"1,2": 1,
"1,32": 2,
"2,2": 1,
"2,32": 3,
"3,2": 1,
"4,2": 1,
"5,2": 1,
@@ -782,12 +868,12 @@
"16,2": 1,
"17,1": 0,
"17,2": 0,
"18,12": 3,
"18,32": 4,
"19,12": 3
"18,12": 4,
"18,32": 5,
"19,12": 4
},
"SheetStyle": {
"FontFamily": 4
"FontFamily": 3
}
},
"Spans": [
@@ -856,6 +942,10 @@
{
"Name": "当前主题",
"Formula": "首页!$M$19"
},
{
"Name": "主题列表",
"Formula": "首页!$B$2"
}
]
}//Bcrr2BYKP1LWy8bvHtikGev0aFbjlS6zMqlG9NF5zPNEJoO1pXCJKVKpzAwY4dz87mJquNMQBOAbGh0IpGKci/ztgkJ5PLvhMqt9fYBtEpBhYff/h5a8/o3gOHL3pFnni60BjL07DtqCc7hzSgZbHTz4/eWi5eXY7B/eDSPULNcJGFzq/6r7Rni1oygmvCtirRuBkGZbILlh79mi0QCn0+bpAPR9cK+XtmRT1IXO28ieC0GAwiVgrHhRO6gzMASwz0taBCQ1CaUkLuBfNjgloBKAR21cQ2iTMMMwOLBAgINIwpXzLPZZYc9mVVnBkW2QyeAGeB2qoOr5YyFqyxpXkD61btuN6Df7caUGFuYgMW/Srk8yb15jjhEkdZE+xfH5Ras1DMRlU9+czhQdBRzoo5jgoRgA5jPIJtptpSjQGDwJKfhnVtRDjwKd005FVHv+kvytb70MoG+GBXABAEGi3MJBxnWuuub+jlWG1MHVQdqNQjKa//JPwgYd8jQ7wCEejuJGH6IpmAMYShEXVar3maDf8aEnQgS9B+d/OgXO7KV2s3sV4UtEVVF5MNToMz54KSoYWkxKr8zLh0C91QqI1ZZGMdQ3e4NuM7hCu0qsQ1qZuChtxan2vqJzlAgT8ItRrtA4vu8ifX24R2lFfFvQXX1fsGzesffG7+zIMqMC4auB21wgAKHzOziXoT0/IFV4Nvq9DJuFkYoUqrQ8CehlLquQ2U64vnRRWDh7R6Q79dkUZJtKEcUyp0sj76Rg96xwQd9/hw3CYIuklICVajXR4KzZ5NGW0PcwuAZY9fw+zpN+xHS1e0A22nNRxSOozrV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