From 6de7c4258f16fe101dcc9e127fbce053fbea5fd0 Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期六, 24 九月 2022 13:29:09 +0800
Subject: [PATCH] 1.研究甘特图,之前调试出来好的甘特图样式没展现出来,现在已将样式调出来

---
 src/views/gantt_back/gantt_back.vue |   20 +++++++-------------
 1 files changed, 7 insertions(+), 13 deletions(-)

diff --git a/src/views/gantt_back/gantt_back.vue b/src/views/gantt_back/gantt_back.vue
index d9a8dec..59ccad7 100644
--- a/src/views/gantt_back/gantt_back.vue
+++ b/src/views/gantt_back/gantt_back.vue
@@ -3,7 +3,6 @@
 
     <el-tabs style="margin: 30px">
       <el-row style="margin-bottom:20px">
-
         <el-col :span="7" :offset="1">
           <span class="t_size" style="margin-left:7px">鎺掔▼鏃ユ湡</span>
           <el-date-picker
@@ -102,7 +101,6 @@
         :datas="bm_data"
         @scrollLeft="scrollLeftA"
       >
-        <!-- <template v-slot:block="{data,item}"> -->
         <template slot="block" slot-scope="{data,item}">
           <Test
             :data="data"
@@ -133,7 +131,6 @@
         </template>
         <template slot="title">
           <span class="tc">宸ヤ綅鍒楄〃</span>
-
           <el-checkbox v-model="all_status" class="box_style" @change="changeLift()" />
           <input v-model.number="cellWidth" type="range" min="20" max="100" class="box_styles">
         </template>
@@ -144,11 +141,7 @@
 
 <script>
 import Test from '@/components/Test'
-// import PaginationView from '@/components/PaginationView'
-// import TestLeft from '@/components/TestLeft'
-// import { mockDatas } from './index1.js'
 import dayjs from 'dayjs'
-// import automaticScheduling from '@/api/automaticScheduling'
 
 const scaleList = `30,60,240,360`.split(',').map(n => parseInt(n))
 const timeList = `0,30,60,120,240,480`.split(',').map(n => parseInt(n))
@@ -280,7 +273,7 @@
         },
         'rows': [
           {
-            'YearDate': '2022-09-01',
+            'YearDate': '2022-09-24',
             'children': [
               {
                 'AdvaDevicNumber': 'LKFDL_SC-PC029',
@@ -296,7 +289,7 @@
             ]
           },
           {
-            'YearDate': '2022-09-02',
+            'YearDate': '2022-09-25',
             'children': [
               {
                 'AdvaDevicNumber': 'LKFDL_SC-PC029',
@@ -312,7 +305,7 @@
             ]
           },
           {
-            'YearDate': '2022-09-03',
+            'YearDate': '2022-09-26',
             'children': [
               {
                 'AdvaDevicNumber': 'LKFDL_SC-PC029',
@@ -328,7 +321,7 @@
             ]
           },
           {
-            'YearDate': '2022-09-04',
+            'YearDate': '2022-09-27',
             'children': [
               {
                 'AdvaDevicNumber': 'LKFDL_SC-PC029',
@@ -344,7 +337,7 @@
             ]
           },
           {
-            'YearDate': '2022-09-05',
+            'YearDate': '2022-09-28',
             'children': [
               {
                 'AdvaDevicNumber': 'LKFDL_SC-PC029',
@@ -360,7 +353,7 @@
             ]
           },
           {
-            'YearDate': '2022-09-06',
+            'YearDate': '2022-09-29',
             'children': [
               {
                 'AdvaDevicNumber': 'LKFDL_SC-PC029',
@@ -970,6 +963,7 @@
         this.dataTransition()
         this.change_num(this.bm_data)
       }
+      this.$forceUpdate()
     },
     // 鎵嬪姩杩囨护鎵�鏈夋椂闂村凡鎺掔▼
     time_nitalize() {

--
Gitblit v1.9.3