From 27e5d9d2dfd6e03aa5f7d1f3c775ec7ecd7afe78 Mon Sep 17 00:00:00 2001 From: caoyizhong <1270296080@qq.com> Date: Fri, 24 Feb 2023 18:02:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=87=87=E8=B4=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../activiti/form/ProcessUdgetPlanForm.vue | 9 ++++- src/views/dashboard/HomePage.vue | 2 +- .../costecharts/CostAnalysis.vue | 38 +++++++++---------- 3 files changed, 27 insertions(+), 22 deletions(-) diff --git a/src/views/activiti/form/ProcessUdgetPlanForm.vue b/src/views/activiti/form/ProcessUdgetPlanForm.vue index 8a0cb0b..a8af5c4 100644 --- a/src/views/activiti/form/ProcessUdgetPlanForm.vue +++ b/src/views/activiti/form/ProcessUdgetPlanForm.vue @@ -1445,11 +1445,14 @@ await queryDepartTreeList().then(res=>{ if(res.success){ let arr = [...res.result] + let bian = false; + // console.log("asfgasdgbv",arr) arr.forEach(item =>{ if(!!item.children){ item.children.forEach(it =>{ if(number === it.id){ // console.log("it.title",it.title); + bian = true; switch (it.title) { // case '准东项目部第一小队': // break; @@ -1498,12 +1501,14 @@ } }); - - + if(!bian){ + title = year+"-"+"xj"+"-"+"1"+"-"+sortNum ; + } }else{ title = year+"-"+"xj"+"-"+"1"+"-"+sortNum ; } }) + // console.log("title",title); this.form.setFieldsValue({ sort: title }) diff --git a/src/views/dashboard/HomePage.vue b/src/views/dashboard/HomePage.vue index 39f19f7..ea6ab38 100644 --- a/src/views/dashboard/HomePage.vue +++ b/src/views/dashboard/HomePage.vue @@ -76,7 +76,7 @@ - +
diff --git a/src/views/statisticanalysis/costecharts/CostAnalysis.vue b/src/views/statisticanalysis/costecharts/CostAnalysis.vue index a99e53a..04f0891 100644 --- a/src/views/statisticanalysis/costecharts/CostAnalysis.vue +++ b/src/views/statisticanalysis/costecharts/CostAnalysis.vue @@ -3,26 +3,26 @@
分析成本
-
-
-
新疆分公司
-
计划经营科
-
第一项目部
-
第二项目部
-
-
-
年度
-
半年度
-
季度
-
-
+ + + + + + + + + + + + + -
-
-
扇形图
-
折线图
-
条形图
-
+ + + + + +