Files
clue/Pages/项目/项目首页/项目首页-容器页面/任务容器页面/任务-子任务列表.json

583 lines
18 KiB
JSON

{
"Rows": {
"RowColumnAttachedInfos": {
"1": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"2": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 10.0
}
},
"3": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 272.0,
"Mode": 1,
"IsHidden": true
}
},
"4": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 10.0,
"IsHidden": true
}
},
"5": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 28.0,
"IsHidden": true
}
}
},
"InLogicalVisibleIndexes": [
3,
4,
5
],
"Count": 6,
"DefaultSize": 10.0
},
"Cols": {
"RowColumnAttachedInfos": {
"0": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 24.0
}
},
"1": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 125.0
}
},
"2": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"3": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"4": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"5": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"6": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"7": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"8": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
},
"9": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 39.0,
"Mode": 2,
"MinLength": {
"Unit": 1
},
"MaxLength": {
"Value": 1.0
}
}
},
"20": {
"GridRowColumnDefinition": {
"DesignLengthInPixel": 32.0
}
}
},
"Count": 21,
"DefaultSize": 32.0
},
"Values": {
"1,1": "子任务",
"1,17": "增加任务",
"5,17": 1
},
"Formulas": {
"1,1": "IFERROR(ODATA(\"子任务视图/$count?$filter=父任务ID eq \"&IF(ISBLANK(任务ID),\"null\",任务ID)),0)",
"1,20": "IF(折叠子任务列表,上箭头,下箭头)"
},
"AttachInfos": {
"1,1": {
"CellType": {
"$type": "Forguncy.ButtonCellType, ServerDesignerCommon",
"CommandList": [
{
"$type": "Forguncy.Model.SetCellPropertyCommand, ServerDesignerCommon",
"PropertyItemsList": [
{
"TargetCells": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "='任务-子任务列表'!折叠子任务列表"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=NOT('任务-子任务列表'!折叠子任务列表)"
}
}
]
}
],
"Text": "子任务",
"TemplateKey": "链接样式",
"Icon": {
"Name": "项目2.svg",
"Color": "Accent 1",
"UseCellTypeForeColor": true
},
"IconSize": 14.0
}
},
"1,17": {
"CellType": {
"$type": "Forguncy.ButtonCellType, ServerDesignerCommon",
"CommandList": [
{
"$type": "Forguncy.Model.OperateCellTypeCommand, ServerDesignerCommon",
"TargetPageElement": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "='任务-子任务列表'!新增子任务"
},
"TargetType": "Forguncy.ButtonCellType, ServerDesignerCommon, Version=10.0.3.0, Culture=neutral, PublicKeyToken=967100671921c115",
"MethodName": "ExecuteCommand"
}
],
"Text": "增加任务",
"IsInvisible": true,
"TemplateKey": "Gost",
"Icon": {
"Name": "Application/005_add_5.svg",
"BuiltIn": true,
"Color": "Background 1",
"UseCellTypeForeColor": true
},
"IconSize": 14.0
},
"RulesGuidList": [
"c10f8c5b-5f0c-448e-beff-6508c5c3f90f"
]
},
"1,20": {
"CellType": {
"$type": "Forguncy.ImageCellType, ServerDesignerCommon",
"CommandList": [
{
"$type": "Forguncy.Model.SetCellPropertyCommand, ServerDesignerCommon",
"PropertyItemsList": [
{
"TargetCells": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "='任务-子任务列表'!折叠子任务列表"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=NOT('任务-子任务列表'!折叠子任务列表)"
}
}
]
}
],
"ToolTip": "展开",
"Size": 18,
"ImagePath": "下拉2.svg",
"UseCellForeColor": true
}
},
"3,1": {
"CellType": {
"$type": "Forguncy.RepeaterCellType, ServerDesignerCommon",
"TemplatePageName": "558ca610fafc4ffd8884b819161bfd6",
"Command": {
"$type": "GrapeCity.Forguncy.Commands.CustomCommandObject, Forguncy.Commands",
"Commands": [
{
"$type": "SetCurrentRowCommand.SetCurrentRowCommand, SetCurrentRowCommand",
"CurrentRowInfo": {
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
"ColumnBindingInfo": {
"TableName": "任务表",
"ColumnName": "ID",
"GUID": "38d3f029-b2a4-4a0f-90e9-7d30c5db2c6f"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "='任务-子任务列表'!ID"
}
}
}
],
"ParamProperties": {
"ID": "ID",
"任务名称": "任务名称",
"执行者": "执行者",
"开始时间": "开始时间",
"任务类型": "任务类型",
"任务状态": "任务状态"
}
},
"DataSourceType": 1,
"DataSource": {
"$type": "ServerDesignerCommon.Model.BindingDataSourceModel, ServerDesignerCommon",
"TableName": "子任务视图",
"BindingInfos": [
{
"GUID": "be35c611-06da-4ebc-a583-6a725f5497bb",
"BindingInfo": {
"TableName": "子任务视图",
"ColumnName": "ID",
"GUID": "9baf7ad5-0bc5-4541-abe6-b3fec71d79d4"
},
"ColumnName": "ID"
},
{
"GUID": "74be6b75-a51b-496d-8871-ed23441908e9",
"BindingInfo": {
"TableName": "子任务视图",
"ColumnName": "任务名称",
"GUID": "45fde348-836c-4c1e-9b48-2a6ba2965ef9"
},
"ColumnName": "任务名称"
},
{
"GUID": "1e19c53f-b096-431f-9fa5-fb5b4d539026",
"BindingInfo": {
"TableName": "子任务视图",
"ColumnName": "任务负责人",
"GUID": "93f57ee9-199c-4a6c-9781-58885037df66",
"AttachType": {
"$type": "ForguncyDataAccess.UserColumnAttachObj, ForguncyDataAccess",
"UserColumnAttachType": 1
}
},
"ColumnName": "任务负责人_全名"
},
{
"GUID": "2197d206-fcae-4d33-b5cd-9f0f82907951",
"BindingInfo": {
"TableName": "子任务视图",
"ColumnName": "开始时间",
"GUID": "148362e5-9a27-4321-bd8e-ea86095f1021"
},
"ColumnName": "开始时间"
},
{
"GUID": "91b35dba-382e-44c8-bf8e-0d80a60b62a8",
"BindingInfo": {
"TableName": "子任务视图",
"ColumnName": "任务状态",
"GUID": "cc28c447-513f-4e40-89bc-0b91329575ff",
"RelationBinding": {
"RelatedTable": "任务状态",
"RelatedColumn": "状态码",
"DisplayColumn": "任务状态"
}
},
"ColumnName": "任务状态"
}
],
"IsListviewDataSource": true,
"CustomColumns": []
},
"DataSourceListviewName": "图文列表表格1",
"TemplateKey": "竖排无样式",
"DetailTableSetting": {
"$type": "Forguncy.Model.DetailListViewInfo, ServerDesignerCommon",
"ColumnOfDetailTable": "父任务ID",
"MasterTable": "任务表",
"ColumnOfMasterTable": "ID",
"DataCommitType": 2
},
"CommitDataWithCommand": true
}
},
"5,17": {
"CellType": {
"$type": "Forguncy.CheckBoxCellType, ServerDesignerCommon",
"Style": 1,
"CommandList": [
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon",
"cellLocations": [
{
"SerializeProperty": "='任务-子任务列表'!B2"
}
]
},
"value": "0",
"compareType": 1
},
"CommandList": [
{
"$type": "Forguncy.Model.SetRowColumnLayoutCommand, ServerDesignerCommon",
"PropertyItemsList": [
{
"Location": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "='任务-子任务列表'!4:5"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=NOT('任务-子任务列表'!R6)"
}
}
]
}
],
"ID": "7dfc54e8-8519-4699-b79a-7bfeb7197cb9"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.SetCellPropertyCommand, ServerDesignerCommon",
"PropertyItemsList": [
{
"TargetCells": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "='任务-子任务列表'!折叠子任务列表"
},
"Value": "0"
}
]
}
],
"ID": "37bc3cd1-ea7d-4530-82d4-0c05739a5e0e"
}
]
}
]
}
}
},
"StyleDatas": {
"Styles": [
{
"FontFamily": 0,
"FontSize": 16.0,
"Foreground": 1,
"Formatter": 2,
"HorizontalAlignment": 3
},
{
"FontFamily": 0,
"FontSize": 13.333333333333332,
"Foreground": 4,
"Formatter": 5
},
{
"FontFamily": 0,
"FontSize": 13.333333333333332
},
{
"FontFamily": 0,
"FontSize": 13.333333333333332,
"Foreground": 6,
"Formatter": 5,
"HorizontalAlignment": 7
},
{
"HorizontalAlignment": 7
},
{
"FontSize": -1.0,
"Foreground": null
},
{
"FontSize": -1.0
},
{
"Foreground": 8
}
],
"Types": {
"Strs": [
"Body",
"black",
"\"子任务(\"0\")\"",
"Left",
"Accent 1 0",
"[AUTO]General",
"Background 1 -25",
"Center",
"Text 1 50"
]
},
"CellStyles": {
"1,1": 0,
"1,17": 1,
"1,18": 2,
"1,19": 2,
"1,20": 3,
"2,17": 1,
"2,18": 1,
"2,19": 1,
"3,1": 4,
"4,1": 4,
"4,2": 4,
"4,3": 4,
"4,4": 4,
"4,5": 4,
"4,6": 4,
"4,7": 4,
"4,8": 4,
"4,9": 4,
"4,10": 4,
"4,11": 4,
"4,12": 4,
"4,13": 4,
"4,14": 4,
"4,15": 4,
"4,16": 4,
"4,17": 4,
"4,18": 4,
"4,19": 4,
"4,20": 4,
"5,1": 5,
"5,2": 6,
"5,3": 6,
"5,4": 6,
"5,5": 6,
"5,6": 6,
"5,7": 6,
"5,8": 6,
"5,9": 6,
"5,10": 6,
"5,11": 6,
"5,12": 6,
"5,13": 6,
"5,14": 4,
"5,16": 4,
"5,17": 4,
"5,20": 4
},
"ColStyles": {
"1": 7
},
"SheetStyle": {
"FontFamily": 0,
"FontSize": 13.333333333333332
}
},
"Spans": [
"3,1,1,20",
"1,17,1,3",
"5,14,1,2",
"5,17,1,3"
],
"PageInfo": {
"$type": "Forguncy.Model.Pages.NormalPage, ServerDesignerCommon",
"PermissionData": {
"$type": "Forguncy.RbacPermission.Core.Impl.Page.PagePermissionData, Forguncy.RbacPermission.Core",
"permissionResource": {
"$type": "Forguncy.RbacPermission.Core.Impl.Page.PagePermissionResource, Forguncy.RbacPermission.Core"
},
"permissionBindings": [
{
"$type": "Forguncy.RbacPermission.Core.Impl.Page.PagePermissionBinding, Forguncy.RbacPermission.Core",
"roleNames": [
"FGC_LoginUser"
]
}
]
},
"RowBreakLines": [],
"RepeatRangeSettings": [],
"ConditionFormatRulesCollection": {
"Rules": [
{
"$type": "Forguncy.ConditionFormat.FormulaRule, ServerDesignerCommon",
"Formula": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=AND('任务-子任务列表'!任务ID<>\"\",OR('任务-子任务列表'!父任务负责人='任务-子任务列表'!当前用户,'任务-子任务列表'!项目经理='任务-子任务列表'!当前用户,'任务-子任务列表'!执行者='任务-子任务列表'!当前用户))"
},
"GUID": "c10f8c5b-5f0c-448e-beff-6508c5c3f90f",
"StyleInfo": {
"Underline": null,
"Strikethrough": null
},
"IsDisabled": false,
"IsInvisible": false,
"IsReadOnly": false
}
]
}
},
"PrintInfo": {
"PaperSize": {},
"Margin": {}
},
"BackgroundPictures": [
{
"Name": "03800ae4-18af-4c3c-98bb-40694b1eb80b.png",
"DisplayName": "背景图1",
"StyleInfo": {
"CornerRadius": 5.0,
"Fill": "Background 1 0",
"StrokeDashType": 8,
"Stroke": "Background 2 -10",
"StrokeThickness": 1.0
},
"IsAutomaticStroke": false,
"IsAutomaticFill": false,
"Location": "24,52",
"Size": "740,272"
},
{
"FitToBrowserWidth": true,
"Name": "a5b91882-3dd8-4016-bd97-0fdbcb5f2c2b.png",
"DisplayName": "背景图2",
"PictureCommands": [
{
"$type": "Forguncy.Model.SetCellPropertyCommand, ServerDesignerCommon",
"PropertyItemsList": [
{
"TargetCells": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "='任务-子任务列表'!折叠子任务列表"
},
"Value": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "=NOT('任务-子任务列表'!折叠子任务列表)"
}
}
]
}
],
"StyleInfo": {
"Fill": "Background 1 0"
},
"IsAutomaticFill": false,
"Size": "764,52"
}
],
"CustomNames": [
{
"Name": "折叠子任务列表",
"Formula": "'任务-子任务列表'!$R$6"
}
]
}//uyAQrmWfm0HGOKWfKnW0TBUaDEGCku/L4j+2+i+6PHuOJm6lndNBiorxC+UBp9swmSJ1cXbEhJIJs5FGt2kTUZCfqAIF17UcvEi0Xj2Ty1DDgjRzaCHPAFH5r+zdr2HMYhSUkjhHhM39dwIw2eBUfVb4qRfgYK2hbOEhDI+vNr5QfU+eDQvSe959O7oK+G/eAMq9EFF6+9hUAp662avYPXAiqYg9ZpxEBmuaCJcya0IUmFjm1ieaWXND/Vos1AryHnfdUnB/U7lki5qijMv1cFIADglaAqNO46gxBhLxcMI78rTaftOSjr+TySFA5u6scZGhT8Hqb846KZ9w0nz+aMGwVf312Uuz2kGyI2idNX/5TzRUEj+RroeRHfp3k0mMgwCzb9X0PL5q62vumtDT9C7d7KgjUDZp55+JBlTJZ28EIcnVa4oCHjD7BMn/YsSk3WehWcUzNgPaTzOX/GbK6mxDzkk3qLu2NBb7nw1TLG1HmwI8l3TedFzle8Ko1oND5DEqIzfbteG8mO7RZX3Ka+Lx3WUK1Y6YtI1Q1xMiwRHLD2D6nxPu9JVciWrTsbDEOC+JJn5BewLlfUt02D/+fNckLCNdYaM1YHtjyijmbFFO3zYfKu7RbViacEWbuiw1K2O+0ErwBdXu6FXwhAB7svaXcxP3+OPYhAy13/0xS6Q8pLtqfdOeL4ZqG4AjuxTS8jjRoSfBHWAlMEygWqSKfTCbMzfly+br6cdL+lnmFD9IVWKpLFnLjr6jxmyi1XH4mRef+HPLAHODH3MGQjvZIcBfQRmLP1tGF9O67ELLLU3pffFcvuIL5eVDfxv3MQJKf5TjBLaZYVVcZ7fkAoGqD4UUmj0DRB7FynMX7pmgWz6j1OTXSC1Wi0ViAptFWyo1NeXQV+anUMIRPsiichBQDg==|920