Browse Source

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

csx 3 years ago
parent
commit
2ac2187c4c

+ 1 - 1
src/xt_pages/qcd/officesControlAnalysis/time.vue View File

@@ -551,7 +551,7 @@ export default {
551 551
          }
552 552
          //第四季度
553 553
          if( this.modetype ==0 && this.quarterType == 3){
554
-             this.startime = moment().month(8).startOf('month').format("YYYY-MM-DD")
554
+             this.startime = moment().month(9).startOf('month').format("YYYY-MM-DD")
555 555
              this.endtime = moment().month(11).endOf('month').format("YYYY-MM-DD")
556 556
          }
557 557
          

+ 1 - 1
src/xt_pages/qcd/workAnalysis/nurse.vue View File

@@ -394,7 +394,7 @@
394 394
         GetNurseWorkloadTableData(params)
395 395
           .then(rs => {
396 396
             var resp = rs.data
397
-
397
+            console.log("resp232323",resp)
398 398
             if (resp.state == 1) {
399 399
 
400 400
               let total_cure = 0

+ 62 - 32
src/xt_pages/user/templateSummary.vue View File

@@ -672,22 +672,14 @@
672 672
               <el-form-item>
673 673
                 <span>选择检验检查时间:</span>
674 674
                 <div>
675
-                  <!-- <el-form-item
676
-                   label="时间:"
677
-                   prop="startYear"
678
-                   style="width:100%;"
679
-                 >
680
-                 <el-date-picker
681
-                    @change="changeYear"
682
-                    v-model="startYear"
683
-                    class="timePicker"
684
-                    type="month"
685
-                    placeholder=""
686
-                    format="yyyy-MM"
687
-                    value-format="yyyy-MM">
688
-	               </el-date-picker>
689
-                 </el-form-item> -->
690
-                 <el-form-item>
675
+                
676
+                 <el-form-item label="时间:">
677
+                   <el-radio-group style="padding: 10px;"  v-model="radio" @change="changeRadio">
678
+                      <el-radio :label="1">月份</el-radio>
679
+                      <el-radio :label="2">季度</el-radio>
680
+                    </el-radio-group>
681
+                 </el-form-item>
682
+                 <el-form-item v-show="showquarty">
691 683
                     <el-select v-model="quartype" placeholder="请选择" @change="changetype">
692 684
                       <el-option
693 685
                         v-for="item in quarterType"
@@ -697,6 +689,17 @@
697 689
                       </el-option>
698 690
                     </el-select>
699 691
                  </el-form-item>
692
+                 <el-form-item v-show="showtime">
693
+                   <el-date-picker
694
+                      @change="changeYear"
695
+                      v-model="startYear"
696
+                      class="timePicker"
697
+                      type="month"
698
+                      placeholder=""
699
+                      format="yyyy-MM"
700
+                      value-format="yyyy-MM">
701
+                    </el-date-picker>
702
+                 </el-form-item>
700 703
                  <!-- <el-form-item  label="月份:"
701 704
                    prop="startYear"
702 705
                    style="width:100%;">
@@ -956,6 +959,9 @@
956 959
         { id: 4, name: "第四季度"}
957 960
        ],
958 961
        quartype:1,
962
+       radio:1,
963
+       showtime:true,
964
+       showquarty:false,
959 965
       }
960 966
     },
961 967
     created() {
@@ -1041,7 +1047,7 @@
1041 1047
 
1042 1048
       },
1043 1049
       changeCurrentRecord(val){
1044
-
1050
+        this.tableData = []
1045 1051
         this.getInspectionDetai(val)
1046 1052
       },
1047 1053
       selectionChangeOne(val){
@@ -1185,25 +1191,35 @@
1185 1191
       },
1186 1192
       //获取大项数据来源
