Browse Source

库存显示展示

XMLWAN 2 years ago
parent
commit
adf3861baa

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyThree.vue View File

1145
     </div>
1145
     </div>
1146
 
1146
 
1147
 
1147
 
1148
-    <div id="dialysis-print-box-1-2" class="dialysis-print-order print-template-two print_page_main_content" style="position: relative;">
1148
+    <div id="dialysis-print-box-1-2" class="dialysis-print-order print-template-two print_page_main_content" style="position: relative;" v-if="org_id == 10346">
1149
      
1149
      
1150
       <div class="dialysis-print-order">
1150
       <div class="dialysis-print-order">
1151
       <table class="print-table">
1151
       <table class="print-table">

+ 60 - 31
src/xt_pages/workforce/appointment.vue View File

68
       <bread-crumb :crumbs="crumbs"></bread-crumb>
68
       <bread-crumb :crumbs="crumbs"></bread-crumb>
69
       <div style="display:flex;align-items:center">
69
       <div style="display:flex;align-items:center">
70
         <el-button type="primary" size="small" icon="el-icon-printer" @click="printScheduleAction">打印排班</el-button>
70
         <el-button type="primary" size="small" icon="el-icon-printer" @click="printScheduleAction">打印排班</el-button>
71
-        <schedule-upload-excel style="margin-right:10px;" :on-success='handleSuccess' v-if="is_edit"></schedule-upload-excel>
71
+        <!-- <schedule-upload-excel style="margin-right:10px;" :on-success='handleSuccess' v-if="is_edit"></schedule-upload-excel> -->
72
         <!-- <el-button @click="printTable" type="primary" size="small">打印排班</el-button> -->
72
         <!-- <el-button @click="printTable" type="primary" size="small">打印排班</el-button> -->
73
         <el-button v-if="isShow()" type="primary" size="small" @click="export_file()" :loading="downloadLoading">
73
         <el-button v-if="isShow()" type="primary" size="small" @click="export_file()" :loading="downloadLoading">
74
           导出排班
74
           导出排班
75
         </el-button>
75
         </el-button>
76
-        <el-button
76
+        <!-- <el-button
77
             @click="generateLog()"
77
             @click="generateLog()"
78
             class="filter-item"
78
             class="filter-item"
79
             type="primary"
79
             type="primary"
80
             v-if="is_edit"
80
             v-if="is_edit"
81
             size="small"
81
             size="small"
82
         >下载日志
82
         >下载日志
83
-        </el-button>
83
+        </el-button> -->
84
         <el-button type="primary" size="small" icon="el-icon-setting" @click="setScheduleTemplateAction">排班模板
84
         <el-button type="primary" size="small" icon="el-icon-setting" @click="setScheduleTemplateAction">排班模板
85
         </el-button>
85
         </el-button>
86
-        <el-button type="primary" size="small" @click="copySchedule" v-if="is_edit">复制排班</el-button>
87
-        <el-button type="primary" size="small" v-if="is_edit" @click="smartsch">智能排班</el-button>
86
+        <!-- <el-button type="primary" size="small" @click="copySchedule" v-if="is_edit">复制排班</el-button>
87
+        <el-button type="primary" size="small" v-if="is_edit" @click="smartsch">智能排班</el-button> -->
88
         <el-button type="primary" size="small" v-if="!is_edit" @click="editsch">编辑排班</el-button>
88
         <el-button type="primary" size="small" v-if="!is_edit" @click="editsch">编辑排班</el-button>
89
-        <el-button type="danger" size="small" v-if="is_edit" @click="is_edit = false ">退出编辑</el-button>
89
+        <!-- <el-button type="danger" size="small" v-if="is_edit" @click="outisedit">退出编辑</el-button> -->
90
       </div>
90
       </div>
91
     </div>
91
     </div>
92
     <div class="app-container">
92
     <div class="app-container">
93
-      <div style="right:30px;position:fixed;z-index:99">
93
+      <div style="right:30px;position:absolute;z-index:99">
94
         <span>导出周次:</span>
94
         <span>导出周次:</span>
95
         <el-date-picker
95
         <el-date-picker
96
             v-model="weekTime"
96
             v-model="weekTime"
119
 
119
 
120
       </el-tabs>
120
       </el-tabs>
121
 
121
 
122
-      <!-- </el-col>
123
-    </el-row> -->
124
-<!--  -->
125
-
126
       <table-data ref="tableData"  :week-time="activeName" :partitions-prop="partitions"
122
       <table-data ref="tableData"  :week-time="activeName" :partitions-prop="partitions"
127
                   :schedule-zone-row-prop="scheduleZoneRow"
123
                   :schedule-zone-row-prop="scheduleZoneRow"
128
                   :schedule-zone-prop="scheduleZone" title="" @event1="changePartition"
124
                   :schedule-zone-prop="scheduleZone" title="" @event1="changePartition"
