{ "Rows": { "RowColumnAttachedInfos": { "0": { "GridRowColumnDefinition": { "DesignLengthInPixel": 21.0, "Mode": 2, "MinLength": { "Unit": 1 }, "MaxLength": { "Value": 1.0 } } }, "1": { "GridRowColumnDefinition": { "DesignLengthInPixel": 32.0 } }, "2": { "GridRowColumnDefinition": { "DesignLengthInPixel": 38.0 } }, "3": { "GridRowColumnDefinition": { "DesignLengthInPixel": 21.0 } }, "4": { "GridRowColumnDefinition": { "DesignLengthInPixel": 32.0 } }, "5": { "GridRowColumnDefinition": { "DesignLengthInPixel": 38.0 } }, "6": { "GridRowColumnDefinition": { "DesignLengthInPixel": 21.0, "Mode": 2, "MinLength": { "Unit": 1 }, "MaxLength": { "Value": 1.0 } } } }, "Count": 7, "DefaultSize": 21.0 }, "Cols": { "RowColumnAttachedInfos": { "0": { "GridRowColumnDefinition": { "DesignLengthInPixel": 24.0 } }, "1": { "GridRowColumnDefinition": { "DesignLengthInPixel": 201.0 } }, "2": { "GridRowColumnDefinition": { "DesignLengthInPixel": 121.0 } }, "3": { "GridRowColumnDefinition": { "DesignLengthInPixel": 57.0 } }, "4": { "GridRowColumnDefinition": { "DesignLengthInPixel": 215.0 } }, "5": { "GridRowColumnDefinition": { "DesignLengthInPixel": 50.0 } }, "6": { "GridRowColumnDefinition": { "DesignLengthInPixel": 121.0 } }, "7": { "GridRowColumnDefinition": { "DesignLengthInPixel": 15.0 } }, "8": { "GridRowColumnDefinition": { "DesignLengthInPixel": 47.0, "Mode": 2, "MinLength": { "Unit": 1 }, "MaxLength": { "Value": 1.0 } } } }, "Count": 9, "DefaultSize": 121.0 }, "Values": { "1,2": "已分配工时", "1,6": "可分配工时", "2,2": 0, "2,6": 0, "4,2": "已核定工时", "4,6": "可核定工时", "5,2": 0, "5,6": 0 }, "AttachInfos": { "1,1": { "CellType": { "$type": "EchartsCustomCellType.EchartsCustomCellTypeCellType, EchartsCustomCellType", "EChartTitle": "Echarts图表", "DataSourceBinding": "JSONDataSources", "DataSources": [], "JSONDataSources": [ { "Name": "已分配工时", "JSONDemo": "0" }, { "Name": "总核定工时", "JSONDemo": "0" } ], "ImageDataSource": [], "Config": "{\"option\":\"option = {\\n color: [\\\"#2196f3\\\", \\\"#bdd2e2\\\"],\\n title: {\\n text: '工时核定',\\n left: '50%',\\n top: '50%',\\n textAlign: 'center',\\n textVerticalAlign: 'middle',\\n textStyle: {\\n fontSize: 14,\\n },\\n },\\n tooltip: {\\n trigger: 'item'\\n },\\n series: [\\n {\\n name: '工时',\\n type: 'pie',\\n radius: ['40%', '90%'], // 调整内外半径,确保饼图尽量填充容器\\n center: ['50%', '50%'], // 确保饼图在容器中居中\\n label: {\\n fontSize: 10,\\n position: 'inside',\\n color: '#FFFFFF',\\n lineHeight: 13,\\n // 使用 formatter 回调函数\\n formatter: getColor,\\n rich: {\\n style: {\\n fontSize: 14,\\n fontWeight:\\\"normal\\\",\\n // 这里定义一个占位符,颜色会在 formatter 回调中动态设置\\n color: '#000000'\\n }\\n }\\n },\\n data: [\\n { value: 30, name: '已核定' },\\n { value: 70, name: '未核定' },\\n ],\\n emphasis: {\\n itemStyle: {\\n shadowBlur: 10,\\n shadowOffsetX: 0,\\n shadowColor: 'rgba(0, 0, 0, 0.5)'\\n }\\n }\\n }\\n ]\\n};\\n\\nfunction getColor(params) {\\n // 获取当前部分的颜色\\n const color = params.color;\\n // 解析颜色:\\n const rgb = color.slice(1); // 去掉 # \\n const r = parseInt(rgb.slice(0, 2), 16);\\n const g = parseInt(rgb.slice(2, 4), 16);\\n const b = parseInt(rgb.slice(4, 6), 16);\\n const brightness = (r * 299 + g * 587 + b * 114) / 1000;\\n\\n // 根据亮度判断标签颜色\\n const textColor = brightness > 128 ? '#000000' : '#FFFFFF';\\n\\n // 返回格式化字符串,其中包含样式标签\\n return `{style|${params.name}\\\\n ${params.value+'h'}}`;\\n}\",\"graphTheme\":null,\"displayMode\":\"canvas\",\"jsCode\":\"\\n async ({Context,JSONContext,ImageContext,echarts,myChart,dat,Forguncy,d3,setInterval,setTimeout,ForguncyEchartsHelper,PublicResource})=>{\\n var datGUI=undefined;\\n var option={};\\n option = {\\n color: [\\\"#2196f3\\\", \\\"#bdd2e2\\\"],\\n title: {\\n text: '工时核定',\\n left: '50%',\\n top: '50%',\\n textAlign: 'center',\\n textVerticalAlign: 'middle',\\n textStyle: {\\n fontSize: 14,\\n },\\n },\\n tooltip: {\\n trigger: 'item'\\n },\\n series: [\\n {\\n name: '工时',\\n type: 'pie',\\n radius: ['40%', '90%'],\\n center: ['50%', '50%'],\\n label: {\\n fontSize: 10,\\n position: 'inside',\\n color: '#FFFFFF',\\n lineHeight: 13,\\n // 使用 formatter 回调函数\\n formatter: getColor,\\n rich: {\\n style: {\\n fontSize: 14,\\n fontWeight: \\\"normal\\\",\\n // 这里定义一个占位符,颜色会在 formatter 回调中动态设置\\n color: '#000000'\\n }\\n }\\n },\\n data: [\\n { value: 30, name: '已核定' },\\n { value: 70, name: '未核定' },\\n ],\\n emphasis: {\\n itemStyle: {\\n shadowBlur: 10,\\n shadowOffsetX: 0,\\n shadowColor: 'rgba(0, 0, 0, 0.5)'\\n }\\n }\\n }\\n ]\\n};\\nfunction getColor(params) {\\n // 获取当前部分的颜色\\n const color = params.color;\\n // 解析颜色:\\n const rgb = color.slice(1); // 去掉 # \\n const r = parseInt(rgb.slice(0, 2), 16);\\n const g = parseInt(rgb.slice(2, 4), 16);\\n const b = parseInt(rgb.slice(4, 6), 16);\\n const brightness = (r * 299 + g * 587 + b * 114) / 1000;\\n // 根据亮度判断标签颜色\\n const textColor = brightness > 128 ? '#000000' : '#FFFFFF';\\n // 返回格式化字符串,其中包含样式标签\\n return `{style|${params.name}\\\\n ${params.value + 'h'}}`;\\n}\\n\\n return {\\n option,\\n datGUI,\\n };\\n }\\n \"}" } }, "1,4": { "CellType": { "$type": "EchartsCustomCellType.EchartsCustomCellTypeCellType, EchartsCustomCellType", "EChartTitle": "Echarts图表", "DataSourceBinding": "JSONDataSources", "DataSources": [], "JSONDataSources": [ { "Name": "已分配工时", "JSONDemo": "0" }, { "Name": "总核定工时", "JSONDemo": "0" } ], "ImageDataSource": [], "Config": "{\"option\":\"option = {\\n color: [\\\"#2196f3\\\", \\\"#bdd2e2\\\"],\\n title: {\\n text: '工时分配',\\n left: '50%',\\n top: '50%',\\n textAlign: 'center',\\n textVerticalAlign: 'middle',\\n textStyle: {\\n fontSize: 14,\\n },\\n },\\n tooltip: {\\n trigger: 'item'\\n },\\n series: [\\n {\\n name: '工时',\\n type: 'pie',\\n radius: ['40%', '90%'], // 调整内外半径,确保饼图尽量填充容器\\n center: ['50%', '50%'], // 确保饼图在容器中居中\\n label: {\\n fontSize: 10,\\n position: 'inside',\\n color: '#FFFFFF',\\n lineHeight: 13,\\n // 使用 formatter 回调函数\\n formatter: getColor,\\n rich: {\\n style: {\\n fontSize: 14,\\n fontWeight:\\\"normal\\\",\\n // 这里定义一个占位符,颜色会在 formatter 回调中动态设置\\n color: '#000000'\\n }\\n }\\n },\\n data: [\\n { value: 30, name: '已分配' },\\n { value: 70, name: '未分配' },\\n ],\\n emphasis: {\\n itemStyle: {\\n shadowBlur: 10,\\n shadowOffsetX: 0,\\n shadowColor: 'rgba(0, 0, 0, 0.5)'\\n }\\n }\\n }\\n ]\\n};\\n\\nfunction getColor(params) {\\n // 获取当前部分的颜色\\n const color = params.color;\\n // 解析颜色:\\n const rgb = color.slice(1); // 去掉 # \\n const r = parseInt(rgb.slice(0, 2), 16);\\n const g = parseInt(rgb.slice(2, 4), 16);\\n const b = parseInt(rgb.slice(4, 6), 16);\\n const brightness = (r * 299 + g * 587 + b * 114) / 1000;\\n\\n // 根据亮度判断标签颜色\\n const textColor = brightness > 128 ? '#000000' : '#FFFFFF';\\n\\n // 返回格式化字符串,其中包含样式标签\\n return `{style|${params.name}\\\\n ${params.value+'h'}}`;\\n}\",\"graphTheme\":null,\"displayMode\":\"canvas\",\"jsCode\":\"\\n async ({Context,JSONContext,ImageContext,echarts,myChart,dat,Forguncy,d3,setInterval,setTimeout,ForguncyEchartsHelper,PublicResource})=>{\\n var datGUI=undefined;\\n var option={};\\n option = {\\n color: [\\\"#2196f3\\\", \\\"#bdd2e2\\\"],\\n title: {\\n text: '工时分配',\\n left: '50%',\\n top: '50%',\\n textAlign: 'center',\\n textVerticalAlign: 'middle',\\n textStyle: {\\n fontSize: 14,\\n },\\n },\\n tooltip: {\\n trigger: 'item'\\n },\\n series: [\\n {\\n name: '工时',\\n type: 'pie',\\n radius: ['40%', '90%'],\\n center: ['50%', '50%'],\\n label: {\\n fontSize: 10,\\n position: 'inside',\\n color: '#FFFFFF',\\n lineHeight: 13,\\n // 使用 formatter 回调函数\\n formatter: getColor,\\n rich: {\\n style: {\\n fontSize: 14,\\n fontWeight: \\\"normal\\\",\\n // 这里定义一个占位符,颜色会在 formatter 回调中动态设置\\n color: '#000000'\\n }\\n }\\n },\\n data: [\\n { value: 30, name: '已分配' },\\n { value: 70, name: '未分配' },\\n ],\\n emphasis: {\\n itemStyle: {\\n shadowBlur: 10,\\n shadowOffsetX: 0,\\n shadowColor: 'rgba(0, 0, 0, 0.5)'\\n }\\n }\\n }\\n ]\\n};\\nfunction getColor(params) {\\n // 获取当前部分的颜色\\n const color = params.color;\\n // 解析颜色:\\n const rgb = color.slice(1); // 去掉 # \\n const r = parseInt(rgb.slice(0, 2), 16);\\n const g = parseInt(rgb.slice(2, 4), 16);\\n const b = parseInt(rgb.slice(4, 6), 16);\\n const brightness = (r * 299 + g * 587 + b * 114) / 1000;\\n // 根据亮度判断标签颜色\\n const textColor = brightness > 128 ? '#000000' : '#FFFFFF';\\n // 返回格式化字符串,其中包含样式标签\\n return `{style|${params.name}\\\\n ${params.value + 'h'}}`;\\n}\\n\\n return {\\n option,\\n datGUI,\\n };\\n }\\n \"}" } }, "2,2": { "BindingInfo": { "TableName": "任务平行视图", "ColumnName": "已分配工时", "GUID": "b704ed62-8098-481a-b3f9-30659e9f65ba" } }, "2,6": { "BindingInfo": { "TableName": "任务平行视图", "ColumnName": "可分配工时", "GUID": "5c1528c1-bfc6-4f9f-a836-84dbd86a3cf2" } }, "5,2": { "BindingInfo": { "TableName": "任务平行视图", "ColumnName": "总核定工时", "GUID": "973f7d86-5349-4aee-90fc-777bb8df0534" } }, "5,6": { "BindingInfo": { "TableName": "任务平行视图", "ColumnName": "可核定工时", "GUID": "ccf17015-40dc-4d64-b7ad-7042e4b9afb0" } } }, "StyleDatas": { "Styles": [ { "FontFamily": 0 }, { "FontFamily": 0, "FontSize": 12.0, "Foreground": 1, "Formatter": 2 }, { "FontFamily": 0, "FontSize": 24.0, "Formatter": 3, "HorizontalAlignment": 4 } ], "Types": { "Strs": [ "Body", "Text 1 50", "[AUTO]General", "0.0\"h\"", "Left" ] }, "CellStyles": { "0,2": 0, "0,3": 0, "0,4": 0, "0,6": 0, "1,2": 1, "1,3": 1, "1,4": 0, "1,6": 1, "1,7": 0, "2,2": 2, "2,3": 2, "2,4": 0, "2,6": 2, "2,7": 0, "3,2": 0, "3,3": 0, "3,4": 0, "3,6": 0, "4,0": 0, "4,2": 1, "4,3": 1, "4,4": 0, "4,5": 0, "4,6": 1, "4,7": 0, "4,8": 0, "5,0": 0, "5,2": 2, "5,3": 2, "5,4": 0, "5,5": 0, "5,6": 2, "5,7": 0, "5,8": 0, "6,2": 0, "6,3": 0, "6,4": 0, "6,6": 0 }, "SheetStyle": { "FontFamily": 0 } }, "Spans": [ "1,1,6,1", "1,4,6,1" ], "PageInfo": { "$type": "Forguncy.Model.Pages.UserControlPage, ServerDesignerCommon", "PropertyDefinitions": [], "CommandDefinitions": [], "MethodDefinitions": [], "PageLoadedCommandList": [] }, "PrintInfo": { "PaperSize": {}, "Margin": {} } }//wVmvUeo7MWt1dNvC4VQEYqBq7p6hvR3T2e5voXDlV9ZgNpHnr9z0gBSZouUAHxF2JgY+hfsXUcS2a0tiDHss74bhbSrEV8Zbzzc8ueMC2p3Pb1sqM9cjpa/Y4/e1+2Hux4StvRvhdMLBAkKlfjLQNhpv9mOAABqT1/8InbDRen17E3QwmJpX+4C708NEgnudiMRakStQ1rOSMnBQqco8IIYjW640mvphX9+C6pv1z0Me7qRqnLv8SIRDGSqFDZrOpm24Up1Qwx2p0FNz+dVNWLM2KUPO5MwowKt/RDhMMqSLoApkZBGXBfqvVwQj2qc7o5zAbbb/yaaTL1cSfwZ4312/+gtU76Ouc3DUD+jJblaqUGVBfvvrtJ6ZZRnmcN1qSrerI5/xop2NyC3AjoVqYXd133F6p3LXPVuWDWd5mi3gBkGXcx8m+x0PYrFGu7nMgoVN7qL55P91mT79Ac2d5GJFQqRWVX95VGzm6mI86k7aRLS3N122i+DafgErVt6JKr7t9Z+VG1sPYibFaA9JeWNrxqZ0/JWAfqaH9obPhIyBRkG3tlIclGGrnnbwhA0AwJsrWmU8nh/siJkb/zoI+yKby/RE0GcWcl4ZTg9323Iv6P+mbV9pYqujQLnqrf1sVzIGoyrTHi8XUsGc7FfDfQVCZQ8ghIOamXvU8v6yJh/g1bT8/rBPN/new6QR4LLbB0Ofmrfe/aYUfPr+s3RBCHGoQYIEmxeWCy/ujBYD0JftJBPWFOHNJpE1ZArydTyQz+XzjX03IiCU0iRUb2BGLh9cMZdrN7Vizf2elbVfwna/GVmc3oH1LTfMQY2dbyTf4Oat01Ln6rIcftLGzren4NOSw3oAcpmsyoyrw40XT6LKUJgfFrYYvVh1UGvkaL7ETV6q0dPUqdh46iilQukOqQ==|920