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

620 lines
19 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.5.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,
"DoNotLoadDataWhenLoadPage": 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": "cb369477-e98a-42f7-bd11-0f227f476a05"
},
{
"CommandList": [
{
"$type": "Forguncy.Model.SetCellPropertyCommand, ServerDesignerCommon",
"PropertyItemsList": [
{
"TargetCells": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "='任务-子任务列表'!折叠子任务列表"
},
"Value": "0"
}
]
}
],
"ID": "b3be7ed3-17ff-4ef8-b3b4-e51f13a1384d"
}
]
},
{
"$type": "Forguncy.Model.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionPageElementParam, ServerDesignerCommon",
"cellLocations": [
{
"SerializeProperty": "='任务-子任务列表'!折叠子任务列表"
}
]
},
"value": "1",
"compareType": 1
},
"CommandList": [
{
"$type": "Forguncy.Model.UpdateListviewCommand, ServerDesignerCommon",
"ListviewName": "图文列表表格1",
"UpdateType": 6,
"UpdateListviewCommandRunTimeMethodSetting": {
"MethodName": "Reload",
"ParameterValues": {
"clearFilter": false,
"clearSort": true,
"clearRuntimeQueryConditions": true
}
}
}
],
"ID": "12966010-694e-412a-a4af-c4d5d4e803a8"
}
]
}
]
}
}
},
"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"
}
]
}//a06TlJ54pEdWVrbS4r/XD3AdyKUJ/U7Y894H5FQLYbBrOLEuvuN1mKwLR4JotJN2t1/9ekIZYHJFMVQAV8mLwgzwwD7an3Q04ncSodmHeJQiMavG5+eRuazx+UUJZCS8Wo+ivHPXo77JxmuL0n/F3L10DHoReYsYQa1EHc1EYhF85ZNoi22Wu1ZzC+DSZYWedH8g4hFnh/eXG6A4Ox0Ffvs3iZlRNT59YQG2Yt02Lipz6aO7wZ3UvEZsy0Oer6YTojl87um7DPAOYbt96WNU6BMW8nU51kF+T1tOYmCjKt5V+uVg3k9gpbaiOuhoH8GKcgpAylTp8EnUK6Obr82K0RXV6PkLemmJjgt2ZdCWFv8ya9NxjcdIvr5zETwctYjkhT/j4FWk/uyFTnLwwyzN+PhylMNZqdWbT4KWkM1Bf3WZggNE9Nw8zdO6ryQW4sfOTNCvjZTJw8TPw9vW25aWVC9w1yiNDeBEHkFnikoQkO8d73DrXFDZVTlDOT3E+g+D4kHCABkN4oJtLp4q0eEO8TdIOkSAnZNnhTYFMJCaPuTnzAKBfK3oet5EwMf0nwrvbwT092Q+PkPzqf3IlkAxEdznzhBc0Bo47F2w6nQDp/9bY+/LaX2RBOjhnQsySyHAFKsFsqo8UwcoGQQNX6M8/N8qni61JZMW9hKf/jlN5qut/n/k+iG/ItM4QJ7IuEcGpSzYwVvmxLqXJMoSp6dD9BqSrMJRTrR7T/4OviKhSo8fusFZ4q7tRkX95Hn8/WEQmVh3Pn9oIOkpQUPpW4dXcwJTEcBx0qM1R2EPhf3L6CuqhtbhHzRgmyxKlY7pDi9PNZXtK1FxThgWPzyAekrPnmVeSVSex7vlXSJj4a+EZs2JQHPuWDDY/0LOEI5o56GETKOTFtoOCRRhdO2yLpqHWA==|920