130
       </table-data>
126
       </table-data>
131
 
127
 
132
       <edit-table-data ref="edittableData"  :week-time="activeName" :partitions-prop="partitions"
128
       <edit-table-data ref="edittableData"  :week-time="activeName" :partitions-prop="partitions"
133
-                       :schedule-zone-row-prop="scheduleZoneRow"
134
-                       :schedule-zone-prop="scheduleZone" title="" @event1="changePartition"
135
-                       @event2="changeSchedule" v-if="is_edit" @event3="changeWeekDay"></edit-table-data>
136
-
129
+                        :schedule-zone-row-prop="scheduleZoneRow" :schedule-zone-prop="scheduleZone"
130
+                         title="" @event1="changePartition"
131
+                         @event2="changeSchedule" v-if="is_edit" @event3="changeWeekDay">
132
+                      
133
+        <div class="position">
134
+          <!-- <bread-crumb :crumbs="crumbs"></bread-crumb> -->
135
+          <div></div>
136
+        <div style="display:flex;align-items:center">
137
+          <el-button type="primary" size="small" icon="el-icon-printer" @click="printScheduleAction">打印排班</el-button>
138
+          <schedule-upload-excel style="margin-right:10px;" :on-success='handleSuccess' v-if="is_edit"></schedule-upload-excel>
139
+          <el-button v-if="isShow()" type="primary" size="small" @click="export_file()" :loading="downloadLoading">
140
+            导出排班
141
+          </el-button>
142
+          <el-button
143
+              @click="generateLog()"
144
+              class="filter-item"
145
+              type="primary"
146
+              v-if="is_edit"
147
+              size="small"
148
+          >下载日志 
149
+          </el-button>
150
+          <el-button type="primary" size="small" icon="el-icon-setting" @click="setScheduleTemplateAction">排班模板
151
+          </el-button>
152
+          <el-button type="primary" size="small" @click="copySchedule" v-if="is_edit">复制排班</el-button>
153
+          <el-button type="primary" size="small" v-if="is_edit" @click="smartsch">智能排班</el-button>
154
+          <el-button type="primary" size="small" v-if="!is_edit" @click="editsch">编辑排班</el-button>
155
+          <el-button type="danger" size="small" v-if="is_edit" @click="outisedit">退出编辑</el-button>
156
+        </div>
157
+      </div>
158
+        </edit-table-data>
137
 
159
 
138
       <el-dialog title="复制排班" width="600px" :visible.sync="newVisible">
160
       <el-dialog title="复制排班" width="600px" :visible.sync="newVisible">
139
         <el-form :model="form" ref="form" label-width="90px" :rules="rules">
161
         <el-form :model="form" ref="form" label-width="90px" :rules="rules">
225
       days: [],
247
       days: [],
226
       logs: [],
248
       logs: [],
227
       is_edit: false,
249
       is_edit: false,
250
+      schedulingTableVisible:false,//全屏
228
       scheduleZoneRow: [],
251
       scheduleZoneRow: [],
229
       downloadLoading: false,
252
       downloadLoading: false,
230
       msgTipVisible: false,
253
       msgTipVisible: false,
276
     ScheduleUploadExcel,
299
     ScheduleUploadExcel,
277
     tableData,
300
     tableData,
278
     BreadCrumb,
301
     BreadCrumb,
279
-    UploadExcel
302
+    UploadExcel,
303
+
280
   },
304
   },
281
   methods: {
305
   methods: {
282
     dragstart(event, item) {
306
     dragstart(event, item) {
644
         // console.log("111111111")
668
         // console.log("111111111")
645
         // console.log(that.scheduleZone)
669
         // console.log(that.scheduleZone)
646
       })
670
       })
647
-    },changeSch(val){
671
+    },
672
+    changeSch(val){
648
       // console.log(this.partitions)
673
       // console.log(this.partitions)
649
       // console.log(this.scheduleZoneRow)
674
       // console.log(this.scheduleZoneRow)
650
       // console.log(this.scheduleZone)
675
       // console.log(this.scheduleZone)
651
 
676
 
652
-
653
-
654
-    },changeWeekType(val){
655
-
656
-
657
-
658
-    },changeZone(val){
659
-
660
-
677
+    },
678
+    changeWeekType(val){
679
+    },
680
+    changeZone(val){
661
     },
681
     },
