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": "增加任务",
"IsDisabled": 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": "ccc2f590-cc2a-405f-bc28-930c5907547b",
"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": "78dc8437-f351-41df-82f4-3adf4933ee13"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.SetCellPropertyCommand, ServerDesignerCommon",
"PropertyItemsList": [
{
"TargetCells": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "='任务-子任务列表'!折叠子任务列表"
},
"Value": "0"
}
]
}
],
"ID": "ed24096f-6e42-4ca0-9fdc-1ef2a2231d09"
}
]
}
]
}
}
},
"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": "=OR('任务-子任务列表'!任务ID=\"\",'任务-子任务列表'!父任务负责人='任务-子任务列表'!当前用户,'任务-子任务列表'!项目经理='任务-子任务列表'!当前用户)"
},
"GUID": "c10f8c5b-5f0c-448e-beff-6508c5c3f90f",
"StyleInfo": {
"Underline": null,
"Strikethrough": null
},
"IsDisabled": true,
"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"
}
]
}//Z+mVf0c3LsyMqVeTtjU3mQ9KPIrD4XTLig7lBY/oVox04i2GhqkB5BoCEb6xZJYPBkHalS0EbCSb/NxVe9re7ONEeWK9757THjFFkBR1YFGWBDwnHtXcUp9TmHWuv1Pq4mMCcaTk1w4pER7v3LVKQgNeUH+ZIXdu+ZEycovXx35fCHrq4UsvX/sChh81/u/GmbeQ9CG8NJdLX9+GvBLQi2DCmD93vTQK0DiIIwAopE1HbXQ4uLt8UPawVufspT1aDpsvvg0qr9M6QYSB0zHBmQQANf6IGhE38Vcw0PAe0xia9BJyaFAMqjUAzj2FP++Bhs0yClMRTo5i8kCMELtqFsfBS11fqR7UOq9KSycYf1Q9SfZhXt6EEOfeAB5ccZ41jiUQTfpIyp+QZz0BsZ1x+B6xUMZhI/IAsKUWzWxQKujNHqLdjAz6QuqrYUn91RiFr0iAexXq01n7OiUK1qIe+85NaxJrCrT8q9HKUyzasgXMOu1MLeZ7DMuzDhzkNTM7sjKXKFay7jaDZGrN8b9uKZlYZ5JfUZ/or/wy1k85GQZJYj9e/UkBBgSvClguNzgSnyjmRNCmKwX6RJ8DR2iXhLkaZq1pEFNr+wowChSYKKvjmkRB29RI6DfZocj4FynGkAK3G5Y6DpFaZnq2Xj0GBlxwW2GsQMk73ikKUSyYvZ/8Z/wFsElWPRn8fsb4MY9DgTfNcpqv+8vxtwB+g3Dv/llaZVM+uyApsimZm6ItH86MCoymMjOxrZILn9cx9aVtDvEaI/XsgtGWX/x8rqOgCeQEtMwiBX91fjIRArPN4pPA4SbKwE+WMnBT3Q3CHUiwQ+a4QlPW3Zg+sQgvKpU1xvyU9IZ1nyIe241TSjo3lRVcLpMMi18AKZChIg4L+rGdv1C7DhAGXjvu4YwvCTHGOA==|920