Browse Source

3月27日杨青

杨青 2 years ago
parent
commit
df4238495c

+ 3 - 3
src/xt_pages/workforce/appointment.vue View File

@@ -135,9 +135,9 @@
135 135
           <!-- <bread-crumb :crumbs="crumbs"></bread-crumb> -->
136 136
           <div>
137 137
             <el-tabs v-model="activeName" :tab-position="tabPosition" ref="elTabs">
138
-          <el-tab-pane name="lastWeek">
138
+          <!-- <el-tab-pane name="lastWeek">
139 139
             <span slot="label"><i class="el-icon-date"></i> 上周 ({{ theWeek.lastWeek }})</span>
140
-          </el-tab-pane>
140
+          </el-tab-pane> -->
141 141
           <el-tab-pane name="thisWeek">
142 142
             <span slot="label"><i class="el-icon-date"></i> 本周 ({{ theWeek.thisWeek }})</span>
143 143
           </el-tab-pane>
@@ -336,7 +336,7 @@ export default {
336 336
 
337 337
           this.$refs.tableDataZero.start()
338 338
         })
339
-        console.log('12343545',this.$refs.tableDataZero);
339
+        // console.log('12343545',this.$refs.tableDataZero);
340 340
       }else{
341 341
         this.showtable=false
342 342
         this.showtableOne=true

+ 26 - 35
src/xt_pages/workforce/components/editTableData.vue View File

@@ -149,14 +149,14 @@
149 149
           <el-table-column
150 150
               prop="area"
151 151
               label="分区"
152
-              min-width="50"
152
+              min-width="60"
153 153
               align="center"
154 154
               fixed
155 155
           ></el-table-column>
156 156
           <el-table-column
157 157
               prop="cut"
158 158
               label="机号"
159
-              min-width="40"
159
+              min-width="50"
160 160
               align="center"
161 161
               fixed
162 162
           >
@@ -166,7 +166,7 @@
166 166
               v-if="isShowOne"
167 167
               align="center"
168 168
           >
169
-            <el-table-column prop="Mon_M" label="上" width="110" align="center">
169
+            <el-table-column prop="Mon_M" label="上" min-width="50" align="center">
170 170
               <template slot-scope="scope">
171 171
                 <div class="del_table_btn">
172 172
                   <!-- 排班表取消排班按钮  v-if="showclickIcon==true&&scope.row.id==rowid"-->
@@ -210,7 +210,7 @@
210 210
                 </div>
211 211
               </template>
212 212
             </el-table-column>
213
-            <el-table-column prop="Mon_A" label="下" min-width="40" align="center">
213
+            <el-table-column prop="Mon_A" label="下" min-width="50" align="center">
214 214
               <template slot-scope="scope">
215 215
                 <div class="del_table_btn">
216 216
                   <el-button
@@ -256,7 +256,7 @@
256 256
                 </div>
257 257
               </template>
258 258
             </el-table-column>
259
-            <el-table-column prop="Mon_N" label="晚" min-width="40" align="center">
259
+            <el-table-column prop="Mon_N" label="晚" min-width="50" align="center">
260 260
               <template slot-scope="scope">
261 261
                 <div class="del_table_btn">
262 262
                   <el-button
@@ -308,7 +308,7 @@
308 308
               v-if="isShowTwo"
309 309
               align="center"
310 310
           >
311
-            <el-table-column prop="Tue_M" label="上" min-width="40" align="center">
311
+            <el-table-column prop="Tue_M" label="上" min-width="50" align="center">
312 312
               <template slot-scope="scope">
313 313
                 <div class="del_table_btn">
314 314
                   <el-button
@@ -353,7 +353,7 @@
353 353
                 </div>
354 354
               </template>
355 355
             </el-table-column>
356
-            <el-table-column prop="Tue_A" label="下" min-width="40" align="center">
356
+            <el-table-column prop="Tue_A" label="下" min-width="50" align="center">
357 357
               <template slot-scope="scope">
358 358
                 <div class="del_table_btn">
359 359
                   <el-button
@@ -397,7 +397,7 @@
397 397
                 </div>
398 398
               </template>
399 399
             </el-table-column>
400
-            <el-table-column prop="Tue_N" label="晚" min-width="40" align="center">
400
+            <el-table-column prop="Tue_N" label="晚" min-width="50" align="center">
401 401
               <template slot-scope="scope">
402 402
                 <div class="del_table_btn">
403 403
                   <el-button
@@ -448,7 +448,7 @@
448 448
               v-if="isShowThree"
449 449
               align="center"
450 450
           >
451
-            <el-table-column prop="Wed_M" label="上" min-width="40" align="center">
451
+            <el-table-column prop="Wed_M" label="上" min-width="50" align="center">
452 452
               <template slot-scope="scope">
453 453
                 <div class="del_table_btn">
454 454
                   <el-button
@@ -492,7 +492,7 @@
492 492
                 </div>
493 493
               </template>
494 494
             </el-table-column>
495
-            <el-table-column prop="Wed_A" label="下" min-width="40" align="center">
495
+            <el-table-column prop="Wed_A" label="下" min-width="50" align="center">
496 496
               <template slot-scope="scope">
497 497
                 <div class="del_table_btn">
498 498
                   <el-button
@@ -536,7 +536,7 @@
536 536
                 </div>
537 537
               </template>
538 538
             </el-table-column>
539
-            <el-table-column prop="Wed_N" label="晚" min-width="40" align="center">
539
+            <el-table-column prop="Wed_N" label="晚" min-width="50" align="center">
540 540
               <template slot-scope="scope">
541 541
                 <div class="del_table_btn">
542 542
                   <el-button
@@ -586,7 +586,7 @@
586 586
               align="center"
587 587
               v-if="isShowFour"
588 588
           >
589
-            <el-table-column prop="Thurs_M"  label="上" min-width="40" align="center"
589
+            <el-table-column prop="Thurs_M"  label="上" min-width="50" align="center"
590 590
             >
591 591
               <template slot-scope="scope">
592 592
                 <div class="del_table_btn">
@@ -634,7 +634,7 @@
634 634
             <el-table-column
635 635
                 prop="Thurs_A"
636 636
                 label="下"
637
-                min-width="40"
637
+                min-width="50"
638 638
                 align="center"
639 639
             >
640 640
               <template slot-scope="scope">
@@ -684,7 +684,7 @@
684 684
             <el-table-column
685 685
                 prop="Thurs_N"
686 686
                 label="晚"
687
-                min-width="40"
687
+                min-width="50"
688 688
                 align="center"
689 689
             >
690 690
               <template slot-scope="scope">
@@ -733,11 +733,10 @@
733 733
           </el-table-column>
734 734
           <el-table-column
735 735
               :label="'周五 (' + weekTitle[4] + ')'"
736
-
737 736
               align="center"
738 737
               v-if="isShowFive"
739 738
           >
740
-            <el-table-column prop="Fri_M" label="上" min-width="40" align="center"
739
+            <el-table-column prop="Fri_M" label="上" min-width="50" align="center"
741 740
 >
742 741
               <template slot-scope="scope">
743 742
                 <div class="del_table_btn">
@@ -780,7 +779,7 @@
780 779
                 </div>
781 780
               </template>
782 781
             </el-table-column>
783
-            <el-table-column prop="Fri_A" label="下" min-width="40" align="center">
782
+            <el-table-column prop="Fri_A" label="下" min-width="50" align="center">
784 783
               <template slot-scope="scope">
785 784
                 <div class="del_table_btn">
786 785
                   <el-button
@@ -820,7 +819,7 @@
820 819
                 </div>
821 820
               </template>
822 821
             </el-table-column>
823
-            <el-table-column prop="Fri_N" label="晚" min-width="40" align="center">
822
+            <el-table-column prop="Fri_N" label="晚" min-width="50" align="center">
824 823
               <template slot-scope="scope">
825 824
                 <div class="del_table_btn">
826 825
                   <el-button
@@ -871,7 +870,7 @@
871 870
               align="center"
872 871
               v-if="isShowSix"
873 872
           >
874
-            <el-table-column prop="Sat_M" label="上" min-width="40" align="center">
873
+            <el-table-column prop="Sat_M" label="上" min-width="50" align="center">
875 874
               <template slot-scope="scope">
876 875
                 <div class="del_table_btn">
877 876
                   <el-button
@@ -915,7 +914,7 @@
915 914
                 </div>
916 915
               </template>
917 916
             </el-table-column>
918
-            <el-table-column prop="Sat_A" label="下" min-width="40" align="center">
917
+            <el-table-column prop="Sat_A" label="下" min-width="50" align="center">
919 918
               <template slot-scope="scope">
920 919
                 <div class="del_table_btn">
921 920
                   <el-button
@@ -959,7 +958,7 @@
959 958
                 </div>
960 959
               </template>
961 960
             </el-table-column>
962
-            <el-table-column prop="Sat_N" label="晚" min-width="40" align="center">
961
+            <el-table-column prop="Sat_N" label="晚" min-width="50" align="center">
963 962
               <template slot-scope="scope">
964 963
                 <div class="del_table_btn">
965 964
                   <el-button
@@ -1012,7 +1011,7 @@
1012 1011
             <el-table-column
1013 1012
                 prop="Sun_M"
1014 1013
                 label="上"
1015
-                min-width="40"
1014
+                min-width="50"
1016 1015
                 align="center"
1017 1016
             >
1018 1017
               <template slot-scope="scope">
@@ -1060,7 +1059,7 @@
1060 1059
             <el-table-column
1061 1060
                 prop="Sun_A"
1062 1061
                 label="下"
1063
-                min-width="40"
1062
+                min-width="50"
1064 1063
                 align="center"
1065 1064
             >
1066 1065
               <template slot-scope="scope">
@@ -1108,7 +1107,7 @@
1108 1107
             <el-table-column
1109 1108
                 prop="Sun_N"
1110 1109
                 label="晚"
1111
-                min-width="40"
1110
+                min-width="50"
1112 1111
                 align="center"
1113 1112
             >
1114 1113
               <template slot-scope="scope">
@@ -3221,14 +3220,8 @@ export default {
3221 3220
     },
3222 3221
     // 删除某一单元格内的患者透析排班
3223 3222
     deletePatientMode(row) {
3224
-      var week = this.weekDay(column.property);
3225
-        if (week[0] == -1 || week[1] == -1) {
3226
-          return false;
3227
-        }
3228
-        if (this.toDay > this.weekDays[week[0] - 1]) {
3229
-          return false;
3230
-        }
3231 3223
         if (row.schedule_id > 0) {
3224
+          console.log('22222222');
3232 3225
           this.CancelSchedule(row.schedule_id);
3233 3226
         }
3234 3227
         console.log('deletePatientMode',row);
@@ -3652,9 +3645,8 @@ export default {
3652 3645
 
3653 3646
     // 单元格的 className 的回调方法
3654 3647
     cellClass({ row, column, rowIndex, columnIndex }) {
3655
-      // console.log('cellClass戴护具',row);
3656 3648
       // 传染病区机器橙色背景
3657
-      if(columnIndex==1&&row.zone_type==2){
3649
+      if(columnIndex==1&&row.zone_type!=1){
3658 3650
         //
3659 3651
         return "table-row-new-class schedule-table-row Infectious_disease";
3660 3652
       }
@@ -5659,7 +5651,6 @@ export default {
5659 5651
     },
5660 5652
     // 分区选择框
5661 5653
     changePartiton(val) {
5662
-
5663 5654
       this.$emit("event1", val);
5664 5655
       this.partition_id = val;
5665 5656
       this.getWeekPanels();
@@ -5885,7 +5876,7 @@ textarea{
5885 5876
   color: red !important;
5886 5877
 }
5887 5878
 .Infectious_disease{
5888
-  background-color: orange !important;
5879
+  background-color: red !important;
5889 5880
   color: white;
5890 5881
 }
5891 5882
 .del_table_btn {

+ 19 - 42
src/xt_pages/workforce/components/historyWeekTable.vue View File

@@ -842,7 +842,7 @@ export default {
842 842
          }
843 843
         // 第几周,星期几
844 844
         getWeekPanelsOne(1,str).then(response => {
845
-          console.log('wertwetr',response.data.data);
845
+          // console.log('wertwetr',response.data.data);
846 846
           if (response.data.state == 0) {
847 847
             return false
848 848
           }
@@ -1092,14 +1092,14 @@ export default {
1092 1092
 
1093 1093
           this.scheduleZone.sort(this.compare('sort'))
1094 1094
           this.source_scheduleZone = this.scheduleZone
1095
-          console.log("34455555566666",this.source_scheduleZone)
1095
+          // console.log("34455555566666",this.source_scheduleZone)
1096 1096
           this.getSchedules()
1097 1097
         })
1098 1098
      },
1099 1099
 
1100 1100
     cellClass({ row, column, rowIndex, columnIndex }) {
1101 1101
 
1102
-      if(columnIndex==1&&row.zone_type==2){
1102
+      if(columnIndex==1&&row.zone_type!=1){
1103 1103
         // console.log(columnIndex,row.zone_type);
1104 1104
         return "table-row-new-class schedule-table-row Infectious_disease";
1105 1105
       }
@@ -2807,8 +2807,6 @@ export default {
2807 2807
 
2808 2808
       // this.getSchedules()
2809 2809
       // this.getWeekPanels()
2810
-
2811
-     
2812 2810
     },
2813 2811
     changeSchedule_type(val) {
2814 2812
       this.$emit('event2', val)
@@ -2838,11 +2836,12 @@ export default {
2838 2836
 
2839 2837
       this.newDay.push(this.start_time)
2840 2838
       this.newDay.push(this.end_time)
2841
-
2842
-      console.log('44444',this.start_time)
2843
-      console.log('555555',this.end_time )
2844
-      console.log('666666',this.newDay);
2845
-      this.getSchedules()
2839
+      
2840
+      // this.$nextTick(() => {
2841
+        this.getSchedules()
2842
+        // this.source_scheduleZone=[]
2843
+      // })
2844
+      
2846 2845
     },
2847 2846
     // 选择周次
2848 2847
     start(){
@@ -2855,14 +2854,13 @@ export default {
2855 2854
     // 本周日的日期
2856 2855
       date.setDate(date.getDate() + 6);
2857 2856
       thisweek.end_day = date.getFullYear() + "-" + (date.getMonth() + 1) + "-" + date.getDate();
2858
-      console.log('asdfgdsafg',thisweek.start_day,thisweek.end_day);
2857
+      // console.log('asdfgdsafg',thisweek.start_day,thisweek.end_day);
2859 2858
 
2860 2859
       var date = new Date();
2861 2860
       // 上上周一的日期
2862 2861
       date.setDate(date.getDate()-14 - date.getDay() + 1);
2863 2862
       var month=(date.getMonth() + 1)<10 ? "0"+(date.getMonth()+1):(date.getMonth()+1)
2864 2863
       var day=(date.getDate())<10 ? "0"+(date.getDate()):(date.getDate())
2865
-      console.log('wqertwetwe',month);
2866 2864
       this.start_time = date.getFullYear() + "-" + month + "-" + day + " 00:00:00";
2867 2865
 
2868 2866
       // 上上周日的日期
@@ -2870,12 +2868,11 @@ export default {
2870 2868
       var month=(date.getMonth() + 1)<10 ? "0"+(date.getMonth()+1):(date.getMonth()+1)
2871 2869
       var day=(date.getDate())<10 ? "0"+(date.getDate()):(date.getDate())
2872 2870
       this.end_time = date.getFullYear() + "-" + month + "-" + day + ' 23:59:59';
2873
-      console.log('1234566',this.lastweek.start_day,this.lastweek.end_day) ;
2874
-      this.getAllZones()
2875
-      // this.getSchedules()
2871
+      // console.log('1234566',this.lastweek.start_day,this.lastweek.end_day) ;
2872
+      // this.getAllZones()
2873
+      this.getSchedules()
2876 2874
     },
2877 2875
     getSchedules(){
2878
-
2879 2876
       var partionStr = this.partition_id
2880 2877
       var arr = this.zoneIdList.join(',')
2881 2878
       var str = ""
@@ -2889,27 +2886,21 @@ export default {
2889 2886
         is_before:1,
2890 2887
         start_time: this.start_time  ,
2891 2888
         end_time:this.end_time  ,
2892
-        // start_time: this.lastweek.start_day + " 00:00:00",
2893
-        // end_time: this.lastweek.end_day + ' 23:59:59',
2894 2889
         weekTime: this.theType,
2895 2890
         patitionid: str,
2896 2891
         schedule_type: this.schedule_type,
2897 2892
       }
2898
-     console.log("str--------",str)
2893
+    //  console.log("str--------",str)
2899 2894
       getSchedulesOne(params).then(response => {
2900
-        console.log('getSchedulesOne',response.data.data);
2895
+        // console.log('getSchedulesOne',response.data.data);
2901 2896
         if (response.data.state == 1) {
2902 2897
           this.weekTitle = response.data.data.weekTitle;
2903 2898
           this.weekTitle = []
2904 2899
 
2905
-
2906
-
2907
-
2908 2900
           var first = this.getTimestamp(this.start_time)
2909 2901
           var first_day =  this.getTime(first, "{y}-{m}-{d}")
2910 2902
           this.weekTitle.push(first_day)
2911 2903
 
2912
-
2913 2904
           var second = this.getTimestamp(this.start_time) + 86400
2914 2905
           var soncond_day =  this.getTime(second, "{y}-{m}-{d}")
2915 2906
            this.weekTitle.push(soncond_day)
@@ -2918,34 +2909,23 @@ export default {
2918 2909
           var three_day =  this.getTime(three, "{y}-{m}-{d}")
2919 2910
           this.weekTitle.push(three_day)
2920 2911
 
2921
-
2922 2912
           var four = this.getTimestamp(this.start_time) + 259200
2923 2913
           var four_day =  this.getTime(four, "{y}-{m}-{d}")
2924
-
2925 2914
            this.weekTitle.push(four_day)
2926 2915
 
2927 2916
           var five = this.getTimestamp(this.start_time) + 345600
2928 2917
           var five_day =  this.getTime(five, "{y}-{m}-{d}")
2929
-
2930 2918
           this.weekTitle.push(five_day)
2931 2919
 
2932 2920
           var six = this.getTimestamp(this.start_time) + 432000
2933 2921
           var six_day =  this.getTime(six, "{y}-{m}-{d}")
2934
-
2935 2922
           this.weekTitle.push(six_day)
2936 2923
 
2937
-
2938 2924
           var seven = this.getTimestamp(this.start_time) + 518400
2939 2925
           var seven_day =  this.getTime(seven, "{y}-{m}-{d}")
2940
-
2941 2926
           this.weekTitle.push(seven_day)
2942 2927
 
2943
-
2944
-
2945
-
2946
-          console.log("this.weekTitle",this.weekTitle)
2947
-
2948
-
2928
+          // console.log("this.weekTitle",this.weekTitle)
2949 2929
 
2950 2930
           this.weekDays = response.data.data.days;
2951 2931
 
@@ -2956,9 +2936,6 @@ export default {
2956 2936
 
2957 2937
           var that = this;
2958 2938
 
2959
-       
2960
-
2961
-
2962 2939
          this.scheduleZone.forEach(function (zone, index) {
2963 2940
 
2964 2941
             that.scheduleZone[index].Mon_M = {
@@ -3188,7 +3165,7 @@ export default {
3188 3165
           });
3189 3166
 
3190 3167
           this.source_scheduleZone = this.scheduleZone
3191
-          console.log("历史aaaa", this.scheduleZone)
3168
+          // console.log("历史aaaa", this.scheduleZone)
3192 3169
         } else {
3193 3170
           this.$message.error("网络错误");
3194 3171
           return false;
@@ -3197,7 +3174,7 @@ export default {
3197 3174
     },
3198 3175
     getTimestamp(time) {
3199 3176
       //把时间日期转成时间戳
3200
-      console.log("日期", new Date(time));
3177
+      // console.log("日期", new Date(time));
3201 3178
       return new Date(time).getTime() / 1000;
3202 3179
     },
3203 3180
 
@@ -3336,7 +3313,7 @@ textarea{
3336 3313
     color: #fff;
3337 3314
   }
3338 3315
   .Infectious_disease{
3339
-    background-color: #f78930 !important;
3316
+    background-color: red !important;
3340 3317
     color: white;
3341 3318
   }
3342 3319
 }

+ 7 - 56
src/xt_pages/workforce/components/tableData.vue View File

@@ -528,7 +528,9 @@
528 528
                 v-model="device_id"
529 529
                 placeholder="请选择"
530 530
                 style="width: 100%"
531
+               
531 532
             >
533
+            <!--  @change="changeScheduledialyzer" -->
532 534
               <el-option
533 535
                   v-for="item in current_devices"
534 536
                   :key="item.id"
@@ -1247,8 +1249,7 @@ export default {
1247 1249
 
1248 1250
     cellClass({ row, column, rowIndex, columnIndex }) {
1249 1251
 
1250
-      if(columnIndex==1&&row.zone_type==2){
1251
-        // console.log(columnIndex,row.zone_type);
1252
+      if(columnIndex==1&&row.zone_type!=1){
1252 1253
         return "table-row-new-class schedule-table-row Infectious_disease";
1253 1254
       }
1254 1255
 
@@ -2662,7 +2663,7 @@ export default {
2662 2663
         }
2663 2664
       });
2664 2665
     },
2665
-
2666
+    // 调整机号/选择分区
2666 2667
     changePartition(value) {
2667 2668
       let params = {
2668 2669
         zone_id: value,
@@ -2672,6 +2673,7 @@ export default {
2672 2673
       };
2673 2674
       //进行网络请求,获取空排班机位
2674 2675
       getSmartDevices(params).then((response) => {
2676
+        console.log('getSmartDevices',response.data.data);
2675 2677
         if (response.data.state == 0) {
2676 2678
           return false;
2677 2679
         } else {
@@ -2684,6 +2686,7 @@ export default {
2684 2686
         }
2685 2687
       });
2686 2688
     },
2689
+    // 调整机号/选择班次
2687 2690
     changeScheduleType(schedule_type) {
2688 2691
       this.currentData.schedule_type = schedule_type
2689 2692
       let params = {
@@ -2705,57 +2708,6 @@ export default {
2705 2708
 
2706 2709
         }
2707 2710
       });
2708
-      // const params = {
2709
-      //   type: schedule_type,
2710
-      //   date: this.currentData.schedule_date
2711
-      // };
2712
-      // getUrgentScheduleInitData(params)
2713
-      //   .then(rs => {
2714
-      //     if (rs.data.state == 1) {
2715
-      //       this.origin_schedules = rs.data.data.schedules;
2716
-      //       this.origin_device_numbers = rs.data.data.device_numbers;
2717
-      //
2718
-      //       var zone_device_map = {};
2719
-      //       for (
2720
-      //         let index = 0;
2721
-      //         index < this.origin_device_numbers.length;
2722
-      //         index++
2723
-      //       ) {
2724
-      //         const device_number = this.origin_device_numbers[index];
2725
-      //         if (
2726
-      //           zone_device_map[device_number.zone_name] == null ||
2727
-      //           zone_device_map[device_number.zone_name] == undefined
2728
-      //         ) {
2729
-      //           zone_device_map[device_number.zone_name] = [];
2730
-      //         }
2731
-      //         zone_device_map[device_number.zone_name].push(device_number);
2732
-      //       }
2733
-      //       this.zone_device_map = zone_device_map;
2734
-      //
2735
-      //       this.zone_names = Object.keys(this.zone_device_map);
2736
-      //       // console.log('8989898989898989',this.zone_names)
2737
-      //
2738
-      //       // console.log(this.current_devices);
2739
-      //
2740
-      //       if (this.zone_names.length > 0) {
2741
-      //         this.zone_name = this.zone_names[0];
2742
-      //         this.current_devices = this.zone_device_map[this.zone_name];
2743
-      //         this.device_id = this.current_devices[0].id;
2744
-      //       }
2745
-      //
2746
-      //
2747
-      //       this.zone_device_options = [
2748
-      //         { values: this.zone_names },
2749
-      //         // { values: this.getDeviceNumberNames(this.current_devices) },
2750
-      //         { values: this.current_devices }
2751
-      //       ];
2752
-      //
2753
-      //     } else {
2754
-      //     }
2755
-      //   })
2756
-      //   .catch(err => {
2757
-      //     this.loading = false;
2758
-      //   });
2759 2711
     },
2760 2712
     submitTiaoX() {
2761 2713
       if (this.tiaoZhengType == 1) {
@@ -2831,7 +2783,6 @@ export default {
2831 2783
                   }
2832 2784
                   this.zone_device_options = [
2833 2785
                     { values: this.zone_names },
2834
-                    // { values: this.getDeviceNumberNames(this.current_devices) },
2835 2786
                     { values: this.current_devices }
2836 2787
                   ];
2837 2788
 
@@ -3404,7 +3355,7 @@ textarea{
3404 3355
     color: #fff;
3405 3356
   }
3406 3357
   .Infectious_disease{
3407
-    background-color: #f78930 !important;
3358
+    background-color: red !important;
3408 3359
     color: white;
3409 3360
   }
3410 3361
 }

+ 2 - 2
src/xt_pages/workforce/components/template_table.vue View File

@@ -4487,7 +4487,7 @@ export default {
4487 4487
     // 右侧表格的列回调
4488 4488
     cellClass({row,column, rowIndex, columnIndex}){
4489 4489
       // console.log('cellClass数据',row);
4490
-      if(columnIndex==1&&row.zone.type==2){
4490
+      if(columnIndex==1&&row.zone.type!=1){
4491 4491
         //
4492 4492
         return "table-row-new-class schedule-table-row Infectious_disease";
4493 4493
       }
@@ -4574,7 +4574,7 @@ export default {
4574 4574
     padding: 0 0px !important;
4575 4575
   }
4576 4576
   .Infectious_disease{
4577
-  background-color: orange !important;
4577
+  background-color: red !important;
4578 4578
   color: white;
4579 4579
 }
4580 4580
   .el-table--medium td, .el-table--medium th {