662
     setScheduleTemplateAction: function () {
682
     setScheduleTemplateAction: function () {
663
       this.$router.push({path: '/workforce/template'})
683
       this.$router.push({path: '/workforce/template'})
665
     export_file: function () {
685
     export_file: function () {
666
       // this.getWeekPanelsTwo()
686
       // this.getWeekPanelsTwo()
667
       this.export_file_step_two()
687
       this.export_file_step_two()
668
-    },export_file_step_two: function(){
688
+    },
689
+    export_file_step_two: function(){
669
 
690
 
670
       this.downloadLoading = true
691
       this.downloadLoading = true
671
       import('@/vendor/Export2Excel').then(excel => {
692
       import('@/vendor/Export2Excel').then(excel => {
2871
 
2892
 
2872
     getTime(val) {
2893
     getTime(val) {
2873
       return uParseTime(val, '{y}-{m}-{d}')
2894
       return uParseTime(val, '{y}-{m}-{d}')
2874
-    }, smartsch(){
2895
+    },
2896
+     smartsch(){
2875
       this.$nextTick(function() {
2897
       this.$nextTick(function() {
2876
         this.$refs.edittableData.showSmartDialog()
2898
         this.$refs.edittableData.showSmartDialog()
2877
       })
2899
       })
2878
-    },editsch() {
2900
+    },
2901
+    editsch() {
2879
       this.is_edit = true
2902
       this.is_edit = true
2880
-      this.$nextTick(function() {
2903
+      this.schedulingTableVisible=true
2904
+      this.$nextTick(function() {//, this.days,this.zones
2881
         this.$refs.edittableData.setEditData(this.patientList, this.$store.getters.treatment_mode, this.days,this.zones)
2905
         this.$refs.edittableData.setEditData(this.patientList, this.$store.getters.treatment_mode, this.days,this.zones)
2882
       })
2906
       })
2883
     },
2907
     },
2908
+    outisedit(){
2909
+      this.is_edit=false
2910
+      this.schedulingTableVisible=false
2911
+    },
2884
     copySchedule() {
2912
     copySchedule() {
2885
       this.newVisible = true
2913
       this.newVisible = true
2886
     },
2914
     },
3006
           this.templateObj = template
3034
           this.templateObj = template
3007
         }
3035
         }
3008
       })
3036
       })
3009
-    },getPatientList(){
3037
+    },
3038
+    getPatientList(){
3010
       patientLists().then(response => {
3039
       patientLists().then(response => {
3011
         if (response.data.state == 1) {
3040
         if (response.data.state == 1) {
3012
           var patientList = response.data.data.list
3041
           var patientList = response.data.data.list

+ 12 - 4
src/xt_pages/workforce/components/ScheduleItem.vue View File

1
 <template>
1
 <template>
2
+  <!-- 排班表填充内容 -->
2
     <div >
3
     <div >
3
 
4
 
4
             <div>
5
             <div>
5
                 <span :class='modeColor(scheduleDetail.mode_name)'>{{scheduleDetail.patient}}</span><br/>
6
                 <span :class='modeColor(scheduleDetail.mode_name)'>{{scheduleDetail.patient}}</span><br/>
6
                 <span v-if="scheduleDetail.mode_name.length>0" :class='modeColor(scheduleDetail.mode_name)'>({{scheduleDetail.mode_name}})</span>
7
                 <span v-if="scheduleDetail.mode_name.length>0" :class='modeColor(scheduleDetail.mode_name)'>({{scheduleDetail.mode_name}})</span>
7
-              <span >{{scheduleDetail.dialysis_machine_name}}</span>
8
-
8
+              <span v-if="schedulFlag">{{scheduleDetail.dialysis_machine_name}}</span>
9
             </div>
9
             </div>
10
     </div>
10
     </div>
11
 </template>
11
 </template>
26
               }
26
               }
27
           },
27
           },
28
       },
28
       },
29
+      schedulFlag:{
30
+        type:Boolean,
31
+        default:false
32
+      }
33
+  },
34
+  data() {
35
+    return {
36
+      schedul:false
37
+    }
29
   },
38
   },
30
-
31
 
39
 
