{"Message":"创建根据汇报模板生成内容服务端命令","MessageType":2,"Modules":[{"State":1,"Type":40,"Name":"Plugin"},{"State":1,"Type":1,"Name":"PCPage/模板详情"},{"State":1,"Type":15,"Name":"ServerCommand/根据汇报模板生成内容"}],"Version":"v1"}

This commit is contained in:
TYFEIKELE\tyfeikele
2024-06-12 16:55:54 +08:00
parent 6af7fbe54c
commit 26847530bf
5 changed files with 352 additions and 406 deletions

View File

@@ -22,22 +22,12 @@
"DesignLengthInPixel": 32.0
}
},
"4": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 38.0
}
},
"5": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"7": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"8": {
"6": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0,
"IsHidden": true
@@ -45,9 +35,9 @@
}
},
"InLogicalVisibleIndexes": [
8
6
],
"Count": 9,
"Count": 7,
"DefaultSize": 32.0
},
"Cols": {
@@ -157,10 +147,8 @@
"DefaultSize": 32.0
},
"Values": {
"4,1": "生成",
"6,16": "重新生成",
"6,21": "确认内容",
"8,12": "%CurrentUser.FullName%"
"4,21": "确认内容",
"6,12": "%CurrentUser.FullName%"
},
"AttachInfos": {
"1,1": {
@@ -170,10 +158,11 @@
"GUID": "5a59d792-c4be-4fe1-8806-e66f7e3ac148"
},
"CellType": {
"$type": "TinyRichEditor.TinyRichEditorCellType, TinyRichEditor",
"$type": "ElementUI.InputCellType, ElementUI",
"CommandList": [],
"UIPermissions": [
{
"Scope": 4,
"Scope": 2,
"AllowRoles": [
"FGC_Anonymous"
]
@@ -183,233 +172,19 @@
"AllowRoles": [
"FGC_Anonymous"
]
}
]
}
},
"4,1": {
"CellType": {
"$type": "Forguncy.ButtonCellType, ServerDesignerCommon",
"CommandList": [
{
"$type": "Notiflix_Forguncy.Loading_Command, Notiflix_Forguncy",
"Title": "加载中"
},
{
"$type": "Forguncy.Model.SetCellPropertyCommand, ServerDesignerCommon",
"PropertyItemsList": [
{
"TargetCells": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=模板详情!B2,模板详情!B5"
},
"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": "=模板详情!日期"
}
},
{
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
"ParamName": "汇报内容",
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=模板详情!B2"
}
}
],
"ResultErrorCodeTo": {
"SerializeProperty": "code"
},
"ResultMessageTo": {
"SerializeProperty": "msg"
},
"ReturnPropertiesTo": [
{
"ResultPropertyName": "日报JSON",
"ResultTo": {
"SerializeProperty": "日报JSON"
}
}
],
"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": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon",
"cellLocations": [
{
"SerializeProperty": "=日报JSON"
}
]
},
"value": "%Null%",
"compareType": 1
},
"CommandList": [
{
"$type": "JsonDataSource.ImportJsonDataToListviewCommand, JsonDataSource",
"Listview": "表格1",
"ListviewColumnInfos": [
{
"ListViewColumnCell": "汇报类型",
"PropertyName": "type"
},
{
"ListViewColumnCell": "汇报内容",
"PropertyName": "content"
},
{
"ListViewColumnCell": "工时",
"PropertyName": "time"
}
],
"SourceCell": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=模板详情!日报JSON"
},
"SampleJson": "[\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 ]"
},
{
"$type": "Notiflix_Forguncy.Notify_Command, Notiflix_Forguncy",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=模板详情!msg"
}
}
],
"ID": "7c9764c2-4407-45c6-99e5-f8b3646fc47f"
},
{
"CommandList": [
{
"$type": "Notiflix_Forguncy.Report_Command, Notiflix_Forguncy",
"FunctionName": "info",
"Title": "温馨提示",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=模板详情!msg"
},
"BtnText": "知道了"
}
],
"ID": "d1f34c3e-6b72-4a50-be93-14b8751676b0"
}
]
}
],
"ID": "54ae941a-34aa-4844-9242-bbb6f801844a"
},
{
"CommandList": [
{
"$type": "Notiflix_Forguncy.Report_Command, Notiflix_Forguncy",
"FunctionName": "warning",
"Title": "温馨提示",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=模板详情!msg"
},
"BtnText": "知道了"
}
],
"ID": "efc6c753-ad64-4ae4-abcc-620fbd558602"
}
]
},
{
"$type": "Forguncy.Model.SetCellPropertyCommand, ServerDesignerCommon",
"PropertyItemsList": [
{
"TargetCells": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=模板详情!B2,模板详情!B5"
},
"PropertyType": 0,
"Value": true
}
]
},
{
"$type": "Notiflix_Forguncy.Loading_Command, Notiflix_Forguncy",
"FunctionName": "remove",
"Title": "加载中"
}
],
"Text": "生成",
"TemplateKey": "_RS_Main1"
}
},
"6,16": {
"CellType": {
"$type": "Forguncy.ButtonCellType, ServerDesignerCommon",
"CommandList": [
{
"$type": "Forguncy.Model.UpdateListviewCommand, ServerDesignerCommon",
"ListviewName": "表格1",
"UpdateType": 2,
"UpdateRowType": 2
},
{
"$type": "Forguncy.Model.SetCellPropertyCommand, ServerDesignerCommon",
"PropertyItemsList": [
{
"TargetCells": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=模板详情!B2"
},
"Value": "%Null%"
}
"Scope": 4,
"AllowRoles": [
"FGC_Anonymous"
]
}
],
"Text": "重新生成",
"TemplateKey": "_RS_Information3"
"type": "textarea",
"resize": "none"
}
},
"6,21": {
"4,21": {
"CellType": {
"$type": "Forguncy.ButtonCellType, ServerDesignerCommon",
"CommandList": [
@@ -429,38 +204,19 @@
}
},
"StyleDatas": {
"Styles": [
{
"FontFamily": 0
},
{
"FontFamily": 0,
"Formatter": 1
}
],
"Types": {
"Strs": [
"Body",
"[AUTO]General"
"Body"
]
},
"CellStyles": {
"4,1": 0,
"6,16": 1,
"6,17": 0,
"6,18": 0,
"6,19": 0
},
"SheetStyle": {
"FontFamily": 0
}
},
"Spans": [
"8,1,1,11",
"4,1,1,24",
"6,21,1,4",
"6,16,1,4",
"8,12,1,5",
"6,1,1,11",
"4,21,1,4",
"6,12,1,5",
"1,1,2,24"
],
"PageInfo": {
@@ -489,11 +245,11 @@
"CustomNames": [
{
"Name": "日期",
"Formula": "模板详情!$B$9"
"Formula": "模板详情!$B$7"
},
{
"Name": "汇报人",
"Formula": "模板详情!$M$9"
"Formula": "模板详情!$M$7"
}
]
}//AkqxX5aztUMd4k+20NfO49h/ctlNARhydphUXxnbnYYbGeiWA1EBarr1vmKnvULLpTpxUHyARCc3Hpequpt3qAq5c3HmHiU1r1G8hyHCyO/LvsOYEKEMPoACZhi5wUsX/RBTTkOjHOR3vwNPWO+3FdR+6blkBJe1kdOKdDSLi2Ws9Ps2EmENWSDbPWlfnavR6f42OQdvXPXXv8aIOpibybqCHkP8AknGW+8QkXFdhdxEJ+ujVqtuPxZGJmw4P/UrOBf3PD2XaYEcWD33TF8lmcL0dW5HN1qBA7RIq4WvmMbuQpNZQ66mkBId1bY5jfclzGM+Vtf0AxCkyHdmt4+H/IYZg+MQVLKSO2ttxcBcIM28klydl/d/Ed1r0qH8bw8miSOE7WQlNMtIthRkS2ZoxVkoz38tBMhRD5naxV1U+JGEuV1gNL4NlpvVSqpJffdeq8eicjVPKzPup5CVBFyoBeaOr9WFRer0CCCG21TKGhAwH5ynOYqSQIr1VfSnrc55BFMyhsTOHwHh7PNtUIiQfkHymNR9dQvjd6ipFl3BVtT6PgJigu943nnePYMySEFqz50N8Veyb9i3R0hTJItoyYOyDAKVPilBgeAEnQIvwwwX8qV17t5AE+PR4ND7UZyP/0xYicA+f/GC+i5tRCpEYRhX8aOjgxG9/KMRhFh2ogZ4Rb6y+Dqaaeq1pCxvSGeh9AemAr9SfJBI4IhaMOo5OU+DFuDPljB8XloWU/y+NDD8zxH2ONq7fTB5H7RCi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15 +1,15 @@
{
"PageType": 0,
"ColumnCount": 26,
"RowCount": 9,
"RowCount": 7,
"CustomNames": [
{
"Name": "日期",
"Formula": "模板详情!$B$9"
"Formula": "模板详情!$B$7"
},
{
"Name": "汇报人",
"Formula": "模板详情!$M$9"
"Formula": "模板详情!$M$7"
}
]
}