{"Message":"优化模板及日报页面","MessageType":2,"Modules":[{"State":1,"Type":1,"Name":"PCPage/汇报管理"},{"State":1,"Type":1,"Name":"PCPage/模板列表"},{"State":1,"Type":1,"Name":"PCPage/模板详情"},{"State":1,"Type":1,"Name":"PCPage/日报详情"}],"Version":"v1"}
This commit is contained in:
@@ -181,6 +181,7 @@
|
||||
},
|
||||
"Values": {
|
||||
"4,1": "汇报人:",
|
||||
"4,4": "%CurrentUser.UserName%",
|
||||
"6,1": "昨日工时:",
|
||||
"6,20": "小时",
|
||||
"8,1": "昨日工作:",
|
||||
@@ -191,7 +192,9 @@
|
||||
"14,19": "%CurrentUser.UserName%"
|
||||
},
|
||||
"Formulas": {
|
||||
"2,1": "TEXT(E15,\"yyyy-mm-dd\")&\"工作日报\""
|
||||
"2,1": "IF(汇报日期=\"\",今日日期,汇报日期)&\"工作日报\"",
|
||||
"4,4": "IF(E5=\"\",用户名,E5)",
|
||||
"14,7": "TEXT(TODAY(),\"yyyy-mm-dd\")"
|
||||
},
|
||||
"AttachInfos": {
|
||||
"4,4": {
|
||||
@@ -201,6 +204,160 @@
|
||||
"GUID": "725c94dd-5797-482d-a9d9-4b45e706a0c9"
|
||||
}
|
||||
},
|
||||
"4,20": {
|
||||
"CellType": {
|
||||
"$type": "Forguncy.ImageCellType, ServerDesignerCommon",
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "ElementUI.Commands.ShowMessageBox, ElementUI",
|
||||
"Title": "提示",
|
||||
"Message": "将为您清空当前汇报内容,由报工数据重新生成日报?",
|
||||
"Type": "warning",
|
||||
"ConfirmButtonText": "确定",
|
||||
"ShowCancelButton": true,
|
||||
"CancelButtonText": "取消",
|
||||
"DialogResult": "结果",
|
||||
"AdvancedSettings": {}
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||||
"ConditionAndCommandPairList": [
|
||||
{
|
||||
"Condition": {
|
||||
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
||||
"param": {
|
||||
"$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon",
|
||||
"cellLocations": [
|
||||
{
|
||||
"SerializeProperty": "=日报详情!结果"
|
||||
}
|
||||
]
|
||||
},
|
||||
"value": "confirm"
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.RequestServerCommand, ServerDesignerCommon",
|
||||
"ServerCommandName": "根据汇报模板生成内容",
|
||||
"Parameters": [
|
||||
{
|
||||
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
|
||||
"ParamName": "汇报人",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=日报详情!E5"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.RequestServerCommandObjectParam, ServerDesignerCommon",
|
||||
"ParamName": "生成日期",
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=IF(日报详情!汇报日期=\"\",日报详情!今日日期,日报详情!汇报日期)-1"
|
||||
}
|
||||
}
|
||||
],
|
||||
"ResultErrorCodeTo": {
|
||||
"SerializeProperty": "code"
|
||||
},
|
||||
"ResultMessageTo": {
|
||||
"SerializeProperty": "msg"
|
||||
},
|
||||
"ReturnPropertiesTo": [
|
||||
{
|
||||
"ResultPropertyName": "生成文本",
|
||||
"ResultTo": {
|
||||
"SerializeProperty": "生成内容"
|
||||
}
|
||||
},
|
||||
{
|
||||
"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": "=code"
|
||||
}
|
||||
]
|
||||
},
|
||||
"value": "0"
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.SetCellPropertyCommand, ServerDesignerCommon",
|
||||
"PropertyItemsList": [
|
||||
{
|
||||
"TargetCells": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=日报详情!E7"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=日报详情!总工时"
|
||||
}
|
||||
},
|
||||
{
|
||||
"TargetCells": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=日报详情!E9"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=日报详情!生成内容"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "ea365cfd-f31d-4d11-97d8-3096e3d0fe60"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "ElementUI.Commands.ShowMessageBox, ElementUI",
|
||||
"Title": "提示",
|
||||
"Message": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=日报详情!msg"
|
||||
},
|
||||
"Type": "warning",
|
||||
"ConfirmButtonText": "确定",
|
||||
"CancelButtonText": "取消",
|
||||
"ShowClose": false,
|
||||
"AdvancedSettings": {}
|
||||
}
|
||||
],
|
||||
"ID": "4dd07cc0-b4f7-4060-8e5b-c63b1de372da"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "75e2a3b3-c5a0-4b34-9c03-0e2398e4a8a4"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ToolTip": "由报工数据重新生成日报",
|
||||
"Size": 16,
|
||||
"ImagePath": "Application/059_refresh_3.svg",
|
||||
"BuiltIn": true,
|
||||
"UseCellForeColor": true
|
||||
}
|
||||
},
|
||||
"6,4": {
|
||||
"BindingInfo": {
|
||||
"TableName": "汇报记录表",
|
||||
@@ -271,21 +428,169 @@
|
||||
"$type": "Forguncy.ButtonCellType, ServerDesignerCommon",
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
||||
"TableName": "汇报记录表",
|
||||
"ShowConfirm": false
|
||||
},
|
||||
{
|
||||
"$type": "ElementUI.Commands.ShowMessage, ElementUI",
|
||||
"Message": "保存成功!",
|
||||
"Type": "success",
|
||||
"Duration": 3000,
|
||||
"Offset": null,
|
||||
"Center": true
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ClosePopupCommand, ServerDesignerCommon",
|
||||
"ReloadData": true
|
||||
"$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": "=日报详情!E7"
|
||||
}
|
||||
]
|
||||
},
|
||||
"value": "%Null%",
|
||||
"compareType": 1
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
||||
"param": {
|
||||
"$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon",
|
||||
"cellLocations": [
|
||||
{
|
||||
"SerializeProperty": "=日报详情!E9"
|
||||
}
|
||||
]
|
||||
},
|
||||
"value": "%Null%",
|
||||
"compareType": 1
|
||||
}
|
||||
]
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
|
||||
"ConditionAndCommandPairList": [
|
||||
{
|
||||
"Condition": {
|
||||
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
|
||||
"param": {
|
||||
"$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon",
|
||||
"cellLocations": [
|
||||
{
|
||||
"SerializeProperty": "=日报详情!汇报ID"
|
||||
}
|
||||
]
|
||||
},
|
||||
"value": "%Null%",
|
||||
"compareType": 1
|
||||
},
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
||||
"TableName": "汇报记录表",
|
||||
"ShowConfirm": false
|
||||
}
|
||||
],
|
||||
"ID": "53add8e2-2ec2-49db-b535-3c502aceeec2"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "Forguncy.Model.UpdateDataTableCommand, ServerDesignerCommon",
|
||||
"TableName": "汇报记录表",
|
||||
"UpdateType": "add",
|
||||
"ShowConfirm": false,
|
||||
"UpdateBindingValues": [
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "汇报记录表",
|
||||
"ColumnName": "汇报类型",
|
||||
"GUID": "40e0d5ce-b9b4-47c3-a760-6cbaabce5976"
|
||||
},
|
||||
"Value": "日报"
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "汇报记录表",
|
||||
"ColumnName": "开始日期",
|
||||
"GUID": "73a749f3-6682-43b7-99c3-60166d43d67f"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=日报详情!今日日期"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "汇报记录表",
|
||||
"ColumnName": "截止日期",
|
||||
"GUID": "65a8cb20-cde9-449b-9c26-3e1424f92977"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "汇报记录表",
|
||||
"ColumnName": "汇报人",
|
||||
"GUID": "4bc2c076-34d4-4158-8c32-5b26cee618c1"
|
||||
},
|
||||
"Value": "%CurrentUser%"
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "汇报记录表",
|
||||
"ColumnName": "内容",
|
||||
"GUID": "0c6e8060-cb8a-4b55-8194-448dc44a36bd"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=日报详情!E9"
|
||||
}
|
||||
},
|
||||
{
|
||||
"BindingInfo": {
|
||||
"TableName": "汇报记录表",
|
||||
"ColumnName": "总工时",
|
||||
"GUID": "17f31dda-4c40-40aa-96f4-d507d05cacd9"
|
||||
},
|
||||
"Value": {
|
||||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||||
"SerializeProperty": "=日报详情!E7"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"ID": "612dd5b5-b060-44e7-9998-3e501fb0613c"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"$type": "ElementUI.Commands.ShowMessage, ElementUI",
|
||||
"Message": "保存成功!",
|
||||
"Type": "success",
|
||||
"Duration": 3000,
|
||||
"Offset": null,
|
||||
"Center": true
|
||||
},
|
||||
{
|
||||
"$type": "Forguncy.Model.ClosePopupCommand, ServerDesignerCommon",
|
||||
"ReloadData": true
|
||||
}
|
||||
],
|
||||
"ID": "80a94a82-65c6-4de0-9410-e827b3f72d97"
|
||||
},
|
||||
{
|
||||
"CommandList": [
|
||||
{
|
||||
"$type": "ElementUI.Commands.ShowMessageBox, ElementUI",
|
||||
"Title": "提示",
|
||||
"Message": "请完善汇报内容!",
|
||||
"Type": "warning",
|
||||
"ConfirmButtonText": "确定",
|
||||
"CancelButtonText": "取消",
|
||||
"ShowClose": false,
|
||||
"AdvancedSettings": {}
|
||||
}
|
||||
],
|
||||
"ID": "6db29dc5-d9dd-4e08-b27f-c1bd70c0b77e"
|
||||
}
|
||||
]
|
||||
}
|
||||
],
|
||||
"Text": "保存",
|
||||
@@ -342,6 +647,15 @@
|
||||
"TableName": "汇报记录表",
|
||||
"ColumnName": "汇报日期文本",
|
||||
"GUID": "eeecdca0-8fbe-471d-8d6e-5e1e7f093377"
|
||||
},
|
||||
"CellType": {
|
||||
"$type": "Forguncy.TextCellType, ServerDesignerCommon",
|
||||
"SavedValidators": [
|
||||
{
|
||||
"$type": "Forguncy.CellTypes.Models.UniqueValidadator, ServerDesignerCommon"
|
||||
}
|
||||
],
|
||||
"TemplateKey": "_RS_NewLittleRoundCorner"
|
||||
}
|
||||
},
|
||||
"14,13": {
|
||||
@@ -372,8 +686,15 @@
|
||||
"HorizontalAlignment": 3
|
||||
},
|
||||
{
|
||||
"FontWeight": 2,
|
||||
"HorizontalAlignment": 4
|
||||
},
|
||||
{
|
||||
"HorizontalAlignment": 4
|
||||
},
|
||||
{
|
||||
"FontWeight": 2
|
||||
},
|
||||
{
|
||||
"FontSize": 12.0,
|
||||
"Foreground": 5
|
||||
@@ -383,6 +704,9 @@
|
||||
"FontSize": 13.333333333333332,
|
||||
"Formatter": 6
|
||||
},
|
||||
{
|
||||
"Formatter": 6
|
||||
},
|
||||
{
|
||||
"FontSize": -1.0
|
||||
}
|
||||
@@ -434,7 +758,7 @@
|
||||
"4,1": 4,
|
||||
"4,2": 3,
|
||||
"4,3": 3,
|
||||
"4,4": 4,
|
||||
"4,4": 5,
|
||||
"4,22": 3,
|
||||
"5,1": 3,
|
||||
"5,2": 3,
|
||||
@@ -487,21 +811,22 @@
|
||||
"7,20": 3,
|
||||
"7,21": 3,
|
||||
"7,22": 3,
|
||||
"8,1": 6,
|
||||
"11,18": 1,
|
||||
"12,1": 5,
|
||||
"14,1": 6,
|
||||
"12,1": 7,
|
||||
"14,1": 8,
|
||||
"14,2": 1,
|
||||
"14,3": 1,
|
||||
"14,4": 9,
|
||||
"14,7": 0,
|
||||
"14,8": 1,
|
||||
"14,11": 1,
|
||||
"14,12": 0,
|
||||
"14,13": 1,
|
||||
"14,16": 7,
|
||||
"14,16": 10,
|
||||
"14,19": 1
|
||||
},
|
||||
"RowStyles": {
|
||||
"2": 7
|
||||
"2": 10
|
||||
},
|
||||
"SheetStyle": {
|
||||
"FontFamily": 0,
|
||||
@@ -515,10 +840,12 @@
|
||||
"11,18,1,4",
|
||||
"2,1,1,21",
|
||||
"14,1,1,3",
|
||||
"4,4,1,18",
|
||||
"6,4,1,16",
|
||||
"8,4,2,18",
|
||||
"14,4,1,3"
|
||||
"4,4,1,16",
|
||||
"4,20,1,2",
|
||||
"14,4,1,3",
|
||||
"14,7,1,3"
|
||||
],
|
||||
"PageInfo": {
|
||||
"$type": "Forguncy.Model.Pages.NormalPage, ServerDesignerCommon",
|
||||
@@ -560,6 +887,14 @@
|
||||
{
|
||||
"Name": "用户全名",
|
||||
"Formula": "日报详情!$Q$15"
|
||||
},
|
||||
{
|
||||
"Name": "今日日期",
|
||||
"Formula": "日报详情!$H$15"
|
||||
},
|
||||
{
|
||||
"Name": "汇报日期",
|
||||
"Formula": "日报详情!$E$15"
|
||||
}
|
||||
]
|
||||
}//LMiMk4LElRqXmo6+IX5iE+dAX35En7PGUUSbVqcG4A6lorucM4IDJdxQeN40hAezS9PL6SKcLPxEuHSqxAmkTmLJelBPIadjbM/nRYXq2Xh0nLVlGtggQO6H2kEuSx+0IVfiiDlYlPMhq5+apuJBrYW66fNv9a3Y3iXbjW75jSsuDfdC8jQe1Is7hmhOgFQiuZsQ0xfljCDcItg+UDZ70lBXMO1Px9DenoIAgvU9aTLdAdZrc36mma1w3ROmZhyx9onGPRgYGF7LVQ3fYu+u6V0XzoayfJ9VTt4bJTl6aNdxATW3XkoMqqTpEqA6v0S5P3j+b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iJv6J7Y1oL6lyczIwu2NIJC8NHvysqPZuZVm3bclWfIhklmzjRAxxSfy/7s7yVu5clUxTzOWA8vgQ6frg7ZiX0PK1Gg50AWEkczBJG/d3wHaqm5bAKnfLsn/w0HZnOy649Mawi0Vwy4cnAsxwMsQRlhv5W4a0cM6/gELMetDHSRzeCI8a6mrJVfyOX6xkYYxRO4OH66JQr2d/y8BFhukRskWtoz0AcLi96bwoPVFm51bv4Tye+yklgRQJw+7eBAtpRdeST3BgM9fcE8+TD31xjpWkrn3Y1AlSzGXaAw4Sm7OECYJTTt1n5dAj5HavsPdnRLpk0dow+kIRMlG5dQLdIU47nig4ZRBX+R/UbkpM/hS+vajGEqU5DtgYpWB2k2HQGJ5cVI3TpAkyJv3iY6TEHvUUwfmYfZpRHUJXYlmKzTvPFKw8Q3PsQZDc2dkQ9TNkoP8qRA==|920
|
||||
@@ -3,7 +3,9 @@
|
||||
"ColumnCount": 23,
|
||||
"RowCount": 15,
|
||||
"Formulas": {
|
||||
"2,1": "TEXT(E15,\"yyyy-mm-dd\")&\"工作日报\""
|
||||
"2,1": "IF(汇报日期=\"\",今日日期,汇报日期)&\"工作日报\"",
|
||||
"4,4": "IF(E5=\"\",用户名,E5)",
|
||||
"14,7": "TEXT(TODAY(),\"yyyy-mm-dd\")"
|
||||
},
|
||||
"CustomNames": [
|
||||
{
|
||||
@@ -21,6 +23,14 @@
|
||||
{
|
||||
"Name": "用户全名",
|
||||
"Formula": "日报详情!$Q$15"
|
||||
},
|
||||
{
|
||||
"Name": "今日日期",
|
||||
"Formula": "日报详情!$H$15"
|
||||
},
|
||||
{
|
||||
"Name": "汇报日期",
|
||||
"Formula": "日报详情!$E$15"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user