32
   methods:{
40
   methods:{
33
         modeColor(name){
41
         modeColor(name){
45
 
53
 
46
 <style lang="scss" scoped>
54
 <style lang="scss" scoped>
47
 .modeRed{
55
 .modeRed{
48
-  color:#ed5555;
56
+  color:#ee780a;
49
 }
57
 }
50
 .modePurple{
58
 .modePurple{
51
   color: #53b86e;
59
   color: #53b86e;

File diff suppressed because it is too large
+ 1208 - 1101
src/xt_pages/workforce/components/editTableData.vue


File diff suppressed because it is too large
+ 936 - 812
src/xt_pages/workforce/components/tableData.vue


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

27
           <div style="margin-bottom: 10px; display: flex">
27
           <div style="margin-bottom: 10px; display: flex">
28
             <h3 style="line-height: 45px">
28
             <h3 style="line-height: 45px">
29
               <span
29
               <span
30
-                style="margin-right: 30px; font-size: 16px; white-space: nowrap"
30
+                style="margin-right: 15px; font-size: 16px; white-space: nowrap"
31
               >当前选择</span
31
               >当前选择</span
32
               >
32
               >
33
             </h3>
33
             </h3>
71
                     <el-table-column
71
                     <el-table-column
72
                       prop="name"
72
                       prop="name"
73
                       label="患者名称"
73
                       label="患者名称"
74
-                      width="104"
74
+                      
75
                       align="center"
75
                       align="center"
76
                     >
76
                     >
77
                     </el-table-column>
77
                     </el-table-column>
92
                     <el-table-column
92
                     <el-table-column
93
                       prop="name"
93
                       prop="name"
94
                       label="透析模式"
94
                       label="透析模式"
95
-                      width="104"
95
+
96
                       align="center"
96
                       align="center"
97
                     ></el-table-column>
97
                     ></el-table-column>
98
                   </el-table>
98
                   </el-table>
102
           </div>
102
           </div>
103
         </div>
103
         </div>
104
         <div class="right_contain">
104
         <div class="right_contain">
105
-          <!--          <span>分区:</span>-->
106
-          <!--          <el-select-->
107
-          <!--              v-model="partition_id"-->
108
-          <!--              multiple-->
109
-          <!--              placeholder="请选择"-->
110
-          <!--              @change="changePartiton"-->
111
-          <!--          >-->
112
-          <!--            <el-option-->
113
-          <!--                v-for="item in this.all_zones"-->
114
-          <!--                :key="item.id"-->
115
-          <!--                :label="item.name"-->
116
-          <!--                :value="item.id"-->
117
-          <!--            >-->
118
-          <!--            </el-option>-->
119
-          <!--          </el-select>-->
120
           <el-table
105
           <el-table
106
+            :fit="true"
121
             :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)' }"
107
             :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)' }"
122
             ref="table"
108
             ref="table"
123
             :data="opera_device_numbers"
109
             :data="opera_device_numbers"
125
             show-summary
111
             show-summary
126
             height="675"
112
             height="675"
127
             style="width: 100%; cursor: pointer"
113
             style="width: 100%; cursor: pointer"
128
-
129
-            :summary-method="getSummaries"
130
             row-class-name="table-row-new-class schedule-table-row"
114
             row-class-name="table-row-new-class schedule-table-row"
115
+            :summary-method="getSummaries"
131
             @cell-click="itemClick"
116
             @cell-click="itemClick"
132
             sum-text="总数"
117
             sum-text="总数"
133
           >
118
           >
119
+          <!--   -->
134
             <el-table-column
120
             <el-table-column
135
               label="分区"
121
               label="分区"
136
-              width="80"
122
+              min-width="50"
137
               align="center"
123
               align="center"
138
               fixed
124
               fixed
139
-              style="width: 100px; background-color: red; display: block"
140
             >
125
             >
141
               <template slot-scope="scope">
126
               <template slot-scope="scope">
142
                 {{ scope.row.zone.name }}
127
                 {{ scope.row.zone.name }}
143
               </template>
128
               </template>
144
             </el-table-column>
129
             </el-table-column>
145
 
130
 
146
-            <el-table-column label="机号" width="80" align="center" fixed>
131
+            <el-table-column label="机号" min-width="40" align="center" fixed>
147
               <template slot-scope="scope">
132
               <template slot-scope="scope">
148
                 <div>{{ scope.row.number }}</div>
133
                 <div>{{ scope.row.number }}</div>
149
               </template>
134
               </template>
150
             </el-table-column>
135
             </el-table-column>
151
 
136
 
152
-            <el-table-column label="周一" width="335" align="center">
153
-              <el-table-column prop="1_1" label="上" width="110" align="center">
137
+            <el-table-column label="周一"  align="center">
138
+              <el-table-column prop="1_1" label="上" min-width="40" align="center">
154
                 <template slot-scope="scope">
139
                 <template slot-scope="scope">
155
                   <div class="del_table_btn">
140
                   <div class="del_table_btn">
156
                     <el-button
141
                     <el-button
187
                   </div>
172
                   </div>
188
                 </template>
173
                 </template>
189
               </el-table-column>
174
               </el-table-column>
190
-              <el-table-column prop="1_2" label="下" width="110" align="center">
175
+              <el-table-column prop="1_2" label="下" min-width="40" align="center">
191
                 <template slot-scope="scope">
176
                 <template slot-scope="scope">
192
                   <div class="del_table_btn">
177
                   <div class="del_table_btn">
193
                     <el-button
178
                     <el-button
224
                   </div>
209
                   </div>
225
                 </template>
210
                 </template>
226
               </el-table-column>
211
               </el-table-column>
227
-              <el-table-column prop="1_3" label="晚" width="110" align="center">
212
+              <el-table-column prop="1_3" label="晚" min-width="40" align="center">
228
                 <template slot-scope="scope">
213
                 <template slot-scope="scope">
229
                   <div class="del_table_btn">
214
                   <div class="del_table_btn">
230
                     <el-button
215
                     <el-button
263
               </el-table-column>
248
               </el-table-column>
264
             </el-table-column>
249
             </el-table-column>
265
 
250
 
266
-            <el-table-column label="周二" width="335" align="center">
267
-              <el-table-column prop="2_1" label="上" width="110" align="center">
251
+            <el-table-column label="周二"  align="center">
252
+              <el-table-column prop="2_1" label="上" min-width="40" align="center">
268
                 <template slot-scope="scope">
253
                 <template slot-scope="scope">
269
                   <div class="del_table_btn">
254
                   <div class="del_table_btn">
270
                     <el-button
255
                     <el-button
300
                   </div>
285
                   </div>
301
                 </template>
286
                 </template>
302
               </el-table-column>
287
               </el-table-column>
303
-              <el-table-column prop="2_2" label="下" width="110" align="center">
288
+              <el-table-column prop="2_2" label="下" min-width="40" align="center">
304
                 <template slot-scope="scope">
289
                 <template slot-scope="scope">
305
                   <div class="del_table_btn">
290
                   <div class="del_table_btn">
306
                     <el-button
291
                     <el-button
337
                   </div>
322
                   </div>
338
                 </template>
323
                 </template>
339
               </el-table-column>
324
               </el-table-column>
340
-              <el-table-column prop="2_3" label="晚" width="110" align="center">
325
+              <el-table-column prop="2_3" label="晚" min-width="40" align="center">
341
                 <template slot-scope="scope">
326
                 <template slot-scope="scope">
342
                   <div class="del_table_btn">
327
                   <div class="del_table_btn">
343
                     <el-button
328
                     <el-button
376
               </el-table-column>
361
               </el-table-column>
377
             </el-table-column>
362
             </el-table-column>
378
 
363
 
379
-            <el-table-column label="周三" width="335" align="center">
380
-              <el-table-column prop="3_1" label="上" width="110" align="center">
364
+            <el-table-column label="周三"  align="center">
365
+              <el-table-column prop="3_1" label="上" min-width="40" align="center">
381
                 <template slot-scope="scope">
366
                 <template slot-scope="scope">
382
                   <div class="del_table_btn">
367
                   <div class="del_table_btn">
383
                     <el-button
368
                     <el-button
414
                   </div>
399
                   </div>
415
                 </template>
400
                 </template>
416
               </el-table-column>
401
               </el-table-column>
417
-              <el-table-column prop="3_2" label="下" width="110" align="center">
402
+              <el-table-column prop="3_2" label="下" min-width="40" align="center">
418
                 <template slot-scope="scope">
403
                 <template slot-scope="scope">
419
                   <div class="del_table_btn">
404
                   <div class="del_table_btn">
420
                     <el-button
405
                     <el-button
451
                   </div>
436
                   </div>
452
                 </template>
437
                 </template>
453
               </el-table-column>
438
               </el-table-column>
454
-              <el-table-column prop="3_3" label="晚" width="110" align="center">
439
+              <el-table-column prop="3_3" label="晚" min-width="40" align="center">
455
                 <template slot-scope="scope">
440
                 <template slot-scope="scope">
456
                   <div class="del_table_btn">
441
                   <div class="del_table_btn">
457
                     <el-button
442
                     <el-button
490
               </el-table-column>
475
               </el-table-column>
491
             </el-table-column>
476
             </el-table-column>
492
 
477
 
493
-            <el-table-column label="周四" width="335" align="center">
494
-              <el-table-column prop="4_1" label="上" width="110" align="center">
478
+            <el-table-column label="周四"  align="center">
479
+              <el-table-column prop="4_1" label="上" min-width="40" align="center">
495
                 <template slot-scope="scope">
480
                 <template slot-scope="scope">
496
                   <div class="del_table_btn">
481
                   <div class="del_table_btn">
497
                     <el-button
482
                     <el-button
528
                   </div>
513
                   </div>
529
                 </template>
514
                 </template>
530
               </el-table-column>
515
               </el-table-column>
531
-              <el-table-column prop="4_2" label="下" width="110" align="center">
516
+              <el-table-column prop="4_2" label="下" min-width="40" align="center">
532
                 <template slot-scope="scope">
517
                 <template slot-scope="scope">
533
                   <div class="del_table_btn">
518
                   <div class="del_table_btn">
534
                     <el-button
519
                     <el-button
565
                   </div>
550
                   </div>
566
                 </template>
551
                 </template>
567
               </el-table-column>
552
               </el-table-column>
568
-              <el-table-column prop="4_3" label="晚" width="110" align="center">
553
+              <el-table-column prop="4_3" label="晚" min-width="40" align="center">
569
                 <template slot-scope="scope">
554
                 <template slot-scope="scope">
570
                   <div class="del_table_btn">
555
                   <div class="del_table_btn">
571
                     <el-button
556
                     <el-button
604
               </el-table-column>
589
               </el-table-column>
605
             </el-table-column>
590
             </el-table-column>
606
 
591
 
607
-            <el-table-column label="周五" width="335" align="center">
608
-              <el-table-column prop="5_1" label="上" width="110" align="center">
592
+            <el-table-column label="周五" align="center">
593
+              <el-table-column prop="5_1" label="上" min-width="40" align="center">
609
                 <template slot-scope="scope">
594
                 <template slot-scope="scope">
610
                   <div class="del_table_btn">
595
                   <div class="del_table_btn">
611
                     <el-button
596
                     <el-button
642
                   </div>
627
                   </div>
643
                 </template>
628
                 </template>
644
               </el-table-column>
629
               </el-table-column>
645
-              <el-table-column prop="5_2" label="下" width="110" align="center">
630
+              <el-table-column prop="5_2" label="下" min-width="40" align="center">
646
                 <template slot-scope="scope">
631
                 <template slot-scope="scope">
647
                   <div class="del_table_btn">
632
                   <div class="del_table_btn">
648
                     <el-button
633
                     <el-button
679
                   </div>
664
                   </div>
680
                 </template>
665
                 </template>
681
               </el-table-column>
666
               </el-table-column>
682
-              <el-table-column prop="5_3" label="晚" width="110" align="center">
667
+              <el-table-column prop="5_3" label="晚" min-width="40" align="center">
683
                 <template slot-scope="scope">
668
                 <template slot-scope="scope">
684
                   <div class="del_table_btn">
669
                   <div class="del_table_btn">
685
                     <el-button
670
                     <el-button
718
               </el-table-column>
703
               </el-table-column>
719
             </el-table-column>
704
             </el-table-column>
720
 
705
 
721
-            <el-table-column label="周六" width="335" align="center">
722
-              <el-table-column prop="6_1" label="上" width="110" align="center">
706
+            <el-table-column label="周六"  align="center">
707
+              <el-table-column prop="6_1" label="上" min-width="40" align="center">
723
                 <template slot-scope="scope">
708
                 <template slot-scope="scope">
724
                   <div class="del_table_btn">
709
                   <div class="del_table_btn">
725
                     <el-button
710
                     <el-button
756
                   </div>
741
                   </div>
757
                 </template>
742
                 </template>
758
               </el-table-column>
743
               </el-table-column>
759
-              <el-table-column prop="6_2" label="下" width="110" align="center">
744
+              <el-table-column prop="6_2" label="下" min-width="40" align="center">
760
                 <template slot-scope="scope">
745
                 <template slot-scope="scope">
761
                   <div class="del_table_btn">
746
                   <div class="del_table_btn">
762
                     <el-button
747
                     <el-button
793
                   </div>
778
                   </div>
794
                 </template>
779
                 </template>
795
               </el-table-column>
780
               </el-table-column>
796
-              <el-table-column prop="6_3" label="晚" width="110" align="center">
781
+              <el-table-column prop="6_3" label="晚" min-width="40" align="center">
797
                 <template slot-scope="scope">
782
                 <template slot-scope="scope">
798
                   <div class="del_table_btn">
783
                   <div class="del_table_btn">
799
                     <el-button
784
                     <el-button
832
               </el-table-column>
817
               </el-table-column>
833
             </el-table-column>
818
             </el-table-column>
834
 
819
 
835
-            <el-table-column label="周日" min-width="335" align="center">
820
+            <el-table-column label="周日" align="center">
836
               <el-table-column
821
               <el-table-column
837
                 prop="7_1"
822
                 prop="7_1"
838
                 label="上"
823
                 label="上"
839
-                min-width="110"
824
+                min-width="40"
840
                 align="center"
825
                 align="center"
841
               >
826
               >
842
                 <template slot-scope="scope">
827
                 <template slot-scope="scope">
878
               <el-table-column
863
               <el-table-column
879
                 prop="7_2"
864
                 prop="7_2"
880
                 label="下"
865
                 label="下"
881
-                min-width="110"
866
+                min-width="40"
882
                 align="center"
867
                 align="center"
883
               >
868
               >
884
                 <template slot-scope="scope">
869
                 <template slot-scope="scope">
920
               <el-table-column
905
               <el-table-column
921
                 prop="7_3"
906
                 prop="7_3"
922
                 label="晚"
907
                 label="晚"
923
-                min-width="110"
908
+                min-width="40"
924
                 align="center"
909
                 align="center"
925
               >
910
               >
926
                 <template slot-scope="scope">
911
                 <template slot-scope="scope">
961
               </el-table-column>
946
               </el-table-column>
962
             </el-table-column>
947
             </el-table-column>
963
 
948
 
964
-            <el-table-column
949
+            <!-- <el-table-column
965
               prop="total"
950
               prop="total"
966
               label="总数"
951
               label="总数"
967
               width="60"
952
               width="60"
971
               <template slot-scope="scope">
956
               <template slot-scope="scope">
972
                 {{ scope.row.total }}
957
                 {{ scope.row.total }}
973
               </template>
958
               </template>
974
-            </el-table-column>
959
+            </el-table-column> -->
975
           </el-table>
960
           </el-table>
976
         </div>
961
         </div>
977
       </div>
962
       </div>
1349
 
1334
 
1350
       partition_id: 0,
1335
       partition_id: 0,
1351
       tableHeight: document.documentElement.clientHeight,
1336
       tableHeight: document.documentElement.clientHeight,
1352
-      template:null,
1337
+      template:0,
1353
       all_template:[],
1338
       all_template:[],
1354
       active_name:"first",
1339
       active_name:"first",
1355
     };
1340
     };
2093
       console.log("saveData")
2078
       console.log("saveData")
2094
       console.log(tempData)
2079
       console.log(tempData)
2095
       this.$emit("saveData", tempData,delData);
2080
       this.$emit("saveData", tempData,delData);
2096
-    },changeJihao(){
2081
+    },
2082
+    changeJihao(){
2097
       this.$forceUpdate()
2083
       this.$forceUpdate()
2098
-    },changeSchMachine(row) {
2084
+    },
2085
+    changeSchMachine(row) {
2099
       let params = {
2086
       let params = {
2100
         zone_id: row.zone_id,
2087
         zone_id: row.zone_id,
2101
         sch_type: row.time_type,
2088
         sch_type: row.time_type,
2364
 
2351
 
2365
       }
2352
       }
2366
 
2353
 
2367
-    },    deepClone(source) {
2354
+    }, 
2355
+    deepClone(source) {
2368
       if (!source && typeof source !== 'object') {
2356
       if (!source && typeof source !== 'object') {
2369
         throw new Error('error arguments', 'shallowClone')
2357
         throw new Error('error arguments', 'shallowClone')
2370
       }
2358
       }
2576
 
2564
 
2577
       }, 1000);
