From 7f93eaeec27493ca30cbd0c4e32f740042505a3e Mon Sep 17 00:00:00 2001 From: Rain_ <904416525@qq.com> Date: Fri, 20 Jun 2025 15:56:13 +0800 Subject: [PATCH] =?UTF-8?q?flx:=E4=BF=AE=E6=94=B9=E8=BF=9B=E5=BA=A6?= =?UTF-8?q?=E5=9B=BE=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/store/index.js | 30 +++++++++---------- src/views/homePage/index.vue | 14 ++++++--- .../projectFront/scheduleManage/homePage.vue | 14 ++++++--- 3 files changed, 35 insertions(+), 23 deletions(-) diff --git a/src/store/index.js b/src/store/index.js index 83dea13c..37e5ebe8 100644 --- a/src/store/index.js +++ b/src/store/index.js @@ -60,15 +60,15 @@ export default new Vuex.Store({ // FILEURL: 'http://192.168.34.221:9111/image/', // UPLOADURL: "http://http://192.168.34.155:19111/upload/image/", // 洁本地 // FILEURL: "http://http://192.168.34.155:19111/image/", //洁本地 - UPLOADURL: 'http://192.168.34.221:9111/upload/image/', // 郭圣雄本地 - FILEURL: 'http://192.168.34.221:9111/image/', //郭圣雄本地 - // // // // FILEURL: 'http://jxjzw.zhgdyun.com:9001/wisdomisitebaotou/', //郭圣雄本地 - // // // // WORKFLOWURL: "http://192.168.34.216:88/#/workspace/forms", //jiayu工作流地址(本地) - // // // // WORKFLOWURL: "http://192.168.34.138:88/#/workspace/forms", //坤工作流地址(本地) - // // WORKFLOWURL: "http://jxjzw.zhgdyun.com:88/#/workspace/forms", //罗峰工作流地址(本地) - WORKFLOWURL: "http://192.168.34.133:88/#/workspace/forms", //罗峰工作流地址(本地) - UNIVERURl: "http://192.168.34.133:5173/#/", // word|excel本地 - CONTRACTORURL: process.env.NODE_ENV == "development" ? "http://192.168.34.131:88/#/workspace/contractorApply" : `${window.location.protocol}//${window.location.host}/contractorApply/index.html#/contractorApply`, //罗峰承包商入场地址(本地) + // UPLOADURL: 'http://192.168.34.221:9111/upload/image/', // 郭圣雄本地 + // FILEURL: 'http://192.168.34.221:9111/image/', //郭圣雄本地 + // // // // // FILEURL: 'http://jxjzw.zhgdyun.com:9001/wisdomisitebaotou/', //郭圣雄本地 + // // // // // WORKFLOWURL: "http://192.168.34.216:88/#/workspace/forms", //jiayu工作流地址(本地) + // // // // // WORKFLOWURL: "http://192.168.34.138:88/#/workspace/forms", //坤工作流地址(本地) + // // // WORKFLOWURL: "http://jxjzw.zhgdyun.com:88/#/workspace/forms", //罗峰工作流地址(本地) + // WORKFLOWURL: "http://192.168.34.133:88/#/workspace/forms", //罗峰工作流地址(本地) + // UNIVERURl: "http://192.168.34.133:5173/#/", // word|excel本地 + // CONTRACTORURL: process.env.NODE_ENV == "development" ? "http://192.168.34.131:88/#/workspace/contractorApply" : `${window.location.protocol}//${window.location.host}/contractorApply/index.html#/contractorApply`, //罗峰承包商入场地址(本地) // UPLOADURL: 'http://182.90.224.237:51234/upload/image/', // 郭圣雄远程 // FILEURL: 'http://182.90.224.237:51234/image/', //郭圣雄远程 // // UPLOADURL: 'http://42.180.188.17:11211/upload/image', //测试 @@ -96,12 +96,12 @@ export default new Vuex.Store({ // PREVIEWURL: "http://219.147.96.221:8012/onlinePreview", // 内网 - // UPLOADURL: 'http://192.168.3.9:39809' + "/upload/image", //包头化工 - // // FILEURL: 'http://jxjzw.zhgdyun.com:9001/wisdomisitebaotouprod', //包头化工 - // FILEURL: 'http://192.168.3.9:39809' + "/image/", //包头化工 - // WORKFLOWURL: 'http://192.168.3.9:39998/#/workspace/forms', //包头化工工作流地址 - // UNIVERURl: "http://192.168.3.9:30000/#/", // word|excel线上 - // PREVIEWURL: "http://192.168.3.9:38012/onlinePreview", + UPLOADURL: 'http://192.168.3.9:39809' + "/upload/image", //包头化工 + // FILEURL: 'http://jxjzw.zhgdyun.com:9001/wisdomisitebaotouprod', //包头化工 + FILEURL: 'http://192.168.3.9:39809' + "/image/", //包头化工 + WORKFLOWURL: 'http://192.168.3.9:39998/#/workspace/forms', //包头化工工作流地址 + UNIVERURl: "http://192.168.3.9:30000/#/", // word|excel线上 + PREVIEWURL: "http://192.168.3.9:38012/onlinePreview", // BASEURL: baseUrl // ? baseUrl diff --git a/src/views/homePage/index.vue b/src/views/homePage/index.vue index e951cf1f..fe3fcccd 100644 --- a/src/views/homePage/index.vue +++ b/src/views/homePage/index.vue @@ -3582,7 +3582,7 @@ export default { name: '本期计划', type: 'bar', - data: this.deviceScheduleList.map(item => item.plan.toFixed(2)), + data: this.deviceScheduleList.map(item => (item.plan == 0 && dayjs(item.time).isAfter(dayjs('2025-04-01')) ? '' : item.plan.toFixed(2))), itemStyle: { //颜色 默认灰色 color: 'rgba(255,127,80,1)' @@ -3593,7 +3593,9 @@ export default { name: '本期实际', type: 'bar', // stack: 'Total', - data: this.deviceScheduleList.map(item => item.actual.toFixed(2)), + data: this.deviceScheduleList.map(item => + item.actual == 0 && dayjs(item.time).isAfter(dayjs('2025-04-01')) ? '' : item.actual.toFixed(2) + ), itemStyle: { //颜色 默认灰色 color: 'rgba(136,206,251,1)' @@ -3605,7 +3607,9 @@ export default { type: 'line', yAxisIndex: 1, // stack: 'Total', - data: this.deviceScheduleList.map(item => item.planTotal.toFixed(2)), + data: this.deviceScheduleList.map(item => + item.planTotal == 0 && dayjs(item.time).isAfter(dayjs('2025-04-01')) ? '' : item.planTotal.toFixed(2) + ), itemStyle: { //颜色 默认灰色 color: 'rgba(218,112,214,1)' @@ -3618,7 +3622,9 @@ export default { type: 'line', yAxisIndex: 1, // stack: 'Total', - data: this.deviceScheduleList.map(item => item.actualTotal.toFixed(2)), + data: this.deviceScheduleList.map(item => + item.actualTotal == 0 && dayjs(item.time).isAfter(dayjs('2025-04-01')) ? '' : item.actualTotal.toFixed(2) + ), itemStyle: { //颜色 默认灰色 color: 'rgba(50,205,50,1)' diff --git a/src/views/projectFront/scheduleManage/homePage.vue b/src/views/projectFront/scheduleManage/homePage.vue index 1e204195..dc57e52f 100644 --- a/src/views/projectFront/scheduleManage/homePage.vue +++ b/src/views/projectFront/scheduleManage/homePage.vue @@ -1897,7 +1897,7 @@ export default { name: '本期计划', type: 'bar', - data: this.deviceScheduleList.map(item => item.plan.toFixed(2)), + data: this.deviceScheduleList.map(item => (item.plan == 0 && dayjs(item.time).isAfter(dayjs('2025-04-01')) ? '' : item.plan.toFixed(2))), itemStyle: { //颜色 默认灰色 color: 'rgba(255,127,80,1)' @@ -1908,7 +1908,9 @@ export default { name: '本期实际', type: 'bar', // stack: 'Total', - data: this.deviceScheduleList.map(item => item.actual.toFixed(2)), + data: this.deviceScheduleList.map(item => + item.actual == 0 && dayjs(item.time).isAfter(dayjs('2025-04-01')) ? '' : item.actual.toFixed(2) + ), itemStyle: { //颜色 默认灰色 color: 'rgba(136,206,251,1)' @@ -1920,7 +1922,9 @@ export default { type: 'line', yAxisIndex: 1, // stack: 'Total', - data: this.deviceScheduleList.map(item => item.planTotal.toFixed(2)), + data: this.deviceScheduleList.map(item => + item.planTotal == 0 && dayjs(item.time).isAfter(dayjs('2025-04-01')) ? '' : item.planTotal.toFixed(2) + ), itemStyle: { //颜色 默认灰色 color: 'rgba(218,112,214,1)' @@ -1933,7 +1937,9 @@ export default { type: 'line', yAxisIndex: 1, // stack: 'Total', - data: this.deviceScheduleList.map(item => item.actualTotal.toFixed(2)), + data: this.deviceScheduleList.map(item => + item.actualTotal == 0 && dayjs(item.time).isAfter(dayjs('2025-04-01')) ? '' : item.actualTotal.toFixed(2) + ), itemStyle: { //颜色 默认灰色 color: 'rgba(50,205,50,1)'