1187 1193
       getInspectionMajor(){
1188
-          console.log("type23232232",this.quartype)
1189 1194
           var start_time = ""
1190 1195
           var end_time = ""
1191
-          if(this.quartype == 1){
1192
-             start_time =  moment().startOf('year').format('YYYY-MM-DD')
1193
-             end_time = moment().month(2).endOf('month').format("YYYY-MM-DD")
1194
-          }
1195
-          if(this.quartype == 2){
1196
-            start_time = moment().month(3).startOf('month').format("YYYY-MM-DD")   
1197
-            end_time = moment().month(5).endOf('month').format("YYYY-MM-DD")
1196
+          console.log("radio2332322332",this.radio)
1197
+          if(this.radio == 1){
1198
+            console.log("start_year",this.startYear)
1199
+            console.log("endyaer",this.lastYear)
1200
+            end_time = this.startYear
1201
+            start_time = this.lastYear
1198 1202
           }
1199
-          if(this.quartype == 3){
1200
-            start_time = moment().month(6).startOf('month').format("YYYY-MM-DD")
1201
-            end_time = moment().month(8).endOf('month').format("YYYY-MM-DD")
1202
-          }
1203
-          if(this.quartype == 4){
1204
-             start_time = moment().month(8).startOf('month').format("YYYY-MM-DD")
1205
-             end_time = moment().month(11).endOf('month').format("YYYY-MM-DD")
1203
+          if(this.radio == 2){
1204
+            if(this.quartype == 1){
1205
+              start_time =  moment().startOf('year').format('YYYY-MM-DD')
1206
+              end_time = moment().month(2).endOf('month').format("YYYY-MM-DD")
1207
+            }
1208
+            if(this.quartype == 2){
1209
+              start_time = moment().month(3).startOf('month').format("YYYY-MM-DD")   
1210
+              end_time = moment().month(5).endOf('month').format("YYYY-MM-DD")
1211
+            }
1212
+            if(this.quartype == 3){
1213
+              start_time = moment().month(6).startOf('month').format("YYYY-MM-DD")
1214
+              end_time = moment().month(8).endOf('month').format("YYYY-MM-DD")
1215
+            }
1216
+            if(this.quartype == 4){
1217
+              start_time = moment().month(9).startOf('month').format("YYYY-MM-DD")
1218
+              end_time = moment().month(11).endOf('month').format("YYYY-MM-DD")
1219
+            }
1206 1220
           }
1221
+         
1222
+        
1207 1223
           console.log("start_time",start_time)
1208 1224
           console.log("end_time",end_time)
1209 1225
           var params = {
@@ -1224,6 +1240,7 @@
1224 1240
       },
1225 1241
       //获取小项的值
1226 1242
       getInspectionDetai(val){
1243
+        console.log("val2332232",val)
1227 1244
         var params = {
1228 1245
           project_id:val.project_id,
1229 1246
           patient_id:val.patient_id,
@@ -1407,6 +1424,7 @@
1407 1424
         })
1408 1425
       },
1409 1426
       getTemplateSummaryList(){
1427
+        
1410 1428
           var params = {
1411 1429
             patient_id:this.patient_id,
1412 1430
             start_time:this.start_time,
@@ -1859,6 +1877,18 @@
1859 1877
           })
1860 1878
           .catch(() => {
1861 1879
           })
1880
+     },
1881
+     changeRadio(val){
1882
+       if(val == 1){
1883
+         this.showtime = true
1884
+         this.showquarty = false
1885
+         this.getInspectionMajor()
1886
+       }
1887
+       if(val == 2){
1888
+         this.showquarty = true
1889
+         this.showtime = false
1890
+         this.getInspectionMajor()
1891
+       }
1862 1892
      }
1863 1893
 
1864 1894
     },

+ 42 - 15
src/xt_pages/workforce/components/nextTableWeeks.vue View File

@@ -1,6 +1,14 @@
1 1
 <template>
2 2
   <div>
3 3
     <div class="cell clearfix" style="float: right">
4
+      <el-button
5
+        style="float: right"
6
+        size="small"
7
+        icon="el-icon-printer"
8
+        @click="signPrint()"
9
+        type="primary"
10
+       >标签打印
11
+      </el-button>
4 12
       <el-button
5 13
         style="float: right"
6 14
         size="small"
@@ -138,26 +146,27 @@
138 146
       <el-table-column label="透析器/灌流器" min-width="100" align="center">
139 147
         <template slot-scope="scope">
140 148
           <span v-if="org_id!=9987" >