2565
       }, 1000);
2578
 
2566
 
2579
-    },curInfoDragStart(){
2567
+    },
2568
+    curInfoDragStart(){
2580
       this.cur_drag_obj = 1
2569
       this.cur_drag_obj = 1
2581
       this.cur_drag_info.patient_id = this.cur_info.patient_id
2570
       this.cur_drag_info.patient_id = this.cur_info.patient_id
2582
       this.cur_drag_info.patient_name = this.cur_info.patient_name
2571
       this.cur_drag_info.patient_name = this.cur_info.patient_name
2803
       this.all_zones = this.unique_two(this.all_zones);
2792
       this.all_zones = this.unique_two(this.all_zones);
2804
 
2793
 
2805
       return maked_device_numbers;
2794
       return maked_device_numbers;
2806
-    },   coverSch(){
2795
+    },  
2796
+    coverSch(){
2807
       let params={
2797
       let params={
2808
         template_id:this.template.id,
2798
         template_id:this.template.id,
2809
         week_type_one:this.cur_drag_info.schedule_week,
2799
         week_type_one:this.cur_drag_info.schedule_week,
2923
           };
2913
           };
2924
         }
2914
         }
2925
       }
2915
       }
2926
-    }, search_two: function () {
2916
+    }, 
2917
+    search_two: function () {
2927
       if (this.keywords.length == 0) {
2918
       if (this.keywords.length == 0) {
2928
         this.patients = this.all_patients;
2919
         this.patients = this.all_patients;
2929
       } else {
2920
       } else {
2989
       // else {
2980
       // else {
2990
       //   this.$refs.selector_dialog.showWith(item.pid, item.treat_mode_id, weekday, time_type, device_number_id)
2981
       //   this.$refs.selector_dialog.showWith(item.pid, item.treat_mode_id, weekday, time_type, device_number_id)
2991
       // }
2982
       // }
2983
+      // console.log('row[column.property]',row[column.property]);
2984
+      //   if (row[column.property].schedule_id > 0) {
2985
+      //     let patient_id = row[column.property].patient_id
2986
+      //       this.patient_id_hover = patient_id;
2987
+      //   } else {
2988
+      //     this.patient_id_hover = -1;
2989
+      //     this.currentData.mode_id = 1;
2990
+      //     this.currentData.id = 0;
2991
+      //     this.currentData.patient_id = 0;
2992
+      //     this.currentData.patient = "";
2993
+      //     this.currentData.contagions = [];
2994
+      //     this.getSchedulePatients();
2995
+      //     this.dialogTableVisible = true;
2996
+          
2997
+      //   }
2992
     },
2998
     },
2993
     will_add_schedule_actionTwo: function (
2999
     will_add_schedule_actionTwo: function (
2994
       patient_id,
3000
       patient_id,
3351
         this.data.push(obj);
3357
         this.data.push(obj);
3352
         this.$refs.selector_dialog.hide();
3358
         this.$refs.selector_dialog.hide();
3353
       }
3359
       }
3354
-    },    saveActionFour: function () {
3360
+    }, 
3361
+    saveActionFour: function () {
3355
       var add_items = [];
3362
       var add_items = [];
3356
       var del_items = [];
3363
       var del_items = [];
3357
       var change_items = [];
3364
       var change_items = [];
3756
 </script>
3763
 </script>
3757
 
3764
 
3758
 <style lang="scss" scoped>
3765
 <style lang="scss" scoped>
3759
-// /deep/ .el-dialog__wrapper {
3760
-//   .el-dialog {
3761
-     //     background: red;
3762
-//     .el-dialog__header {
3763
-       //       color: #fff;
3764
-       //       background-color: #409eff !important;
3765
-       //       border-color: #409eff;
3766
-       //     }
3767
-//   }
3768
-// }
3769
 .table_contain {
3766
 .table_contain {
3770
   display: flex;
3767
   display: flex;
3771
 
3768
 
3772
 .left_contain {
3769
 .left_contain {
3773
-  width: 230px;
3770
+  width: 14%;
3774
   margin-right: 15px;
3771
   margin-right: 15px;
3772
+  .item{
3773
+    width: 115px;
3774
+    padding: 6px 5px;
3775
+    margin: 0px 5px ;
3776
+    // border: solid 1px #eee;
3777
+    text-align: left;
3778
+  }
3775
 }
3779
 }
3776
 
3780
 
3777
 .right_contain {
3781
 .right_contain {
3778
-  width: 84%;
3782
+  width: 86%;
3783
+  .el-table{
3784
+    padding: 0 !important;
3785
+  }
3786
+  .del_table_btn{
3787
+    position: absolute;
3788
+    right: 0px;
3789
+    top: -3px;
3790
+    // visibility: hidden;
3791
+    .el-button {
3792
+      width: 15px;
3793
+      height: 15px;
3794
+      padding: 0px;
3795
+    }
3796
+  }
3779
 }
3797
 }
3798
+
3799
+// .el-table th .cell, .el-table td .cell {
3800
+//     margin: 0;
3801
+//     padding: 0 0px;
3802
+// }
3803
+// .el-table--medium td, .el-table--medium th {
3804
+//     padding: 5px 0 !important;
3805
+// }
3780
 }
3806
 }
3781
 .schedule-table-row {
3807
 .schedule-table-row {
3782
   background: #fff !important;
3808
   background: #fff !important;
3783
 }
3809
 }
3784
-
3785
 .schedule-table-row:hover {
3810
 .schedule-table-row:hover {
3786
   background: #fff !important;
3811
   background: #fff !important;
3787
 }
3812
 }
3796
 }
