Ver código fonte

库存显示展示

XMLWAN 2 anos atrás
pai
commit
adf3861baa

+ 1 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFiftyThree.vue Ver arquivo

@@ -1145,7 +1145,7 @@
1145 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 1150
       <div class="dialysis-print-order">
1151 1151
       <table class="print-table">

+ 60 - 31
src/xt_pages/workforce/appointment.vue Ver arquivo

@@ -68,29 +68,29 @@
68 68
       <bread-crumb :crumbs="crumbs"></bread-crumb>
69 69
       <div style="display:flex;align-items:center">
70 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 72
         <!-- <el-button @click="printTable" type="primary" size="small">打印排班</el-button> -->
73 73
         <el-button v-if="isShow()" type="primary" size="small" @click="export_file()" :loading="downloadLoading">
74 74
           导出排班
75 75
         </el-button>
76
-        <el-button
76
+        <!-- <el-button
77 77
             @click="generateLog()"
78 78
             class="filter-item"
79 79
             type="primary"
80 80
             v-if="is_edit"
81 81
             size="small"
82 82
         >下载日志
83
-        </el-button>
83
+        </el-button> -->
84 84
         <el-button type="primary" size="small" icon="el-icon-setting" @click="setScheduleTemplateAction">排班模板
85 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 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 90
       </div>
91 91
     </div>
92 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 94
         <span>导出周次:</span>
95 95
         <el-date-picker
96 96
             v-model="weekTime"
@@ -119,10 +119,6 @@
119 119
 
120 120
       </el-tabs>
121 121
 
122
-      <!-- </el-col>
123
-    </el-row> -->
124
-<!--  -->
125
-
126 122
       <table-data ref="tableData"  :week-time="activeName" :partitions-prop="partitions"
127 123
                   :schedule-zone-row-prop="scheduleZoneRow"
128 124
                   :schedule-zone-prop="scheduleZone" title="" @event1="changePartition"
@@ -130,10 +126,36 @@
130 126
       </table-data>
131 127
 
132 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 160
       <el-dialog title="复制排班" width="600px" :visible.sync="newVisible">
139 161
         <el-form :model="form" ref="form" label-width="90px" :rules="rules">