141
-             <span v-if="scope.row.prescription.dialyzer_perfusion_apparatus!=''">
142
-                <span v-if="org_id!=10131">{{ scope.row.prescription.dialyzer_perfusion_apparatus }}</span>
143
-                <span v-if="org_id ==10131">{{getDialysisDialyszerPerfusionOne(scope.row.patient_id)}}</span>
149
+             <span v-if="scope.row.dialysissolution.dialyzer_perfusion_apparatus!=''">
150
+                <span v-if="org_id!=10131">{{ scope.row.dialysissolution.dialyzer_perfusion_apparatus }}</span>
151
+                <span v-if="org_id==10131">{{ scope.row.dialysissolution.dialyzer_perfusion_apparatus }}</span>
152
+                <!-- <span v-if="org_id ==10131">{{getDialysisDialyszerPerfusionOne(scope.row.patient_id)}}</span> -->
144 153
               </span> 
145
-             <span v-if="scope.row.prescription.dialyzer_perfusion_apparatus =='' && scope.row.dialysissolution.length>0 ">{{ getDialysisDialyszerPerfusion(scope.row.patient_id) }}</span> 
154
+             <span v-if="scope.row.dialysissolution.dialyzer_perfusion_apparatus =='' && scope.row.dialysissolution.length>0 ">{{ getDialysisDialyszerPerfusion(scope.row.patient_id) }}</span> 
146 155
           </span>
147
-          {{scope.row.prescription.dialysis_dialyszers}}
148
-         <span v-if="scope.row.prescription.dialysis_dialyszers!='' && scope.row.prescription.dialysis_irrigation!=''">/</span>
149
-          <span v-if="scope.row.prescription.dialysis_irrigation!=''">{{scope.row.prescription.dialysis_irrigation}}</span>
156
+          {{scope.row.dialysissolution.dialysis_dialyszers}}
157
+         <span v-if="scope.row.dialysissolution.dialysis_dialyszers!='' && scope.row.dialysissolution.dialysis_irrigation!=''">/</span>
158
+          <span v-if="scope.row.dialysissolution.dialysis_irrigation!=''">{{scope.row.dialysissolution.dialysis_irrigation}}</span>
150 159
         </template>
151 160
       </el-table-column>
152 161
       <el-table-column label="抗凝剂(商品名称)" min-width="100" align="center">
153 162
         <template slot-scope="scope">
154
-          <span v-if="scope.row.prescription.anticoagulant === 1">无肝素</span>
155
-          <span v-if="scope.row.prescription.anticoagulant === 2">普通肝素</span>
156
-          <span v-if="scope.row.prescription.anticoagulant === 3" >低分子肝素</span>
157
-          <span v-if="scope.row.prescription.anticoagulant === 4">阿加曲班</span>
158
-          <span v-if="scope.row.prescription.anticoagulant === 5">枸橼酸钠</span>
159
-          <span v-if="scope.row.prescription.anticoagulant === 6">低分子肝素钙</span>
160
-          <span v-if="scope.row.prescription.anticoagulant === 7">低分子肝素钠</span>
163
+          <span v-if="scope.row.dialysissolution.anticoagulant === 1">无肝素</span>
164
+          <span v-if="scope.row.dialysissolution.anticoagulant === 2">普通肝素</span>
165
+          <span v-if="scope.row.dialysissolution.anticoagulant === 3" >低分子肝素</span>
166
+          <span v-if="scope.row.dialysissolution.anticoagulant === 4">阿加曲班</span>
167
+          <span v-if="scope.row.dialysissolution.anticoagulant === 5">枸橼酸钠</span>
168
+          <span v-if="scope.row.dialysissolution.anticoagulant === 6">低分子肝素钙</span>
169
+          <span v-if="scope.row.dialysissolution.anticoagulant === 7">低分子肝素钠</span>
161 170
          <span v-if="scope.row.prescription.antioxidant_commodity_name!=''">
162 171
              (<span>{{scope.row.prescription.antioxidant_commodity_name}}</span>)
163 172
           </span>