3821
 }
3797
 
3822
 
3798
 #table_data {
3823
 #table_data {
3799
-  /*min-height: calc(100vh - 350px);*/
3824
+  min-height: calc(100vh - 350px);
3800
 }
3825
 }
3801
 
3826
 
3802
 #table_data ::-webkit-scrollbar {
3827
 #table_data ::-webkit-scrollbar {
3823
 }
3848
 }
3824
 }
3849
 }
3825
 
3850
 
3826
-#table_data {
3827
-  min-height: calc(100vh - 350px);
3828
-}
3851
+// #table_data {
3852
+//   min-height: calc(100vh - 350px);
3853
+// }
3829
 
3854
 
3830
 #table_data ::-webkit-scrollbar {
3855
 #table_data ::-webkit-scrollbar {
3831
   height: 15px;
3856
   height: 15px;
3832
 }
3857
 }
3833
 
3858
 
3834
-.del_table_btn {
3835
-  position: absolute;
3836
-  right: 0px;
3837
-  top: -3px;
3838
-  z-index: 999;
3839
-  visibility: hidden;
3840
-
3841
-.el-button {
3842
-  width: 15px;
3843
-  height: 15px;
3844
-  padding: 0px;
3845
-}
3846
-}
3859
+// .del_table_btn {
3860
+//   position: absolute;
3861
+//   right: 0px;
3862
+//   top: -3px;
3863
+//   z-index: 999;
3864
+//   visibility: hidden;
3865
+
3866
+// .el-button {
3867
+//   width: 15px;
3868
+//   height: 15px;
3869
+//   padding: 0px;
3870
+// }
3871
+// }
3847
 
3872
 
3848
 #table_data {
3873
 #table_data {
3849
   min-height: calc(100vh - 350px);
3874
   min-height: calc(100vh - 350px);
3898
 }
3923
 }
3899
 }
3924
 }
3900
 
3925
 
3901
-.el-dialog__header {
3902
-  padding: 0 !important;
3903
-}
3926
+// .el-dialog__header {
3927
+//   padding: 0 !important;
3928
+// }
3904
 </style>
3929
 </style>