@@ -225,6 +247,7 @@ export default {
225 247
       days: [],
226 248
       logs: [],
227 249
       is_edit: false,
250
+      schedulingTableVisible:false,//全屏
228 251
       scheduleZoneRow: [],
229 252
       downloadLoading: false,
230 253
       msgTipVisible: false,
@@ -276,7 +299,8 @@ export default {
276 299
     ScheduleUploadExcel,
277 300
     tableData,
278 301
     BreadCrumb,
279
-    UploadExcel
302
+    UploadExcel,
303
+
280 304
   },
281 305
   methods: {
282 306
     dragstart(event, item) {
@@ -644,20 +668,16 @@ export default {
644 668
         // console.log("111111111")
645 669
         // console.log(that.scheduleZone)
646 670
       })
647
-    },changeSch(val){
671
+    },
672
+    changeSch(val){
648 673
       // console.log(this.partitions)
649 674
       // console.log(this.scheduleZoneRow)
650 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 682
     setScheduleTemplateAction: function () {
663 683
       this.$router.push({path: '/workforce/template'})
@@ -665,7 +685,8 @@ export default {
665 685
     export_file: function () {
666 686
       // this.getWeekPanelsTwo()
667 687
       this.export_file_step_two()
668
-    },export_file_step_two: function(){
688
+    },
689
+    export_file_step_two: function(){
669 690
 
670 691
       this.downloadLoading = true
671 692
       import('@/vendor/Export2Excel').then(excel => {
@@ -2871,16 +2892,23 @@ export default {
2871 2892
 
2872 2893
     getTime(val) {
2873 2894
       return uParseTime(val, '{y}-{m}-{d}')
2874
-    }, smartsch(){
2895
+    },
2896
+     smartsch(){
2875 2897
       this.$nextTick(function() {
2876 2898
         this.$refs.edittableData.showSmartDialog()
2877 2899
       })
2878
-    },editsch() {
2900
+    },
2901
+    editsch() {
2879 2902
       this.is_edit = true
2880
-      this.$nextTick(function() {
2903
+      this.schedulingTableVisible=true
2904
+      this.$nextTick(function() {//, this.days,this.zones
2881 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 2912
     copySchedule() {
2885 2913
       this.newVisible = true
2886 2914
     },
@@ -3006,7 +3034,8 @@ export default {
3006 3034
           this.templateObj = template
3007 3035
         }
3008 3036
       })
3009
-    },getPatientList(){
3037
+    },
3038
+    getPatientList(){
3010 3039
       patientLists().then(response => {
3011 3040
         if (response.data.state == 1) {
3012 3041
           var patientList = response.data.data.list

+ 12 - 4
src/xt_pages/workforce/components/ScheduleItem.vue Ver arquivo

@@ -1,11 +1,11 @@
1 1
 <template>
2
+  <!-- 排班表填充内容 -->
2 3
     <div >
3 4
 
4 5
             <div>
5 6
                 <span :class='modeColor(scheduleDetail.mode_name)'>{{scheduleDetail.patient}}</span><br/>
6 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 9
             </div>
10 10
     </div>
11 11
 </template>
@@ -26,8 +26,16 @@ export default {
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 40
   methods:{
33 41
         modeColor(name){
@@ -45,7 +53,7 @@ export default {
45 53
 
46 54
 <style lang="scss" scoped>
47 55
 .modeRed{
48
-  color:#ed5555;
56
+  color:#ee780a;
49 57
 }
50 58
 .modePurple{
51 59
   color: #53b86e;

Diferenças do arquivo suprimidas por serem muito extensas
+ 1208 - 1101
src/xt_pages/workforce/components/editTableData.vue


Diferenças do arquivo suprimidas por serem muito extensas
+ 936 - 812
src/xt_pages/workforce/components/tableData.vue


+ 119 - 94
src/xt_pages/workforce/components/template_table.vue Ver arquivo

@@ -27,7 +27,7 @@
27 27
           <div style="margin-bottom: 10px; display: flex">
28 28
             <h3 style="line-height: 45px">
29 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 31
               >当前选择</span
32 32
               >
33 33
             </h3>
@@ -71,7 +71,7 @@
71 71
                     <el-table-column
72 72
                       prop="name"
73 73
                       label="患者名称"
74
-                      width="104"
74
+                      
75 75
                       align="center"
76 76
                     >
77 77
                     </el-table-column>
@@ -92,7 +92,7 @@
92 92
                     <el-table-column
93 93
                       prop="name"
94 94
                       label="透析模式"
95
-                      width="104"
95
+
96 96
                       align="center"
97 97
                     ></el-table-column>
98 98
                   </el-table>
@@ -102,22 +102,8 @@
102 102
           </div>
103 103
         </div>
104 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 105
           <el-table
106
+            :fit="true"
121 107
             :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)' }"
122 108
             ref="table"
123 109
             :data="opera_device_numbers"
@@ -125,32 +111,31 @@
125 111
             show-summary
126 112
             height="675"
127 113
             style="width: 100%; cursor: pointer"
128
-
129
-            :summary-method="getSummaries"
130 114
             row-class-name="table-row-new-class schedule-table-row"
115
+            :summary-method="getSummaries"
131 116
             @cell-click="itemClick"
132 117
             sum-text="总数"
133 118
           >
119
+          <!--   -->
134 120
             <el-table-column
135 121
               label="分区"
136
-              width="80"
122
+              min-width="50"
137 123
               align="center"
138 124
               fixed
139
-              style="width: 100px; background-color: red; display: block"
140 125
             >
141 126
               <template slot-scope="scope">
142 127
                 {{ scope.row.zone.name }}
143 128
               </template>
144 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 132
               <template slot-scope="scope">
148 133
                 <div>{{ scope.row.number }}</div>
149 134
               </template>
150 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 139
                 <template slot-scope="scope">
155 140
                   <div class="del_table_btn">
156 141
                     <el-button
@@ -187,7 +172,7 @@
187 172
                   </div>
188 173
                 </template>
189 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 176
                 <template slot-scope="scope">
192 177
                   <div class="del_table_btn">
193 178
                     <el-button
@@ -224,7 +209,7 @@
224 209
                   </div>
225 210
                 </template>
226 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 213
                 <template slot-scope="scope">
229 214
                   <div class="del_table_btn">
230 215
                     <el-button
@@ -263,8 +248,8 @@
263 248
               </el-table-column>
264 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 253
                 <template slot-scope="scope">
269 254
                   <div class="del_table_btn">
270 255
                     <el-button
@@ -300,7 +285,7 @@
300 285
                   </div>
301 286
                 </template>
302 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 289
                 <template slot-scope="scope">
305 290
                   <div class="del_table_btn">
306 291
                     <el-button
@@ -337,7 +322,7 @@
337 322
                   </div>
338 323
                 </template>
339 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 326
                 <template slot-scope="scope">
342 327
                   <div class="del_table_btn">
343 328
                     <el-button
@@ -376,8 +361,8 @@
376 361
               </el-table-column>
377 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 366
                 <template slot-scope="scope">
382 367
                   <div class="del_table_btn">
383 368
                     <el-button
@@ -414,7 +399,7 @@
414 399
                   </div>
415 400
                 </template>
416 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 403
                 <template slot-scope="scope">
419 404
                   <div class="del_table_btn">
420 405
                     <el-button
@@ -451,7 +436,7 @@
451 436
                   </div>
452 437
                 </template>
453 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 440
                 <template slot-scope="scope">
456 441
                   <div class="del_table_btn">
457 442
                     <el-button
@@ -490,8 +475,8 @@
490 475
               </el-table-column>
491 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 480
                 <template slot-scope="scope">
496 481
                   <div class="del_table_btn">
497 482
                     <el-button
@@ -528,7 +513,7 @@
528 513
                   </div>
529 514
                 </template>
530 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 517
                 <template slot-scope="scope">
533 518
                   <div class="del_table_btn">
534 519
                     <el-button
@@ -565,7 +550,7 @@
565 550
                   </div>
566 551
                 </template>
567 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 554
                 <template slot-scope="scope">
570 555
                   <div class="del_table_btn">
571 556
                     <el-button
@@ -604,8 +589,8 @@
604 589
               </el-table-column>
605 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 594
                 <template slot-scope="scope">
610 595
                   <div class="del_table_btn">
611 596
                     <el-button
@@ -642,7 +627,7 @@
642 627
                   </div>
643 628
                 </template>
644 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 631
                 <template slot-scope="scope">
647 632
                   <div class="del_table_btn">
648 633
                     <el-button
@@ -679,7 +664,7 @@
679 664
                   </div>
680 665
                 </template>
681 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 668
                 <template slot-scope="scope">
684 669
                   <div class="del_table_btn">
685 670
                     <el-button
@@ -718,8 +703,8 @@
718 703
               </el-table-column>
719 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 708
                 <template slot-scope="scope">
724 709
                   <div class="del_table_btn">
725 710
                     <el-button
@@ -756,7 +741,7 @@
756 741
                   </div>
757 742
                 </template>
758 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 745
                 <template slot-scope="scope">
761 746
                   <div class="del_table_btn">
762 747
                     <el-button
@@ -793,7 +778,7 @@
793 778
                   </div>
794 779
                 </template>
795 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 782
                 <template slot-scope="scope">
798 783
                   <div class="del_table_btn">
799 784
                     <el-button
@@ -832,11 +817,11 @@
832 817
               </el-table-column>
833 818
             </el-table-column>
834 819
 
835
-            <el-table-column label="周日" min-width="335" align="center">
820
+            <el-table-column label="周日" align="center">
836 821
               <el-table-column
837 822
                 prop="7_1"
838 823
                 label="上"
839
-                min-width="110"
824
+                min-width="40"
840 825
                 align="center"
841 826
               >
842 827
                 <template slot-scope="scope">
@@ -878,7 +863,7 @@
878 863
               <el-table-column
879 864
                 prop="7_2"
880 865
                 label="下"
881
-                min-width="110"
866
+                min-width="40"
882 867
                 align="center"
883 868
               >
884 869
                 <template slot-scope="scope">
@@ -920,7 +905,7 @@
920 905
               <el-table-column
921 906
                 prop="7_3"
922 907
                 label="晚"
923
-                min-width="110"
908
+                min-width="40"
924 909
                 align="center"
925 910
               >
926 911
                 <template slot-scope="scope">
@@ -961,7 +946,7 @@
961 946
               </el-table-column>
962 947
             </el-table-column>
963 948
 
964
-            <el-table-column
949
+            <!-- <el-table-column
965 950
               prop="total"
966 951
               label="总数"
967 952
               width="60"
@@ -971,7 +956,7 @@
971 956
               <template slot-scope="scope">
972 957
                 {{ scope.row.total }}
973 958
               </template>
974
-            </el-table-column>
959
+            </el-table-column> -->
975 960
           </el-table>
976 961
         </div>
977 962
       </div>
@@ -1349,7 +1334,7 @@ export default {
1349 1334
 
1350 1335
       partition_id: 0,
1351 1336
       tableHeight: document.documentElement.clientHeight,
1352
-      template:null,
1337
+      template:0,
1353 1338
       all_template:[],
1354 1339
       active_name:"first",
1355 1340
     };
@@ -2093,9 +2078,11 @@ export default {
2093 2078
       console.log("saveData")
2094 2079
       console.log(tempData)
2095 2080
       this.$emit("saveData", tempData,delData);
2096
-    },changeJihao(){
2081
+    },
2082
+    changeJihao(){
2097 2083
       this.$forceUpdate()
2098
-    },changeSchMachine(row) {
2084
+    },
2085
+    changeSchMachine(row) {
2099 2086
       let params = {
2100 2087
         zone_id: row.zone_id,
2101 2088
         sch_type: row.time_type,
@@ -2364,7 +2351,8 @@ export default {
2364 2351
 
2365 2352
       }
2366 2353
 
2367
-    },    deepClone(source) {
2354
+    }, 
2355
+    deepClone(source) {
2368 2356
       if (!source && typeof source !== 'object') {
2369 2357
         throw new Error('error arguments', 'shallowClone')
2370 2358
       }
@@ -2576,7 +2564,8 @@ export default {
2576 2564
 
2577 2565
       }, 1000);
2578 2566
 
2579
-    },curInfoDragStart(){
2567
+    },
2568
+    curInfoDragStart(){
2580 2569
       this.cur_drag_obj = 1
2581 2570
       this.cur_drag_info.patient_id = this.cur_info.patient_id
2582 2571
       this.cur_drag_info.patient_name = this.cur_info.patient_name
@@ -2803,7 +2792,8 @@ export default {
2803 2792
       this.all_zones = this.unique_two(this.all_zones);
2804 2793
 
2805 2794
       return maked_device_numbers;
2806
-    },   coverSch(){
2795
+    },  
2796
+    coverSch(){
2807 2797
       let params={
2808 2798
         template_id:this.template.id,
2809 2799
         week_type_one:this.cur_drag_info.schedule_week,
@@ -2923,7 +2913,8 @@ export default {
2923 2913
           };
2924 2914
         }
2925 2915
       }
2926
-    }, search_two: function () {
2916
+    }, 
2917
+    search_two: function () {
2927 2918
       if (this.keywords.length == 0) {
2928 2919
         this.patients = this.all_patients;
2929 2920
       } else {
@@ -2989,6 +2980,21 @@ export default {
2989 2980
       // else {
2990 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 2999
     will_add_schedule_actionTwo: function (
2994 3000
       patient_id,
@@ -3351,7 +3357,8 @@ export default {
3351 3357
         this.data.push(obj);
3352 3358
         this.$refs.selector_dialog.hide();
3353 3359
       }
3354
-    },    saveActionFour: function () {
3360
+    }, 
3361
+    saveActionFour: function () {
3355 3362
       var add_items = [];
3356 3363
       var del_items = [];
3357 3364
       var change_items = [];
@@ -3756,32 +3763,50 @@ export default {
3756 3763
 </script>
3757 3764
 
3758 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 3766
 .table_contain {
3770 3767
   display: flex;
3771 3768
 
3772 3769
 .left_contain {
3773
-  width: 230px;
3770
+  width: 14%;
3774 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 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 3807
 .schedule-table-row {
3782 3808
   background: #fff !important;
3783 3809
 }
3784
-
3785 3810
 .schedule-table-row:hover {
3786 3811
   background: #fff !important;
3787 3812
 }
@@ -3796,7 +3821,7 @@ export default {
3796 3821
 }
3797 3822
 
3798 3823
 #table_data {
3799
-  /*min-height: calc(100vh - 350px);*/
3824
+  min-height: calc(100vh - 350px);
3800 3825
 }
3801 3826
 
3802 3827
 #table_data ::-webkit-scrollbar {
@@ -3823,27 +3848,27 @@ export default {
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 3855
 #table_data ::-webkit-scrollbar {
3831 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 3873
 #table_data {
3849 3874
   min-height: calc(100vh - 350px);
@@ -3898,7 +3923,7 @@ export default {
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 3929
 </style>