570 lines
16 KiB
JSON
570 lines
16 KiB
JSON
{
|
||
"Rows": {
|
||
"RowColumnAttachedInfos": {
|
||
"0": {
|
||
"GridRowColumnDefinition": {
|
||
"DesignLengthInPixel": 32.0
|
||
}
|
||
},
|
||
"1": {
|
||
"GridRowColumnDefinition": {
|
||
"DesignLengthInPixel": 30.0,
|
||
"IsHidden": true
|
||
}
|
||
},
|
||
"2": {
|
||
"GridRowColumnDefinition": {
|
||
"DesignLengthInPixel": 10.0,
|
||
"IsHidden": true
|
||
}
|
||
},
|
||
"3": {
|
||
"GridRowColumnDefinition": {
|
||
"DesignLengthInPixel": 272.0,
|
||
"Mode": 1,
|
||
"IsHidden": true
|
||
}
|
||
},
|
||
"4": {
|
||
"GridRowColumnDefinition": {
|
||
"DesignLengthInPixel": 10.0,
|
||
"IsHidden": true
|
||
}
|
||
},
|
||
"5": {
|
||
"GridRowColumnDefinition": {
|
||
"DesignLengthInPixel": 28.0,
|
||
"IsHidden": true
|
||
}
|
||
}
|
||
},
|
||
"InLogicalVisibleIndexes": [
|
||
1,
|
||
2,
|
||
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": {
|
||
"0,1": "子任务",
|
||
"1,1": "子任务",
|
||
"1,2": "增加任务",
|
||
"5,17": 1
|
||
},
|
||
"Formulas": {
|
||
"1,1": "\"子任务(\"&B6&\")\"",
|
||
"5,1": "IFERROR(ODATA(\"子任务视图/$count?$filter=父任务ID eq \"&IF(ISBLANK(任务ID),\"null\",任务ID)),0)"
|
||
},
|
||
"AttachInfos": {
|
||
"0,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
|
||
}
|
||
}
|
||
},
|
||
"0,20": {
|
||
"CellType": {
|
||
"$type": "Forguncy.ImageCellType, ServerDesignerCommon",
|
||
"CommandList": [
|
||
{
|
||
"$type": "Forguncy.Model.SetCellPropertyCommand, ServerDesignerCommon",
|
||
"PropertyItemsList": [
|
||
{
|
||
"TargetCells": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "='任务-子任务列表'!R6"
|
||
},
|
||
"Value": "0"
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"ToolTip": "展开",
|
||
"Size": 18,
|
||
"ImagePath": "下拉2.svg",
|
||
"UseCellForeColor": true
|
||
}
|
||
},
|
||
"1,2": {
|
||
"CellType": {
|
||
"$type": "Forguncy.ButtonCellType, ServerDesignerCommon",
|
||
"CommandList": [
|
||
{
|
||
"$type": "Forguncy.Model.ShowPopupCommand, ServerDesignerCommon",
|
||
"PageName": "新增任务",
|
||
"PassValues": [
|
||
{
|
||
"Source": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "='任务-子任务列表'!项目ID"
|
||
},
|
||
"TargetCell": {
|
||
"SerializeProperty": "=新增任务!项目ID"
|
||
}
|
||
},
|
||
{
|
||
"Source": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "='任务-子任务列表'!任务ID"
|
||
},
|
||
"TargetCell": {
|
||
"SerializeProperty": "=新增任务!父任务ID"
|
||
}
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"Text": "增加任务",
|
||
"TemplateKey": "Gost",
|
||
"Icon": {
|
||
"Name": "Application/005_add_5.svg",
|
||
"BuiltIn": true,
|
||
"Color": "Background 1",
|
||
"UseCellTypeForeColor": true
|
||
},
|
||
"IconSize": 14.0
|
||
}
|
||
},
|
||
"1,20": {
|
||
"CellType": {
|
||
"$type": "Forguncy.ImageCellType, ServerDesignerCommon",
|
||
"CommandList": [
|
||
{
|
||
"$type": "Forguncy.Model.SetCellPropertyCommand, ServerDesignerCommon",
|
||
"PropertyItemsList": [
|
||
{
|
||
"TargetCells": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "='任务-子任务列表'!R6"
|
||
},
|
||
"Value": "1"
|
||
}
|
||
]
|
||
}
|
||
],
|
||
"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": [
|
||
{
|
||
"BindingInfo": {
|
||
"TableName": "子任务视图",
|
||
"ColumnName": "ID",
|
||
"GUID": "9baf7ad5-0bc5-4541-abe6-b3fec71d79d4"
|
||
},
|
||
"ColumnName": "ID"
|
||
},
|
||
{
|
||
"BindingInfo": {
|
||
"TableName": "子任务视图",
|
||
"ColumnName": "任务名称",
|
||
"GUID": "45fde348-836c-4c1e-9b48-2a6ba2965ef9"
|
||
},
|
||
"ColumnName": "任务名称"
|
||
},
|
||
{
|
||
"BindingInfo": {
|
||
"TableName": "子任务视图",
|
||
"ColumnName": "执行者",
|
||
"GUID": "f143be14-aef5-4e30-821d-5cb8dc0b3645"
|
||
},
|
||
"ColumnName": "执行者"
|
||
},
|
||
{
|
||
"BindingInfo": {
|
||
"TableName": "子任务视图",
|
||
"ColumnName": "开始时间",
|
||
"GUID": "148362e5-9a27-4321-bd8e-ea86095f1021"
|
||
},
|
||
"ColumnName": "开始时间"
|
||
},
|
||
{
|
||
"BindingInfo": {
|
||
"TableName": "子任务视图",
|
||
"ColumnName": "任务状态",
|
||
"GUID": "cc28c447-513f-4e40-89bc-0b91329575ff",
|
||
"RelationBinding": {
|
||
"RelatedTable": "任务状态",
|
||
"RelatedColumn": "状态码",
|
||
"DisplayColumn": "任务状态"
|
||
}
|
||
},
|
||
"ColumnName": "任务状态"
|
||
}
|
||
],
|
||
"SqlCondition": {
|
||
"$type": "ForguncyDataAccess.GeneralCESqlCondition, ForguncyDataAccess",
|
||
"ColumnBindingInfo": {
|
||
"TableName": "子任务视图",
|
||
"ColumnName": "父任务ID",
|
||
"GUID": "39e8e6ab-9c57-4528-b057-92d7f07a764d"
|
||
},
|
||
"Value": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "='任务-子任务列表'!任务ID"
|
||
}
|
||
},
|
||
"IsListviewDataSource": true,
|
||
"CustomColumns": []
|
||
},
|
||
"DataSourceListviewName": "图文列表表格1",
|
||
"TemplateKey": "竖排无样式",
|
||
"CommitDataWithCommand": true
|
||
}
|
||
},
|
||
"5,1": {
|
||
"CellType": {
|
||
"$type": "Forguncy.TextCellType, ServerDesignerCommon",
|
||
"SavedValidators": [
|
||
{
|
||
"$type": "Forguncy.CellTypes.Models.UniqueValidadator, ServerDesignerCommon"
|
||
}
|
||
],
|
||
"TemplateKey": "_RS_NewLittleRoundCorner",
|
||
"CommandList": [
|
||
{
|
||
"$type": "Forguncy.Model.SetCellPropertyCommand, ServerDesignerCommon",
|
||
"PropertyItemsList": [
|
||
{
|
||
"TargetCells": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "='任务-子任务列表'!R6"
|
||
},
|
||
"Value": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "='任务-子任务列表'!B6=0"
|
||
}
|
||
}
|
||
]
|
||
}
|
||
]
|
||
}
|
||
},
|
||
"5,17": {
|
||
"CellType": {
|
||
"$type": "Forguncy.CheckBoxCellType, ServerDesignerCommon",
|
||
"Caption": "折叠",
|
||
"Style": 1,
|
||
"CommandList": [
|
||
{
|
||
"$type": "Forguncy.Model.SetRowColumnLayoutCommand, ServerDesignerCommon",
|
||
"PropertyItemsList": [
|
||
{
|
||
"Location": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "='任务-子任务列表'!1:1"
|
||
},
|
||
"Value": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "='任务-子任务列表'!R6"
|
||
}
|
||
},
|
||
{
|
||
"Location": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "='任务-子任务列表'!2:5"
|
||
},
|
||
"Value": {
|
||
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
|
||
"SerializeProperty": "=NOT('任务-子任务列表'!R6)"
|
||
}
|
||
}
|
||
]
|
||
}
|
||
]
|
||
}
|
||
}
|
||
},
|
||
"StyleDatas": {
|
||
"Styles": [
|
||
{
|
||
"FontFamily": 0,
|
||
"FontSize": 18.666666666666664,
|
||
"Foreground": 1,
|
||
"HorizontalAlignment": 2
|
||
},
|
||
{
|
||
"FontFamily": 0,
|
||
"FontSize": 13.333333333333332,
|
||
"Foreground": 3,
|
||
"Formatter": 4,
|
||
"HorizontalAlignment": 5
|
||
},
|
||
{
|
||
"FontFamily": 0,
|
||
"FontSize": 13.333333333333332,
|
||
"Foreground": 6,
|
||
"Formatter": 4
|
||
},
|
||
{
|
||
"FontFamily": 0,
|
||
"FontSize": 13.333333333333332
|
||
},
|
||
{
|
||
"HorizontalAlignment": 5
|
||
},
|
||
{
|
||
"Formatter": 7,
|
||
"HorizontalAlignment": 5
|
||
},
|
||
{
|
||
"Foreground": 8
|
||
}
|
||
],
|
||
"Types": {
|
||
"Strs": [
|
||
"Body",
|
||
"black",
|
||
"Left",
|
||
"Background 1 -25",
|
||
"[AUTO]General",
|
||
"Center",
|
||
"Accent 1 0",
|
||
"@",
|
||
"Text 1 50"
|
||
]
|
||
},
|
||
"CellStyles": {
|
||
"0,1": 0,
|
||
"0,20": 1,
|
||
"1,2": 2,
|
||
"1,3": 3,
|
||
"1,4": 3,
|
||
"1,20": 1,
|
||
"2,17": 2,
|
||
"2,18": 2,
|
||
"2,19": 2,
|
||
"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": 4,
|
||
"5,3": 4,
|
||
"5,4": 4,
|
||
"5,5": 4,
|
||
"5,6": 4,
|
||
"5,7": 4,
|
||
"5,8": 4,
|
||
"5,9": 4,
|
||
"5,10": 4,
|
||
"5,11": 4,
|
||
"5,12": 4,
|
||
"5,13": 4,
|
||
"5,14": 4,
|
||
"5,15": 4,
|
||
"5,16": 4,
|
||
"5,17": 4,
|
||
"5,20": 4
|
||
},
|
||
"ColStyles": {
|
||
"1": 6
|
||
},
|
||
"SheetStyle": {
|
||
"FontFamily": 0,
|
||
"FontSize": 13.333333333333332
|
||
}
|
||
},
|
||
"Spans": [
|
||
"3,1,1,20",
|
||
"1,2,1,3",
|
||
"5,17,1,3",
|
||
"0,1,1,18"
|
||
],
|
||
"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": []
|
||
},
|
||
"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,72",
|
||
"Size": "740,272"
|
||
}
|
||
],
|
||
"CustomNames": [
|
||
{
|
||
"Name": "折叠子任务列表",
|
||
"Formula": "'任务-子任务列表'!$R$6"
|
||
}
|
||
]
|
||
}//pCdDeFq1i3wq7LSHTlj5TDC/Z04X0KMVr6hn/p+3LmoWJ7grcvyJ1hPrMeZ9fYpHFTOUSD0ITyORZIHH+zzQkfd6TkhcTX4bm8oATvpnwgvUWuCl0GxiuGolKzwzu2CXcV0TVLCtkBYNFnre80FWnEvJ/wnxl0TMtSCthCfAr23CkTtGotPEy3JMjNHzXQrUei9Uv/7boKk6sM+1y9zwKXM0ADhoHnXLD6Hq291+BIw9cQ0Kb65AC/Vti6Kr7xIhSKbji/MeIdllKvNXwruMCtg0bXsCwlUxaoxiTxD5HKG4hXIPs8Xk5nhoibk4eBxM4q98lR0Ui8gTFKLvO05LoEKsZaMH/rHmhMffz16Mapdpyiq4yhylJU0yqqUqkHzxYEdgvXalVkSqvev1C7yyf/7E1vei2fnMaP3Sfqoz/dgI69d/5msYGbGxHmR9muLafJf+E3bgPpU31m9qgwgv4igU/81CQfjPXOxjxBdK7YDQ/+tptK/v6uqvgZj9+Qn/4ssaikLdLHYMBvBJ4mhHSgc1GT/I3uGjQQLtj9MKXN1FLhI9MIaLc8DZFppiq/0PUHatZnYTovMYth4w2cQIMoEwdCXULkoHTDklM+nd3cVLUrm9oHRFq9YmwNAagw9oLpBTAMcL53P+4oiqLzuGyWFWcyihTYFYi5I1TRx7WhxCCg1hcboZus7Gyd78BNRNU0Seo/jT5Xw4fnETUddJk+YeIFy+AW+fPkmeMuxtMdBGq2VXuxNgInGXRlJGbhz+lhlrsgQE3h2U37NgJDFaWfmEtCwoZGyzYNsVPufyODHVhF7Qy1YpGLkhKvXA7hI5zRZ1S5uEso+DkgYXhBykGx2hvw8ITs+W89/HSKVWPscqV01sV57dYXqgnMoJBb4VAcSgUlcr1aLlOszMZYnhcA==|920 |