Browse Source

0706调整

Morales 5 months ago
parent
commit
b9bc044924

+ 4 - 4
heida/src/assets/css/dhtmlxgantt.css

@@ -146,7 +146,7 @@
 
 .gantt_container,
 .gantt_tooltip {
-  background-color: #182133;
+  background-color: transparent;
   font-family: Arial
 }
 
@@ -187,7 +187,7 @@
 .gantt_grid_scale,
 .gantt_task_scale,
 .gantt_task_vscroll {
-  background-color: #182133
+  background-color: transparent
 }
 
 .gantt_scale_line {
@@ -272,12 +272,12 @@
 .gantt_row,
 .gantt_task_row {
   border-bottom: 1px solid #454545;
-  background-color: #182133
+  background-color: transparent
 }
 
 .gantt_row.odd,
 .gantt_task_row.odd {
-  background-color: #182133
+  background-color: transparent
 }
 
 .gantt_cell,

+ 11 - 0
heida/src/views/home/home.js

@@ -12,6 +12,17 @@ export const jixieData = [
 ]
 
 export const rizhiData = [
+  ['962医院家属区单元窗安装', '2024/7/4'],
+  ['黑大家属区38号楼外墙保温刮胶', '2024/7/4'],
+  ['黑大家属区40号楼外墙窗口防水涂料涂刷', '2024/7/4'],
+  ['黑大家属区37号楼外墙保温刮胶', '2024/7/4'],
+  ['黑大家属区17号楼外墙保温刮胶', '2024/7/4'],
+  ['黑大家属区19号楼外墙保温刮胶', '2024/7/4'],
+  ['黑大家属区25号楼外墙保温粘贴', '2024/7/4'],
+  ['黑大家属区23号楼外墙刮腻子', '2024/7/4'],
+  ['黑大家属区14号楼外墙刮腻子', '2024/7/4'],
+  ['工力家属区16号楼外墙保温粘贴', '2024/7/4'],
+  ['工力家属区15号楼外墙保温粘贴', '2024/7/4'],
   ['963医院家属区9号楼外墙保温刮胶', '2024/7/3'],
   ['黑大家属区38号楼外墙保温刮胶', '2024/7/3'],
   ['黑大家属区37号楼外墙保温刮胶', '2024/7/3'],

+ 15 - 8
heida/src/views/personnel/index.vue

@@ -47,7 +47,7 @@ export default {
   components: {
     ItemTitle
   },
-  data () {
+  data() {
     return {
       showPage: true,
       renshu_config: {
@@ -87,7 +87,7 @@ export default {
   },
 
   methods: {
-    getRenShu () {
+    getRenShu() {
       const tempObj = {}
       const hData = this.huamingce_config.data
 
@@ -119,7 +119,7 @@ export default {
 
       this.yonggongjihua_config.data = data1
     },
-    initChart () {
+    initChart() {
       const option = {
         xAxis: {
           type: 'category',
@@ -157,11 +157,18 @@ export default {
         var r = dayjs().subtract(i, 'day')
         var rStr = r.format('MM-DD')
         riqi.push(rStr)
-        var d = r.format('M')
-        if (d > 4) {
-          data2.push(45)
+        var d = r.format('D')
+        console.log('d', d)
+        if (d == 5 || d == 30) {
+          data2.push(22)
+        } else if (d == 27) {
+          data2.push(28)
         } else {
-          data2.push(48)
+          if (d > 4) {
+            data2.push(45)
+          } else {
+            data2.push(48)
+          }
         }
       }
       const option2 = {
@@ -197,7 +204,7 @@ export default {
     }
   },
 
-  mounted () {
+  mounted() {
     this.getRenShu()
     this.initChart()