@@ -337,7 +346,7 @@ export default {
337 346
         //   week_type:this.week_type,
338 347
         //   week_time:this.week_time,
339 348
         // }
340
-     
349
+      console.log("params",params)
341 350
       getNextScheduleWeekDay(params).then(response => {
342 351
         this.scheduleData = [];
343 352
         if (response.data.state == 1) {
@@ -611,6 +620,24 @@ export default {
611 620
     changeZone(val){
612 621
       this.zone = val
613 622
       this.getNextScheduleWeekDay()
623
+    },
624
+    signPrint() {
625
+        var zone = this.zone
626
+        var newArr = []
627
+        for(let i=0;i<this.zoneList.length;i++){
628
+           newArr.push(this.zoneList[i].id)
629
+        }
630
+        var arr = newArr.join(",")
631
+        var str = ""
632
+        if(this.zone == 0){
633
+           str = arr  
634
+        }
635
+        if(zone != 0){
636
+          str = zone.join(",")
637
+        }
638
+        this.$router.push({
639
+          path: '/schedule/remind/print/setting?week_type=' + this.week_type + '&week_time=' + this.week_time + '&zone=' + str + '&prestatus=' + this.pre_status+"&type="+2
640
+        })
614 641
     }
615 642
   },
616 643
   components: {

+ 1 - 1
src/xt_pages/workforce/components/tableWeeks.vue View File

@@ -887,7 +887,7 @@
887 887
           str = zone.join(",")
888 888
         }
889 889
         this.$router.push({
890
-          path: '/schedule/remind/print/setting?week_type=' + this.week_type + '&week_time=' + this.week_time + '&zone=' + str + '&prestatus=' + this.pre_status
890
+          path: '/schedule/remind/print/setting?week_type=' + this.week_type + '&week_time=' + this.week_time + '&zone=' + str + '&prestatus=' + this.pre_status+"&type="+1
891 891
         })
892 892
       }
893 893
       ,

+ 9 - 9
src/xt_pages/workforce/next_remind_print.vue View File

@@ -64,8 +64,8 @@
64 64
                  <span v-if="org_id!=9987">
65 65
                      <span v-if="main_collection.prescription.dialyzer_perfusion_apparatus!=''"> 
66 66
                         <span v-if="org_id!=10131">{{main_collection.prescription.dialyzer_perfusion_apparatus}}</span> 
67
-                        <span v-if="org_id==10131">{{getDialysisDialyszerPerfusionOne(main_collection.prescription.patient_id)}}</span> 
68
-                         <!-- <span v-if="org_id==10131 || org_id==9671">{{main_collection.dialysissolution.dialyzer_perfusion_apparatus}}</span> -->
67
+                        <!-- <span v-if="org_id==10131">{{getDialysisDialyszerPerfusionOne(main_collection.prescription.patient_id)}}</span>  -->
68
+                         <span v-if="org_id==10131 || org_id==9671">{{main_collection.dialysissolution.dialyzer_perfusion_apparatus}}</span>
69 69
                      </span>
70 70
                      <span v-if="main_collection.prescription.dialyzer_perfusion_apparatus ==''&& main_collection.dialysissolution.length>0">{{getDialysisDialyszerPerfusion(main_collection.patient_id)}}</span> 
71 71
                   </span>
@@ -81,13 +81,13 @@
81 81
                   </span>
82 82
                 </td>
83 83
                 <td :width="td_1_width"  v-if="printObj.anticoagulant_zongliang == 1">
84
-                  <span v-if="main_collection.prescription.anticoagulant == 1">{{main_collection.prescription.anticoagulant_zongliang?main_collection.prescription.anticoagulant_zongliang+'mg':''}}</span>
85
-                  <span v-if="main_collection.prescription.anticoagulant == 2">{{main_collection.prescription.anticoagulant_zongliang?main_collection.prescription.anticoagulant_zongliang+'iu':''}}</span>
86
-                  <span v-if="main_collection.prescription.anticoagulant == 3">{{main_collection.prescription.anticoagulant_zongliang?main_collection.prescription.anticoagulant_zongliang+'iu':''}}</span>
87
-                  <span v-if="main_collection.prescription.anticoagulant == 4">{{main_collection.prescription.anticoagulant_zongliang?main_collection.prescription.anticoagulant_zongliang+'mg':''}}</span>
88
-                  <span v-if="main_collection.prescription.anticoagulant == 5">{{main_collection.prescription.anticoagulant_zongliang?main_collection.prescription.anticoagulant_zongliang+'mg':''}}</span>
89
-                  <span v-if="main_collection.prescription.anticoagulant == 6">{{main_collection.prescription.anticoagulant_zongliang?main_collection.prescription.anticoagulant_zongliang+'iu':''}}</span>
90
-                  <span v-if="main_collection.prescription.anticoagulant == 7">{{main_collection.prescription.anticoagulant_zongliang?main_collection.prescription.anticoagulant_zongliang+'iu':''}}</span>
84
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 1">{{main_collection.dialysissolution.anticoagulant_zongliang?main_collection.dialysissolution.anticoagulant_zongliang+'mg':''}}</span>
85
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 2">{{main_collection.dialysissolution.anticoagulant_zongliang?main_collection.dialysissolution.anticoagulant_zongliang+'iu':''}}</span>
86
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 3">{{main_collection.dialysissolution.anticoagulant_zongliang?main_collection.dialysissolution.anticoagulant_zongliang+'iu':''}}</span>
87
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 4">{{main_collection.dialysissolution.anticoagulant_zongliang?main_collection.dialysissolution.anticoagulant_zongliang+'mg':''}}</span>
88
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 5">{{main_collection.dialysissolution.anticoagulant_zongliang?main_collection.dialysissolution.anticoagulant_zongliang+'mg':''}}</span>
89
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 6">{{main_collection.dialysissolution.anticoagulant_zongliang?main_collection.dialysissolution.anticoagulant_zongliang+'iu':''}}</span>
90
+                  <span v-if="main_collection.dialysissolution.anticoagulant == 7">{{main_collection.dialysissolution.anticoagulant_zongliang?main_collection.dialysissolution.anticoagulant_zongliang+'iu':''}}</span>
91 91
                 </td>
92 92
                 <td :width="td_4_width" style="text-align:left"  v-if="printObj.doctor_advice == 1">
93 93
                   <span style="white-space: pre" v-if="main_collection.doctor_advice.length>0">{{getAdvice(main_collection.doctor_advice)}}</span>

+ 1 - 1
src/xt_pages/workforce/remind_print.vue View File

@@ -74,7 +74,7 @@
74 74
 
75 75
                 </td>
76 76
                 <td :width="td_1_width" v-if="printObj.anticoagulant == 1">
77
-                  {{ main_collection.prescription.anticoagulant ? anticoagulants_confit[main_collection.prescription.anticoagulant].name : ''}}
77
+                  {{ main_collection.dialysissolution.anticoagulant ? anticoagulants_confit[main_collection.dialysissolution.anticoagulant].name : ''}}
78 78
                   <span v-if="main_collection.prescription.antioxidant_commodity_name!=''">
79 79
                     (<span>{{main_collection.prescription.antioxidant_commodity_name}}</span>)
80 80
                   </span>

+ 80 - 10
src/xt_pages/workforce/remind_print_setting.vue View File

@@ -21,7 +21,10 @@
21 21
             <div v-for="(main_collection,index) in scheduleData" :key="index" style="page-break-after: always;">
22 22
               <div class="signPrint">
23 23
                 <div>分区/床位号:{{main_collection.zone.name}}/{{main_collection.number.number}}</div> 
24
-                <div>姓名:{{main_collection.patient.name}}</div> 
24
+                <div>姓名:
25
+                  <span v-if="type ==1">{{main_collection.patient.name}} </span> 
26
+                  <span v-if="type ==2">{{main_collection.patient}} </span> 
27
+                </div> 
25 28
                 <div>抗凝剂: 
26 29
                   <span v-if="org_id == 10138">{{ main_collection.dialysissolution.anticoagulant ? anticoagulants_confit[main_collection.dialysissolution.anticoagulant].name + ' 5000iu/瓶' : ''}}</span>
27 30
                   <span v-else >{{ main_collection.dialysissolution.anticoagulant ? anticoagulants_confit[main_collection.dialysissolution.anticoagulant].name: ''}}</span>
@@ -51,7 +54,7 @@
51 54
 </template>
52 55
 
53 56
 <script>
54
-  import { getScheduleList,getPrintList } from '@/api/schedule'
57
+  import { getScheduleList,getPrintList,getNextScheduleWeekDay } from '@/api/schedule'
55 58
   import { parseTime } from '@/utils'
56 59
   import { uParseTime } from '@/utils/tools'
57 60
   import BreadCrumb from '@/xt_pages/components/bread-crumb'
@@ -81,24 +84,29 @@
81 84
         now_time:0,
82 85
         zone:"",
83 86
         pre_status:0,
84
-        printObj:{}
87
+        printObj:{},
88
+        type:1,
85 89
       }
86 90
     },
87 91
     components: {
88 92
       BreadCrumb
89 93
     },
90 94
     created() {
95
+      console.log("type2323233223232",this.$route.query.type)  
96
+     this.type = this.$route.query.type
91 97
      this.getPrintList()
92 98
      this.org_id = this.$store.getters.xt_user.org.id
93 99
      this.currentDate = this.getCurrentDate()
94 100
    
95
-      this.modeOptions = this.$store.getters.treatment_mode
96
-      this.anticoagulants_confit = this.$store.getters.anticoagulants_confit
97
-      this.week_type = this.$route.query.week_type
98
-      this.week_time  = this.$route.query.week_time
99
-      this.zone = this.$route.query.zone
100
-      this.pre_status = this.$route.query.prestatus
101
-     const params = {
101
+     this.modeOptions = this.$store.getters.treatment_mode
102
+     this.anticoagulants_confit = this.$store.getters.anticoagulants_confit
103
+    this.week_type = this.$route.query.week_type
104
+    this.week_time  = this.$route.query.week_time
105
+    this.zone = this.$route.query.zone
106
+    this.pre_status = this.$route.query.prestatus
107
+    
108
+    if(parseInt(this.$route.query.type) == 1){
109
+      const params = {
102 110
           week_type:this.week_type,
103 111
           week_time:this.week_time,
104 112
           zone:this.zone,
@@ -152,6 +160,11 @@
152 160
       var now_time = parseInt(this.week_type) * 86400 + this.start_time
153 161
       console.log("now",now_time)
154 162
       this.now_time = now_time
163
+    }
164
+    if(parseInt(this.$route.query.type) == 2){
165
+       this.getNextScheduleWeekDay()
166
+    }
167
+    
155 168
     },
156 169
     methods: {
157 170
       getAdvice:function(doctor_advice) {
@@ -305,6 +318,63 @@
305 318
            this.printObj = list
306 319
          }
307 320
       })
321
+     },
322
+    getNextScheduleWeekDay() {
323
+        const start = moment().weekday(1).format('YYYY-MM-DD'); //本周一
324
+        const end = moment().weekday(7).format('YYYY-MM-DD')
325
+        var zone = this.zone
326
+        // var newArr = []
327
+        // for(let i=0;i<this.zoneList.length;i++){
328
+        //    newArr.push(this.zoneList[i].id)
329
+        // }
330
+        // var arr = newArr.join(",")
331
+        // var str = ""
332
+        // if(this.zone == 0){
333
+        //    str = arr  
334
+        // }
335
+        // if(zone != 0){
336
+        //   str = zone.join(",")
337
+        // }
338
+        const params = {
339
+          start_time:moment().week(moment().week() + 1).startOf('week').unix(),
340
+          end_time:moment().week(moment().week() + 1).endOf('week').unix(),
341
+          week_type:this.week_type,
342
+          week_time:this.week_time,
343
+          zone:this.zone,
344
+        }
345
+        // const params = {
346
+        //   start_time:1609603200,
347
+        //   end_time:1610208000,
348
+        //   week_type:this.week_type,
349
+        //   week_time:this.week_time,
350
+        // }
351
+      console.log("params",params)
352
+      getNextScheduleWeekDay(params).then(response => {
353
+        this.scheduleData = [];
354
+        if (response.data.state == 1) {
355
+          var scheduleData = response.data.data.schedule;
356
+      
357
+          for(let i=0;i<scheduleData.length;i++){
358
+              scheduleData[i].sort = scheduleData[i].number.sort
359
+          }
360
+            var arr =   scheduleData.sort(this.compare('sort'))
361
+            console.log("元旦快乐",arr)
362
+            this.scheduleData = arr
363
+          
364
+            // var newList = []
365
+            // for(let i=0;i<scheduleData.length;i++){
366
+            //   if(scheduleData.prescription.id > 0){
367
+            //      newList.push(scheduleData[i])
368
+            //   } 
369
+            // }
370
+            // var arr =   newList.sort(this.compare('sort'))
371
+            // console.log("元旦快乐",arr)
372
+            // this.scheduleData = arr 
373
+        } else {
374
+          this.$message.error("网络错误");
375
+          return false;
376
+        }
377
+      });
308 378
      }
309 379
     }
310 380
   }