Files
clue/Pages/任务/任务-子任务列表.json

651 lines
20 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"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": "\"子任务(\"&B6&\"\"",
"5,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.ConditionCommand, ServerDesignerCommon",
"ConditionAndCommandPairList": [
{
"Condition": {
"$type": "Forguncy.Model.IfCondition, ServerDesignerCommon",
"param": {
"$type": "Forguncy.Model.IfConditionTableDataParam, ServerDesignerCommon",
"tableData": {
"TableName": "任务表",
"ColumnName": "任务状态",
"GUID": "d1f5930b-e3e2-439f-97c8-9e507d0b2042"
}
},
"value": "2"
},
"CommandList": [
{
"$type": "Forguncy.Model.ShowPopupCommand, ServerDesignerCommon",
"PopupDisplayMode": 3,
"DrawerDirection": 3,
"ShowDrawerHeader": true,
"PageName": "新增任务",
"PassValues": [
{
"Source": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "='任务-子任务列表'!项目ID"
},
"TargetCell": {
"SerializeProperty": "=新增任务!项目ID"
}
},
{
"Source": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "='任务-子任务列表'!任务ID"
},
"TargetCell": {
"SerializeProperty": "=新增任务!父任务ID"
}
},
{
"Source": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "='任务-子任务列表'!C6"
},
"TargetCell": {
"SerializeProperty": "=新增任务!任务类型"
}
},
{
"Source": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "='任务-子任务列表'!F6"
},
"TargetCell": {
"SerializeProperty": "=新增任务!任务分组"
}
},
{
"Source": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "='任务-子任务列表'!I6"
},
"TargetCell": {
"SerializeProperty": "=新增任务!任务版本"
}
},
{
"Source": {
"$type": "Forguncy.Model.FormulaReferObject, ServerDesignerCommon",
"SerializeProperty": "='任务-子任务列表'!L6"
},
"TargetCell": {
"SerializeProperty": "=新增任务!任务负责人"
}
}
]
}
],
"ID": "27506fa9-b535-4ce2-9eac-76d6e89d98e5"
},
{
"CommandList": [
{
"$type": "Notiflix_Forguncy.Notify_Command, Notiflix_Forguncy",
"Message": "当前任务状态不允许新增子任务"
}
],
"ID": "7168082e-8d57-470b-84d3-ad0374e8b467"
}
]
}
],
"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": "='任务-子任务列表'!折叠子任务列表"
},
"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": "f143be14-aef5-4e30-821d-5cb8dc0b3645"
},
"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,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,2": {
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "任务类型",
"GUID": "ee1c3188-0feb-48ef-af4c-cb8578612442"
}
},
"5,5": {
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "分组ID",
"GUID": "cce18a0e-7b0b-400d-a597-5a36c988fc7d"
}
},
"5,8": {
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "版本",
"GUID": "d0571e32-50d7-49c1-b141-ba07319d9844"
}
},
"5,11": {
"BindingInfo": {
"TableName": "任务表",
"ColumnName": "任务负责人",
"GUID": "32305352-99a9-4271-9300-9d6c8ee7fec6"
}
},
"5,17": {
"CellType": {
"$type": "Forguncy.CheckBoxCellType, ServerDesignerCommon",
"Caption": "折叠",
"Style": 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)"
}
}
]
}
]
}
}
},
"StyleDatas": {
"Styles": [
{
"FontFamily": 0,
"FontSize": 16.0,
"Foreground": 1,
"HorizontalAlignment": 2
},
{
"FontFamily": 0,
"FontSize": 13.333333333333332,
"Foreground": 3,
"Formatter": 4
},
{
"FontFamily": 0,
"FontSize": 13.333333333333332
},
{
"FontFamily": 0,
"FontSize": 13.333333333333332,
"Foreground": 5,
"Formatter": 4,
"HorizontalAlignment": 6
},
{
"HorizontalAlignment": 6
},
{
"Formatter": 7,
"HorizontalAlignment": 6
},
{
"Foreground": 8
}
],
"Types": {
"Strs": [
"Body",
"black",
"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": 4,
"5,5": 4,
"5,8": 4,
"5,11": 4,
"5,14": 4,
"5,16": 4,
"5,17": 4,
"5,20": 4
},
"ColStyles": {
"1": 6
},
"SheetStyle": {
"FontFamily": 0,
"FontSize": 13.333333333333332
}
},
"Spans": [
"3,1,1,20",
"5,17,1,3",
"5,2,1,3",
"5,5,1,3",
"5,8,1,3",
"5,11,1,3",
"1,17,1,3",
"5,14,1,2"
],
"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,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"
}
]
}//ugIm1VK2S1pPZmrliuje/w9teqq8VtVHohY8j4ZzXDYMI6hL8tHonMzS/niqJcw2H2KHJzo589rARmYs5/1l7+iHPuGZyBlZNw9BQqcF/3rzmEiKMnbIqDGIBr8+zH3E1qr0cBg3mh9TO+hWOInAybDU3X1O4eIsJCNKeXDV3KxTw7TgdtH+P1wTT/QbRJCFhFuNaelLpVHa/Fqr5nV3K7RTCoN9Kgd4RY6i/b7GWSM/Rhb9r46OSrKzMxViucmZkzHsK1usyV2DP3RyRkajKO+znUWFj0tBQKxdaW+8Yb69ax//x5KwRPVHK6ZuzPoLgT56XQmzNLzB3P1ipA4UuSaaTsI7v7/9p06GMVUn65Q5DBqd/jgvmDaz/JPFjZXllhVO50s45v1oSWqFliTlDSh23g8i6BewomCZyuJkZgORW/AOJzjGy1pFTP47iW0aDwVcm8bV3ibaYjUJow0eAS5KcfOQNiYcSDF7iHEFC7XqT0Z7T1i64hCnjSkG/30msre1wGPR4z5W3OX061no/YyT1KMqOpGxbACDrVwsoCNYkXNztVBZ4PC4ePdnPdy/z/Ne4P8LhTJO5mr+gQRlhSx988LOvuRT6OZ9WlLqB2Aun1LAjeKjWbiZ2/7AyGX6LIDmPSA1XMAKO1uMPxGAXt4c1oKbermTTtAFL6fvry76p5gqCD6mBoRLPO7N2wXFSlNs5RCNwH/unQIxAoeWvevwQ1Rjh7xB9wx2N1jtiwvNGUGs75MByPbHlnp0Wv2d7Ka/oBnoW/O9syeW6+HJNc3V8WGr8t4zCLuXU4iwuFV9kHqiuR0kVnMyq9+z5JOTAGy3N+8UIOMaVNHgFLoM0Opn3+lAnrvDzwH5qZ2tvdjW7e6eGUhkS1tB9R60Vos1NNl74ZwRNSEtiY9arrxsuA==|920