From 99b0a3fc7665777f5d6961179a7458db8cd0952a Mon Sep 17 00:00:00 2001
From: "DESKTOP-P7DCA12\\ZhuanZ" <269252963@qq.com>
Date: Tue, 10 Sep 2024 19:31:39 +0800
Subject: [PATCH] =?UTF-8?q?{"Message":"1","MessageType":2,"Modules":[{"Sta?=
=?UTF-8?q?te":1,"Type":1,"Name":"PCPage/=E5=B7=A5=E4=BD=9C=E5=8F=B0?=
=?UTF-8?q?=E9=A6=96=E9=A1=B5"}],"Version":"v1"}?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.collaboration | 12 +-----------
Pages/工作台/工作台首页.json | 4 ++--
2 files changed, 3 insertions(+), 13 deletions(-)
diff --git a/.collaboration b/.collaboration
index a91a79cd..fda22ea5 100644
--- a/.collaboration
+++ b/.collaboration
@@ -2290,17 +2290,7 @@
},
{
"ModuleName": "PCPage/工作台首页",
- "State": 1,
- "LockedBy": {
- "UserName": "DESKTOP-P7DCA12\\ZhuanZ",
- "Email": "269252963@qq.com"
- },
- "LockDateTime": "2024-09-10T19:31:04.2859203+08:00",
- "ModuleType": 1,
- "ToRemoveFiles": [
- "Pages\\工作台\\工作台首页.json",
- "Pages\\工作台\\工作台首页.rd"
- ]
+ "ModuleType": 1
},
{
"ModuleName": "PCPage/项目负荷 (2)",
diff --git a/Pages/工作台/工作台首页.json b/Pages/工作台/工作台首页.json
index edd18765..6ecb4ab4 100644
--- a/Pages/工作台/工作台首页.json
+++ b/Pages/工作台/工作台首页.json
@@ -375,7 +375,7 @@
],
"JSONDataSources": [],
"ImageDataSource": [],
- "Config": "{\"option\":\"console.log(Context[\\\"工时表\\\"]);\\nconst {\\n \\\"日期\\\": xAxisData,\\n \\\"总工时\\\": yAxisData\\n} = ForguncyEchartsHelper.splitDataSource(Context[\\\"工时表\\\"]);\\n\\nfunction getDateFormat (value) {\\n // Excel 日期格式的起始日期是 1899-12-30 \\n const excelEpoch = new Date(Date.UTC(1899, 11, 30));\\n // 将整数日期转换为毫秒数 \\n const date = new Date(excelEpoch.getTime() + value * 24 * 60 * 60 * 1000);\\n const year = date.getUTCFullYear();\\n const month = (date.getUTCMonth() + 1).toString().padStart(2, '0');\\n const day = date.getUTCDate().toString().padStart(2, '0');\\n return `${year}-${month}-${day}`;\\n }\\n\\noption = {\\n backgroundColor: 'rgba(0, 0, 0, 0)',\\n title: {\\n text: '报工趋势图', // 设置标题文本 \\n left: 'center', // 标题居中 \\n top: 24, // 标题距离上方24px \\n textStyle: {\\n fontSize: 16, // 标题字体大小 \\n fontWeight: 'bold' // 标题字体加粗 \\n }\\n },\\n grid: {\\n top: 72,\\n left: '24px', // 让图表撑满宽度 \\n right: '24px', // 让图表撑满宽度 \\n bottom: '24px',\\n containLabel: true\\n },\\n xAxis: {\\n type: 'category',\\n data: xAxisData,\\n axisLabel: {\\n formatter: getDateFormat,\\n color: '#abacac' //设置x轴线文本颜色\\n },\\n axisLine: {\\n lineStyle: {\\n color: '#f5f6f6' // 设置 x 轴线条为浅灰色 \\n }\\n },\\n axisTick: {\\n lineStyle: {\\n color: '#f5f6f6' // 设置 x 轴刻度线为浅灰色 \\n }\\n },\\n },\\n yAxis: {\\n type: 'value',\\n axisLabel: {\\n color: '#abacac' // 设置 y 轴刻度文本为浅灰色 \\n },\\n axisLine: {\\n\\n lineStyle: {\\n color: '#f5f6f6' // 设置 y 轴线条为浅灰色 \\n }\\n },\\n axisTick: {\\n\\n lineStyle: {\\n color: '#f5f6f6' // 设置 y 轴刻度线为浅灰色 \\n }\\n },\\n splitLine: {\\n show: true,\\n lineStyle: {\\n color: '#f8fafc'\\n }\\n }\\n },\\n tooltip: {\\n trigger: 'axis',\\n formatter: function (params) {\\n const dateString = getDateFormat(params[0].name);\\n const value = Math.round(params[0].value,1);\\n return `日期:${dateString}
工时:${value}小时`;\\n },\\n backgroundColor: '#FFFFFF',\\n textStyle:{\\n color:'#000000'\\n }\\n },\\n series: [\\n {\\n data: yAxisData,\\n type: 'line',\\n lineStyle: {\\n width: 3, // 折线宽度设置为3 \\n shadowColor: 'rgba(0, 0, 0, 0.1)', // 阴影颜色 \\n shadowBlur: 10, // 阴影模糊尺寸 \\n shadowOffsetX: 0, // 阴影水平偏移 \\n shadowOffsetY: 4 // 阴影垂直偏移 \\n },\\n smooth: true, // 设置为平滑线 \\n symbolSize: 8, // 数据点大小设置为5 \\n symbol: 'circle', // 数据点形状设置为圆形 \\n itemStyle: {\\n color: '#2196f3' // 数据点颜色(折线渐变颜色下限) \\n },\\n areaStyle: {\\n // 设置折线下方的渐变 \\n color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [\\n {\\n offset: 0,\\n color: 'rgba(33,150,243,0.3)' // 渐变色开始,半透明蓝色 \\n },\\n {\\n offset: 1,\\n color: 'rgba(33,150,243,0)' // 渐变色结束,完全透明 \\n }\\n ])\\n }\\n }\\n ]\\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 console.log(Context[\\\"工时表\\\"]);\\nconst { \\\"日期\\\": xAxisData, \\\"总工时\\\": yAxisData } = ForguncyEchartsHelper.splitDataSource(Context[\\\"工时表\\\"]);\\nfunction getDateFormat(value) {\\n // Excel 日期格式的起始日期是 1899-12-30 \\n const excelEpoch = new Date(Date.UTC(1899, 11, 30));\\n // 将整数日期转换为毫秒数 \\n const date = new Date(excelEpoch.getTime() + value * 24 * 60 * 60 * 1000);\\n const year = date.getUTCFullYear();\\n const month = (date.getUTCMonth() + 1).toString().padStart(2, '0');\\n const day = date.getUTCDate().toString().padStart(2, '0');\\n return `${year}-${month}-${day}`;\\n}\\noption = {\\n backgroundColor: 'rgba(0, 0, 0, 0)',\\n title: {\\n text: '报工趋势图',\\n left: 'center',\\n top: 24,\\n textStyle: {\\n fontSize: 16,\\n fontWeight: 'bold' // 标题字体加粗 \\n }\\n },\\n grid: {\\n top: 72,\\n left: '24px',\\n right: '24px',\\n bottom: '24px',\\n containLabel: true\\n },\\n xAxis: {\\n type: 'category',\\n data: xAxisData,\\n axisLabel: {\\n formatter: getDateFormat,\\n color: '#abacac' //设置x轴线文本颜色\\n },\\n axisLine: {\\n lineStyle: {\\n color: '#f5f6f6' // 设置 x 轴线条为浅灰色 \\n }\\n },\\n axisTick: {\\n lineStyle: {\\n color: '#f5f6f6' // 设置 x 轴刻度线为浅灰色 \\n }\\n },\\n },\\n yAxis: {\\n type: 'value',\\n axisLabel: {\\n color: '#abacac' // 设置 y 轴刻度文本为浅灰色 \\n },\\n axisLine: {\\n lineStyle: {\\n color: '#f5f6f6' // 设置 y 轴线条为浅灰色 \\n }\\n },\\n axisTick: {\\n lineStyle: {\\n color: '#f5f6f6' // 设置 y 轴刻度线为浅灰色 \\n }\\n },\\n splitLine: {\\n show: true,\\n lineStyle: {\\n color: '#f8fafc'\\n }\\n }\\n },\\n tooltip: {\\n trigger: 'axis',\\n formatter: function (params) {\\n const dateString = getDateFormat(params[0].name);\\n const value = Math.round(params[0].value, 1);\\n return `日期:${dateString}
工时:${value}小时`;\\n },\\n backgroundColor: '#FFFFFF',\\n textStyle: {\\n color: '#000000'\\n }\\n },\\n series: [\\n {\\n data: yAxisData,\\n type: 'line',\\n lineStyle: {\\n width: 3,\\n shadowColor: 'rgba(0, 0, 0, 0.1)',\\n shadowBlur: 10,\\n shadowOffsetX: 0,\\n shadowOffsetY: 4 // 阴影垂直偏移 \\n },\\n smooth: true,\\n symbolSize: 8,\\n symbol: 'circle',\\n itemStyle: {\\n color: '#2196f3' // 数据点颜色(折线渐变颜色下限) \\n },\\n areaStyle: {\\n // 设置折线下方的渐变 \\n color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [\\n {\\n offset: 0,\\n color: 'rgba(33,150,243,0.3)' // 渐变色开始,半透明蓝色 \\n },\\n {\\n offset: 1,\\n color: 'rgba(33,150,243,0)' // 渐变色结束,完全透明 \\n }\\n ])\\n }\\n }\\n ]\\n};\\n\\n return {\\n option,\\n datGUI,\\n };\\n }\\n \"}"
+ "Config": "{\"option\":\"console.log(Context[\\\"工时表\\\"]);\\nconst {\\n \\\"日期\\\": xAxisData,\\n \\\"总工时\\\": yAxisData\\n} = ForguncyEchartsHelper.splitDataSource(Context[\\\"工时表\\\"]);\\n\\nfunction getDateFormat (value) {\\n // Excel 日期格式的起始日期是 1899-12-30 \\n const excelEpoch = new Date(Date.UTC(1899, 11, 30));\\n // 将整数日期转换为毫秒数 \\n const date = new Date(excelEpoch.getTime() + value * 24 * 60 * 60 * 1000);\\n const year = date.getUTCFullYear();\\n const month = (date.getUTCMonth() + 1).toString().padStart(2, '0');\\n const day = date.getUTCDate().toString().padStart(2, '0');\\n return `${year}-${month}-${day}`;\\n }\\n\\noption = {\\n backgroundColor: 'rgba(0, 0, 0, 0)',\\n title: {\\n text: '报工趋势图', // 设置标题文本 \\n left: 'center', // 标题居中 \\n top: 24, // 标题距离上方24px \\n textStyle: {\\n fontSize: 16, // 标题字体大小 \\n fontWeight: 'bold' // 标题字体加粗 \\n }\\n },\\n grid: {\\n top: 72,\\n left: '24px', // 让图表撑满宽度 \\n right: '24px', // 让图表撑满宽度 \\n bottom: '24px',\\n containLabel: true\\n },\\n xAxis: {\\n type: 'category',\\n data: xAxisData,\\n axisLabel: {\\n formatter: getDateFormat,\\n color: '#abacac' //设置x轴线文本颜色\\n },\\n axisLine: {\\n lineStyle: {\\n color: '#f5f6f6' // 设置 x 轴线条为浅灰色 \\n }\\n },\\n axisTick: {\\n lineStyle: {\\n color: '#f5f6f6' // 设置 x 轴刻度线为浅灰色 \\n }\\n },\\n },\\n yAxis: {\\n type: 'value',\\n axisLabel: {\\n color: '#abacac' // 设置 y 轴刻度文本为浅灰色 \\n },\\n axisLine: {\\n\\n lineStyle: {\\n color: '#f5f6f6' // 设置 y 轴线条为浅灰色 \\n }\\n },\\n axisTick: {\\n\\n lineStyle: {\\n color: '#f5f6f6' // 设置 y 轴刻度线为浅灰色 \\n }\\n },\\n splitLine: {\\n show: true,\\n lineStyle: {\\n color: '#f8fafc'\\n }\\n }\\n },\\n tooltip: {\\n trigger: 'axis',\\n formatter: function (params) {\\n const dateString = getDateFormat(params[0].name);\\n const value = Math.round(params[0].value,1);\\n return `日期:${dateString}
工时:${value}小时`;\\n },\\n backgroundColor: '#FFFFFF',\\n textStyle:{\\n color:'#000000'\\n }\\n },\\n series: [\\n {\\n data: yAxisData,\\n type: 'line',\\n lineStyle: {\\n width: 3, // 折线宽度设置为3 \\n shadowColor: 'rgba(0, 0, 0, 0.1)', // 阴影颜色 \\n shadowBlur: 10, // 阴影模糊尺寸 \\n shadowOffsetX: 0, // 阴影水平偏移 \\n shadowOffsetY: 4 // 阴影垂直偏移 \\n },\\n smooth: true, // 设置为平滑线 \\n symbolSize: 8, // 数据点大小设置为5 \\n symbol: 'none', // 数据点形状设置为圆形 \\n itemStyle: {\\n color: '#2196f3' // 数据点颜色(折线渐变颜色下限) \\n },\\n areaStyle: {\\n // 设置折线下方的渐变 \\n color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [\\n {\\n offset: 0,\\n color: 'rgba(33,150,243,0.3)' // 渐变色开始,半透明蓝色 \\n },\\n {\\n offset: 1,\\n color: 'rgba(33,150,243,0)' // 渐变色结束,完全透明 \\n }\\n ])\\n }\\n }\\n ]\\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 console.log(Context[\\\"工时表\\\"]);\\nconst { \\\"日期\\\": xAxisData, \\\"总工时\\\": yAxisData } = ForguncyEchartsHelper.splitDataSource(Context[\\\"工时表\\\"]);\\nfunction getDateFormat(value) {\\n // Excel 日期格式的起始日期是 1899-12-30 \\n const excelEpoch = new Date(Date.UTC(1899, 11, 30));\\n // 将整数日期转换为毫秒数 \\n const date = new Date(excelEpoch.getTime() + value * 24 * 60 * 60 * 1000);\\n const year = date.getUTCFullYear();\\n const month = (date.getUTCMonth() + 1).toString().padStart(2, '0');\\n const day = date.getUTCDate().toString().padStart(2, '0');\\n return `${year}-${month}-${day}`;\\n}\\noption = {\\n backgroundColor: 'rgba(0, 0, 0, 0)',\\n title: {\\n text: '报工趋势图',\\n left: 'center',\\n top: 24,\\n textStyle: {\\n fontSize: 16,\\n fontWeight: 'bold' // 标题字体加粗 \\n }\\n },\\n grid: {\\n top: 72,\\n left: '24px',\\n right: '24px',\\n bottom: '24px',\\n containLabel: true\\n },\\n xAxis: {\\n type: 'category',\\n data: xAxisData,\\n axisLabel: {\\n formatter: getDateFormat,\\n color: '#abacac' //设置x轴线文本颜色\\n },\\n axisLine: {\\n lineStyle: {\\n color: '#f5f6f6' // 设置 x 轴线条为浅灰色 \\n }\\n },\\n axisTick: {\\n lineStyle: {\\n color: '#f5f6f6' // 设置 x 轴刻度线为浅灰色 \\n }\\n },\\n },\\n yAxis: {\\n type: 'value',\\n axisLabel: {\\n color: '#abacac' // 设置 y 轴刻度文本为浅灰色 \\n },\\n axisLine: {\\n lineStyle: {\\n color: '#f5f6f6' // 设置 y 轴线条为浅灰色 \\n }\\n },\\n axisTick: {\\n lineStyle: {\\n color: '#f5f6f6' // 设置 y 轴刻度线为浅灰色 \\n }\\n },\\n splitLine: {\\n show: true,\\n lineStyle: {\\n color: '#f8fafc'\\n }\\n }\\n },\\n tooltip: {\\n trigger: 'axis',\\n formatter: function (params) {\\n const dateString = getDateFormat(params[0].name);\\n const value = Math.round(params[0].value, 1);\\n return `日期:${dateString}
工时:${value}小时`;\\n },\\n backgroundColor: '#FFFFFF',\\n textStyle: {\\n color: '#000000'\\n }\\n },\\n series: [\\n {\\n data: yAxisData,\\n type: 'line',\\n lineStyle: {\\n width: 3,\\n shadowColor: 'rgba(0, 0, 0, 0.1)',\\n shadowBlur: 10,\\n shadowOffsetX: 0,\\n shadowOffsetY: 4 // 阴影垂直偏移 \\n },\\n smooth: true,\\n symbolSize: 8,\\n symbol: 'none',\\n itemStyle: {\\n color: '#2196f3' // 数据点颜色(折线渐变颜色下限) \\n },\\n areaStyle: {\\n // 设置折线下方的渐变 \\n color: new echarts.graphic.LinearGradient(0, 0, 0, 1, [\\n {\\n offset: 0,\\n color: 'rgba(33,150,243,0.3)' // 渐变色开始,半透明蓝色 \\n },\\n {\\n offset: 1,\\n color: 'rgba(33,150,243,0)' // 渐变色结束,完全透明 \\n }\\n ])\\n }\\n }\\n ]\\n};\\n\\n return {\\n option,\\n datGUI,\\n };\\n }\\n \"}"
}
}
},
@@ -513,4 +513,4 @@
"Size": "1152,254"
}
]
-}//XPrzGVmiL6NAAnBWzSc7SC50b5oCw+Ec0D7QMjkyhbezrtL/1IwmQ2o0rvigYOYe85iX/b4TPOyNoFwQIkKh3TMqnhvLfB+0HPMaNEOuaZENYwCE9BYl4SDCZ+4zurIVnvIACb5xtAn0FfLlr9/VhXyzDVlAAU2cvEf+wTu+RlSj5AaZ0b2bOhfixj/HaFgaDqozQgBV3x3pFpRhQENZIqlejuAeU4gWlopJrAgVqRXrDTuyjos3gIbgVegeOSbh8kTfA1EG67wpJh5y52oJnSs6cmYhLlEZws88J8gZUx6t4nsiQK8jDfRMyxG8fJWZtgWKyJBDZcQjzqUhl7JlSmrsLPbbOIPuHzp+M2r9KWtv0q04jwDoLUbVLlPLV5nA1v9AnWJFtQ4JUszYUqTejgA6YODg2n84XsjR5e7oH4YT4k71ch2q4NHF/qFS+IOjR9XijWScYB4LUmwuA13Ab4GebxodFpZMdKj2i9GpcUccFsHGzlZBaj5es9hOxE8Ec4Fs/wNszSlBZw6gytTf6WlIvKAyE03hZW3pzl5eS1ju9czH7C2SP4kfclGktGRe83NpK5/5/OBlCb20XKTxTg8PlcC681x0ro7ON7La9b0Zo1fp3DBMRK9zo2Rw51SzFgAtjQqAbnaji99AeWAmpvFNDSgJcCWhw69oZarUH0i2Ic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