yq1 před 1 rokem
rodič
revize
ac87c1e5f5
1 změnil soubory, kde provedl 18 přidání a 20 odebrání
  1. 18 20
      src/xt_pages/workforce/appointment.vue

+ 18 - 20
src/xt_pages/workforce/appointment.vue Zobrazit soubor

@@ -136,9 +136,9 @@
136 136
             <!-- <bread-crumb :crumbs="crumbs"></bread-crumb> -->
137 137
             <div>
138 138
               <el-tabs v-model="activeName" :tab-position="tabPosition" ref="elTabs" @tab-click="historyclick">
139
-                <el-tab-pane name="beforeWeek">
139
+                <!-- <el-tab-pane name="beforeWeek">
140 140
                   <span slot="label"><i class="el-icon-date"></i> 上上周 ({{ theWeek.historyWeek }})</span>
141
-                </el-tab-pane>
141
+                </el-tab-pane> -->
142 142
                 <el-tab-pane name="lastWeek">
143 143
                   <span slot="label"><i class="el-icon-date"></i> 上周 ({{ theWeek.lastWeek }})</span>
144 144
                 </el-tab-pane>
@@ -178,10 +178,9 @@
178 178
 
179 179
         </edit-table-data>
180 180
         <!-- 编辑上上周 -->
181
-        <beforeweekTable ref="beforeweeks" v-show="beforeshow" :week-time="activeName" :partitions-prop="partitions"
181
+        <!-- <beforeweekTable ref="beforeweeks" v-show="beforeshow" :week-time="activeName" :partitions-prop="partitions"
182 182
                   :schedule-zone-row-prop="scheduleZoneRow" :schedule-zone-prop="scheduleZone" @event3="changeWeekDay">
183 183
           <div class="position">
184
-            <!-- <bread-crumb :crumbs="crumbs"></bread-crumb> -->
185 184
             <div>
186 185
               <el-tabs v-model="activeName" :tab-position="tabPosition" ref="elTabs" @tab-click="historyclick">
187 186
                 <el-tab-pane name="beforeWeek">
@@ -203,7 +202,6 @@
203 202
             </div>
204 203
             <div style="display:flex;align-items:center">
205 204
               <el-button type="primary" size="small" icon="el-icon-printer" @click="printScheduleAction">打印排班</el-button>
206
-              <!-- <schedule-upload-excel style="margin-right:10px;" :on-success='handleSuccess' v-if="is_edit"></schedule-upload-excel> -->
207 205
               <el-button v-if="isShow()" type="primary" size="small" @click="export_file()" :loading="downloadLoading">
208 206
                 导出排班
209 207
               </el-button>
@@ -223,7 +221,7 @@
223 221
               <el-button type="danger" size="small" v-if="is_edit" @click="outisedit">退出编辑</el-button>
224 222
             </div>
225 223
           </div>
226
-        </beforeweekTable>
224
+        </beforeweekTable> -->
227 225
         <!-- 历史 -->
228 226
         <HistoryWeekTable v-show="showtable" ref="tableDataZero"  :week-time="activeName" :partitions-prop="partitions"
229 227
                   :schedule-zone-row-prop="scheduleZoneRow"
@@ -399,20 +397,20 @@ export default {
399 397
 
400 398
     },
401 399
     // 打开编辑上上周
402
-    historyclick(e){
403
-      console.log('vvvvwwww',e);
404
-      if(e.name=='beforeWeek'){
405
-        console.log('gggggwerwe');
406
-        this.beforeshow=true
407
-        this.schedulingTableVisible=false
408
-        this.$nextTick(function() {//, this.days,this.zones
409
-          this.$refs.beforeweeks.setEditData(this.patientList, this.$store.getters.treatment_mode, this.days,this.zones)
410
-        })
411
-      }else{
412
-        this.beforeshow=false
413
-        this.schedulingTableVisible=true
414
-      }
415
-    },
400
+    // historyclick(e){
401
+    //   console.log('vvvvwwww',e);
402
+    //   if(e.name=='beforeWeek'){
403
+    //     console.log('gggggwerwe');
404
+    //     this.beforeshow=true
405
+    //     this.schedulingTableVisible=false
406
+    //     this.$nextTick(function() {//, this.days,this.zones
407
+    //       this.$refs.beforeweeks.setEditData(this.patientList, this.$store.getters.treatment_mode, this.days,this.zones)
408
+    //     })
409
+    //   }else{
410
+    //     this.beforeshow=false
411
+    //     this.schedulingTableVisible=true
412
+    //   }
413
+    // },
416 414
    
417 415
     dragstart(event, item) {
418 416
       // console.log('start的索引',item.moveIndex)