yq1 1 vuosi sitten
vanhempi
commit
e209d20e59
2 muutettua tiedostoa jossa 6 lisäystä ja 6 poistoa
  1. 2 2
      src/vendor/Export2Excel.js
  2. 4 4
      src/xt_pages/workforce/appointment.vue

+ 2 - 2
src/vendor/Export2Excel.js Näytä tiedosto

@@ -405,11 +405,11 @@ export function export_json_to_excel3({
405 405
   filename = filename || 'excel-list'
406 406
   data = [...data]
407 407
   data.unshift(header);
408
-  console.log('wwwww',data);
408
+  // console.log('wwwww',data);
409 409
   for (let i = multiHeader.length - 1; i > -1; i--) {
410 410
     data.unshift(multiHeader[i])
411 411
   }
412
-  console.log('qqqqq',data);
412
+  // console.log('qqqqq',data);
413 413
   var ws_name = "SheetJS";
414 414
   var wb = new Workbook(),
415 415
     ws = sheet_from_array_of_arrays(data);

+ 4 - 4
src/xt_pages/workforce/appointment.vue Näytä tiedosto

@@ -124,9 +124,9 @@
124 124
         <table-data ref="tableData"  :week-time="activeName" :partitions-prop="partitions"
125 125
                     :schedule-zone-row-prop="scheduleZoneRow"
126 126
                     :schedule-zone-prop="scheduleZone" title="" @event1="changePartition"
127
-                    @event2="changeSchedule"  @event3="changeWeekDay"  @guanliu_show="guanliu" v-show="showtableOne">
127
+                    @event2="changeSchedule"  @event3="changeWeekDay" @event6="changeScheduleType" @guanliu_show="guanliu" v-show="showtableOne">
128 128
         </table-data>
129
-        <!-- @event6="changeScheduleType" -->
129
+        <!--  -->
130 130
       </div>
131 131
       <!-- 编辑 -->
132 132
        <edit-table-data ref="edittableData"  :week-time="activeName" :partitions-prop="partitions"
@@ -1332,8 +1332,8 @@ export default {
1332 1332
       } else if (this.activeName == 'nextTwoWeek') {
1333 1333
         date = date + 14 * 24 * 60 * 60 * 1000
1334 1334
       }
1335
+      console.log('3333333',this.partition_id,this.activeName,this.week_date);
1335 1336
        this.$router.push({path: '/scheduleTablePrintSix?partition_id=' + this.partition_id + "&weekTime=" + this.activeName+"&week_date="+this.week_date+"&schedule_type="+this.schedule_type})
1336
-
1337 1337
     },
1338 1338
     isShow() {
1339 1339
       let isShow = false
@@ -4898,7 +4898,7 @@ export default {
4898 4898
 
4899 4899
     changeScheduleType(val){
4900 4900
       // console.log('444444');
4901
-      // this.schedule_type = val
4901
+      this.schedule_type = val
4902 4902
     },
4903 4903
 
4904 4904
     changeWeek(val) {