{"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:
超哥
2024-06-24 22:18:24 +08:00
parent 19bce62ffa
commit f70a24ad26
8 changed files with 294 additions and 142 deletions

View File

@@ -13,7 +13,7 @@
},
"1": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 25.0
"DesignLengthInPixel": 30.0
}
},
"3": {
@@ -36,59 +36,82 @@
},
"Cols": {
"RowColumnAttachedInfos": {
"1": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 251.0
}
},
"2": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 190.0,
"Mode": 1
}
},
"3": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 181.0
"DesignLengthInPixel": 239.0
}
},
"4": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 256.0
"DesignLengthInPixel": 179.0,
"Mode": 1
}
},
"0": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 20.0
}
},
"1": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 64.0
}
},
"2": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 19.0
}
},
"5": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 256.0
"DesignLengthInPixel": 140.0
}
},
"6": {
"8": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 23.0
}
},
"9": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 74.0
}
},
"10": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 20.0
}
}
},
"Count": 8
"Count": 11,
"DefaultSize": 239.0
},
"Values": {
"1,1": "任务名称",
"1,2": 0,
"1,1": "正常",
"1,3": "任务名称",
"1,4": 0,
"1,5": 0,
"1,6": "正常"
"1,6": 0,
"1,7": 0,
"1,9": "报工"
},
"AttachInfos": {
"1,1": {
"TemplateCellSource": "逾期状态",
"RulesGuidList": [
"b8253a56-7b38-44cc-bb95-a30e009e05d9"
]
},
"1,3": {
"TemplateCellSource": "名称",
"RulesGuidList": [
"82861a3b-6311-48cd-aa88-ebc5601292fd"
]
},
"1,2": {
"1,4": {
"CssName": "ec-label",
"TemplateCellSource": "任务说明_单行"
},
"1,3": {
"1,5": {
"TemplateCellSource": "动态可核定工时",
"RulesGuidList": [
"ae873111-fde0-4fa1-b664-852d3e833eff",
@@ -96,20 +119,174 @@
"14b601ff-8ddc-4a1f-8f75-13c61362e035"
]
},
"1,4": {
"1,6": {
"TemplateCellSource": "日期范围"
},
"1,5": {
"1,7": {
"TemplateCellSource": "项目"
},
"1,6": {
"TemplateCellSource": "逾期状态",
"RulesGuidList": [
"b8253a56-7b38-44cc-bb95-a30e009e05d9"
]
"1,9": {
"CellType": {
"$type": "Forguncy.ButtonCellType, ServerDesignerCommon",
"CommandList": [
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionTableDataParam, ServerDesignerCommon",
"tableData": {
"TableName": "任务平行视图",
"ColumnName": "成员数量",
"GUID": "39483242-1939-4644-8e97-91abbcc537a0"
}
},
"value": "0",
"compareType": 2
},
"CommandList": [
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionTableDataParam, ServerDesignerCommon",
"tableData": {
"TableName": "任务平行视图",
"ColumnName": "任务成员",
"GUID": "1a3c3f2a-ae70-4e6b-9b90-72ab7f243551"
}
},
"value": "%CurrentUser%",
"compareType": 10
},
"CommandList": [
{
"$type": "Forguncy.Model.ShowPopupCommand, ServerDesignerCommon",
"PageName": "新增报工",
"PassValues": [
{
"Source": "实际",
"TargetCell": {
"SerializeProperty": "=新增报工!工时类型"
}
},
{
"Source": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=f5fc8d78af50450e9ecd5e29f22c67b!E4"
},
"TargetCell": {
"SerializeProperty": "=新增报工!任务ID"
}
}
],
"LoadBindingDataOption": 1
}
],
"ID": "d76b5ada-9a7d-4288-8bb0-c89523edaaf3"
},
{
"CommandList": [
{
"$type": "Notiflix_Forguncy.Notify_Command, Notiflix_Forguncy",
"FourStandardStyle": "warning",
"Message": "你尚未成为该任务参与人,不能报工"
}
],
"ID": "0f2c29c6-a5d6-4b32-bcb4-2e8f20e69fce"
}
]
}
],
"ID": "a8bc4e94-c4f7-4fa5-a313-ad6e8bee1501"
},
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionTableDataParam, ServerDesignerCommon",
"tableData": {
"TableName": "任务平行视图",
"ColumnName": "任务状态",
"GUID": "d8ff18bd-467c-4a19-94c9-8a5e5b252b3e"
}
},
"value": "2",
"compareType": 1
},
"CommandList": [
{
"$type": "Notiflix_Forguncy.Notify_Command, Notiflix_Forguncy",
"FourStandardStyle": "warning",
"Message": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=\"当前任务处于\"&f5fc8d78af50450e9ecd5e29f22c67b!行数据.状态&\"状态,不可报工!\""
}
}
],
"ID": "d1a35833-a02c-472a-b0cf-0193b255b193"
},
{
"CommandList": [
{
"$type": "ElementUI.Commands.ShowMessageBox, ElementUI",
"Title": "提示",
"Message": "该任务尚未添加成员,是否立即添加?",
"Type": "warning",
"ConfirmButtonText": "确定",
"ShowCancelButton": true,
"CancelButtonText": "取消",
"ShowClose": false,
"DialogResult": "按钮结果",
"AdvancedSettings": {}
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon",
"cellLocations": [
{
"SerializeProperty": "=f5fc8d78af50450e9ecd5e29f22c67b!按钮结果"
}
]
},
"value": "confirm"
},
"CommandList": [
{
"$type": "Forguncy.Model.ShowPopupCommand, ServerDesignerCommon",
"PageName": "参与成员管理",
"LoadBindingDataOption": 1
}
],
"ID": "61fd2df1-3799-44dd-b2a8-e2ef7eafcd3b"
}
]
}
],
"ID": "8ccb4bd7-9c18-43c7-bff6-9617c38abba1"
}
]
}
],
"Text": "报工",
"TemplateKey": "_RS_Main3"
}
},
"3,1": {
"3,3": {
"TemplateCellSource": "任务状态"
},
"3,4": {
"TemplateCellSource": "ID"
}
},
"StyleDatas": {
@@ -121,55 +298,67 @@
"FontFamily": 0,
"FontSize": 13.333333333333332,
"Foreground": 1,
"Formatter": 2,
"HorizontalAlignment": 3
"HorizontalAlignment": 2
},
{
"FontFamily": 0,
"FontSize": 13.333333333333332,
"Foreground": 3,
"Formatter": 4,
"HorizontalAlignment": 2
},
{
"FontSize": 13.333333333333332,
"Formatter": 4
"Formatter": 5
},
{
"FontFamily": 0,
"FontSize": 12.0,
"Foreground": 1,
"Formatter": 5,
"HorizontalAlignment": 3
},
{
"FontSize": 13.333333333333332,
"Foreground": 1,
"Foreground": 3,
"Formatter": 6,
"HorizontalAlignment": 3
"HorizontalAlignment": 2
},
{
"FontSize": 13.333333333333332,
"Foreground": 3,
"Formatter": 7,
"HorizontalAlignment": 2
},
{
"FontSize": 13.333333333333332,
"Foreground": 1,
"HorizontalAlignment": 8
},
{
"FontSize": 13.333333333333332,
"Foreground": 7,
"HorizontalAlignment": 8
}
],
"Types": {
"Strs": [
"Body",
"Accent 2 0",
"Left",
"Text 1 50",
"\"💬 \"@",
"Left",
"\"⏱️ \"@\"小时\"",
"\"📅 \"@",
"\"💼 \"@",
"Accent 2 0",
"Center"
]
},
"CellStyles": {
"0,2": 0,
"1,2": 1,
"1,3": 2,
"1,4": 3,
"1,5": 4,
"1,6": 5,
"2,2": 0,
"3,2": 0,
"4,2": 0
"0,4": 0,
"1,1": 1,
"1,4": 2,
"1,5": 3,
"1,6": 4,
"1,7": 5,
"1,8": 6,
"1,9": 7,
"2,4": 0,
"3,4": 0,
"4,4": 0
},
"SheetStyle": {
"FontFamily": 0
@@ -195,7 +384,7 @@
"$type": "Forguncy.ConditionFormat.FormulaRule, ServerDesignerCommon",
"Formula": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=OR(f5fc8d78af50450e9ecd5e29f22c67b!$B$4=3,f5fc8d78af50450e9ecd5e29f22c67b!$B$4=-1)"
"SerializeProperty": "=OR(f5fc8d78af50450e9ecd5e29f22c67b!$D$4=3,f5fc8d78af50450e9ecd5e29f22c67b!$D$4=-1)"
},
"Priority": 1,
"GUID": "82861a3b-6311-48cd-aa88-ebc5601292fd",
@@ -248,4 +437,4 @@
"PaperSize": {},
"Margin": {}
}
}//UjH/vy0v8WoWa1B7EK3MwpGst02be3maHb3PuBY53GN5fAOXBADaMj0ynRjjwWJDsSBf9Ar+59vxdepZcrG2zihcCCtA2u9batptuA2Ok4H31LQYutSGumuWvLjKvKr565P3LLISjza+ty7effOOw5AKXTKV2RT+7HnjMrcQd5Bpitvfme5FWmqD7Yzdu4Y9EhVXFB7m1/XukzJcYCIqtgqQhZQleQZAVPh42nteqerDqMYveYbfBr8DXxI9V6Pqwn7dMqpMOL5cDVZW/RlwUIpO8evLYgyjCi9N4ncjkThpXUvxo/orle0CFDoir4uTYxH5OBtOas6LxrGqsQtM+qqBXKQD6gVaa3p/Mmklxs4B7zF17WZFCSpbHpBv/YeUcJFWeyEHb0T6kpIea3pIBoBn3umh/gnqwgmGFgHDexZ2btQroWCBZ7mGmW5hHbnQIbGeAriSzjyJQObydZS2EV0yOU+i07hniiZdlhyaTjeoUAtXssh5N7ZOtU4I7vg6t3mlxhQdLSKpF1ab/nN6ocHW4Cmi7xaS+X1feG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