yq1 1 yıl önce
ebeveyn
işleme
ac87c1e5f5
1 değiştirilmiş dosya ile 18 ekleme ve 20 silme
  1. 18 20
      src/xt_pages/workforce/appointment.vue

+ 18 - 20
src/xt_pages/workforce/appointment.vue Dosyayı Görüntüle

136
             <!-- <bread-crumb :crumbs="crumbs"></bread-crumb> -->
136
             <!-- <bread-crumb :crumbs="crumbs"></bread-crumb> -->
137
             <div>
137
             <div>
138
               <el-tabs v-model="activeName" :tab-position="tabPosition" ref="elTabs" @tab-click="historyclick">
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
                   <span slot="label"><i class="el-icon-date"></i> 上上周 ({{ theWeek.historyWeek }})</span>
140
                   <span slot="label"><i class="el-icon-date"></i> 上上周 ({{ theWeek.historyWeek }})</span>
141
-                </el-tab-pane>
141
+                </el-tab-pane> -->
142
                 <el-tab-pane name="lastWeek">
142
                 <el-tab-pane name="lastWeek">
143
                   <span slot="label"><i class="el-icon-date"></i> 上周 ({{ theWeek.lastWeek }})</span>
143
                   <span slot="label"><i class="el-icon-date"></i> 上周 ({{ theWeek.lastWeek }})</span>
144
                 </el-tab-pane>
144
                 </el-tab-pane>
178
 
178
 
179
         </edit-table-data>
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
                   :schedule-zone-row-prop="scheduleZoneRow" :schedule-zone-prop="scheduleZone" @event3="changeWeekDay">
182
                   :schedule-zone-row-prop="scheduleZoneRow" :schedule-zone-prop="scheduleZone" @event3="changeWeekDay">
183
           <div class="position">
183
           <div class="position">
184
-            <!-- <bread-crumb :crumbs="crumbs"></bread-crumb> -->
185
             <div>
184
             <div>
186
               <el-tabs v-model="activeName" :tab-position="tabPosition" ref="elTabs" @tab-click="historyclick">
185
               <el-tabs v-model="activeName" :tab-position="tabPosition" ref="elTabs" @tab-click="historyclick">
187
                 <el-tab-pane name="beforeWeek">
186
                 <el-tab-pane name="beforeWeek">
203
             </div>
202
             </div>
204
             <div style="display:flex;align-items:center">
203
             <div style="display:flex;align-items:center">
205
               <el-button type="primary" size="small" icon="el-icon-printer" @click="printScheduleAction">打印排班</el-button>
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
               <el-button v-if="isShow()" type="primary" size="small" @click="export_file()" :loading="downloadLoading">
205
               <el-button v-if="isShow()" type="primary" size="small" @click="export_file()" :loading="downloadLoading">
208
                 导出排班
206
                 导出排班
209
               </el-button>
207
               </el-button>
223
               <el-button type="danger" size="small" v-if="is_edit" @click="outisedit">退出编辑</el-button>
221
               <el-button type="danger" size="small" v-if="is_edit" @click="outisedit">退出编辑</el-button>
224
             </div>
222
             </div>
225
           </div>
223
           </div>
226
-        </beforeweekTable>
224
+        </beforeweekTable> -->
227
         <!-- 历史 -->
225
         <!-- 历史 -->
228
         <HistoryWeekTable v-show="showtable" ref="tableDataZero"  :week-time="activeName" :partitions-prop="partitions"
226
         <HistoryWeekTable v-show="showtable" ref="tableDataZero"  :week-time="activeName" :partitions-prop="partitions"
229
                   :schedule-zone-row-prop="scheduleZoneRow"
227
                   :schedule-zone-row-prop="scheduleZoneRow"
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
     dragstart(event, item) {
415
     dragstart(event, item) {
418
       // console.log('start的索引',item.moveIndex)
416
       // console.log('start的索引',item.moveIndex)