Browse Source

长沙南雅打印单问题修改

28169 2 years ago
parent
commit
619d7fc97e

+ 11 - 0
src/router/modules/dialysis.js View File

@@ -67,6 +67,17 @@ export default {
67 67
         noCache: true
68 68
       }
69 69
     },
70
+    {
71
+      path: '/dialysis/doctorAdvicePrint/one',
72
+      component: () => import('@/xt_pages/dialysis/doctorAdvicePrintOne'),
73
+      name: '透析医嘱打印',
74
+      hidden: true,
75
+      is_menu: false,
76
+      meta: {
77
+        title: '透析医嘱打印',
78
+        noCache: true
79
+      }
80
+    },
70 81
 
71 82
     // {
72 83
     //   path: '/dialysis/doctorAdviceStaticPrint',

+ 1 - 1
src/xt_pages/dialysis/batch_print/batch_print_order_thirtyTwo.vue View File

@@ -95,7 +95,7 @@
95 95
                         <td width="40">透析备注:</td>
96 96
                         <td width="500">
97 97
                             <div class="under-line">
98
-                            {{ record.prescription.dialysis_remark ? record.prescription.dialysis_remark : '' }}
98
+                            {{ record.prescription.dialysis_remark ? record.prescription.dialysis_remark : record.prescription.remark}}
99 99
                             </div>
100 100
                         </td>
101 101
                         </tr>

+ 26 - 0
src/xt_pages/dialysis/details/DialysisPrescription.vue View File

@@ -551,6 +551,32 @@
551 551
             <span class="unit"  v-else>{{ reduce_amount != "0" ? "iu" : "" }}</span>
552 552
           </span>
553 553
         </li>
554
+
555
+        <li v-if="isShow('开药数量')">
556
+          <label>开药数量(支): </label>
557
+          <span class="content">{{this.prescription.prescribing_number}}</span>
558
+        </li>
559
+
560
+        <li v-if="isShow('处方钠')">
561
+          <label>处方钠: </label>
562
+          <span class="content">{{this.prescription.prescription_sodium}}</span>
563
+        </li>
564
+
565
+        <li v-if="isShow('开始钠')">
566
+          <label>开始钠: </label>
567
+          <span class="content">{{this.prescription.start_sodium}}</span>
568
+        </li>
569
+
570
+        <li v-if="isShow('钠曲线')">
571
+          <label>钠曲线: </label>
572
+          <span class="content">{{this.prescription.sodium_curve}}</span>
573
+        </li>
574
+
575
+        <li v-if="isShow('病情处理')">
576
+          <label>病情处理: </label>
577
+          <span class="content">{{this.prescription.treatment_remark}}</span>
578
+        </li>
579
+
554 580
        
555 581
       </ul>
556 582
     </div>

+ 1 - 1
src/xt_pages/dialysis/details/assessmentAfter.vue View File

@@ -40,7 +40,7 @@
40 40
         <li v-if="isShow('实际置换量')">
41 41
           <label>实际置换量 : </label>
42 42
           <span class="content">{{ actual_displacement }}</span>
43
-          <span class="unit" v-if="this.$store.getters.xt_user.template_info.template_id != 13 || this.$store.getters.xt_user.template_info.template_id != 40">ml</span>
43
+          <span class="unit" v-if="this.$store.getters.xt_user.template_info.template_id != 40">ml</span>
44 44
           <span class="unit" v-else>L</span>
45 45
         </li>
46 46
         <li v-if="isShow('压迫后内瘘震颤')">

+ 1 - 1
src/xt_pages/dialysis/details/dialog/AssessmentAfterDislysis.vue View File

@@ -442,7 +442,7 @@
442 442
         <el-row :gutter="20"> -->
443 443
 
444 444
         <el-col :span="8" v-if="isShow('实际置换量')">
445
-          <el-form-item v-if="this.template_id == 20 || this.template_id == 21 || this.template_id == 13" label="实际置换量(ml): ">
445
+          <el-form-item v-if="this.template_id == 20 || this.template_id == 21" label="实际置换量(ml): ">
446 446
             <el-input v-model="form.actual_displacement"></el-input>
447 447
           </el-form-item>
448 448
           <el-form-item v-else label="实际置换量(L): ">

+ 64 - 1
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

@@ -490,6 +490,13 @@
490 490
 
491 491
                     </el-col>
492 492
 
493
+                    <el-col :span="8"
494
+                            v-if="isShows('开药数量')">
495
+                        <el-form-item label="开药数量(支):">
496
+                            <el-input type="number" v-model="dialysisPrescription.prescribing_number"></el-input>
497
+                        </el-form-item>
498
+                    </el-col>
499
+
493 500
 
494 501
                     <el-col :span="8"
495 502
                             v-if="isShows('置换量') && ((this.$store.getters.xt_user.template_info.template_id == 20 || this.$store.getters.xt_user.template_info.template_id == 28 || this.$store.getters.xt_user.template_info.template_id == 29 || this.$store.getters.xt_user.template_info.template_id == 46 || this.$store.getters.xt_user.template_info.template_id == 53)&& this.$store.getters.xt_user.template_info.org_id!=10441)"
@@ -974,6 +981,52 @@
974 981
                   </el-col>
975 982
               </el-row>
976 983
 
984
+              <el-row :gutter="20">
985
+                    <el-col :span="8">
986
+                        <el-form-item label="处方钠: ">
987
+                            <el-input
988
+                                  
989
+                                    v-model="dialysisPrescription.prescription_sodium"
990
+                                    :rows="5"
991
+                            ></el-input>
992
+                        </el-form-item>
993
+                    </el-col>
994
+                    <el-col :span="8">
995
+                        <el-form-item label="开始钠: ">
996
+                            <el-input
997
+                                 
998
+                                    v-model="dialysisPrescription.start_sodium"
999
+                                    :rows="5"
1000
+                            ></el-input>
1001
+                        </el-form-item>
1002
+                    </el-col>
1003
+                    <el-col :span="8">
1004
+                        <el-form-item label="钠曲线: ">
1005
+                            <el-input
1006
+                                  
1007
+                                    v-model="dialysisPrescription.sodium_curve"
1008
+                                    :rows="5"
1009
+                            ></el-input>
1010
+                        </el-form-item>
1011
+                    </el-col>
1012
+                </el-row>
1013
+
1014
+              <el-row :gutter="20">
1015
+                    <el-col :span="24">
1016
+                        <el-form-item label="病情处理: ">
1017
+                            <el-input
1018
+                                    type="textarea"
1019
+                                    v-model="dialysisPrescription.treatment_remark"
1020
+                                    :rows="5"
1021
+                            ></el-input>
1022
+                        </el-form-item>
1023
+                    </el-col>
1024
+                </el-row>
1025
+
1026
+               
1027
+
1028
+
1029
+
977 1030
                 <el-row :gutter="20">
978 1031
                     <el-col :span="24">
979 1032
                         <el-form-item label="备注: ">
@@ -1501,6 +1554,11 @@
1501 1554
           add_amount:"",
1502 1555
           reduce_amount:"",
1503 1556
           dialysis_remark:"",
1557
+          prescribing_number:"",
1558
+          treatment_remark:"",
1559
+          prescription_sodium:"",
1560
+          start_sodium:"",
1561
+          sodium_curve:"",
1504 1562
         },
1505 1563
 
1506 1564
         anticoagulant: {
@@ -2334,6 +2392,8 @@ mu
2334 2392
               this.dialysisPrescription.sodium = 138
2335 2393
               this.dialysisPrescription.bicarbonate = 31.1
2336 2394
               this.dialysisPrescription.dialysate_flow = 500
2395
+              this.dialysisPrescription.dialysate_temperature = 36.5
2396
+              this.dialysisPrescription.prescribing_number = 1
2337 2397
             }
2338 2398
             if(this.$store.getters.xt_user.org.id == 10447){
2339 2399
               this.dialysisPrescription.dialysate_flow = 500
@@ -2358,7 +2418,10 @@ mu
2358 2418
             this.dialysisPrescription.package = last.package
2359 2419
             this.dialysisPrescription.a_liquid = last.a_liquid
2360 2420
             this.zongliang = last.anticoagulant_zongliang
2361
-            this.remark = last.remark
2421
+            if(this.$store.getters.xt_user.template_info.org_id!=10013  && this.$store.getters.xt_user.template_info.org_id!=10014){
2422
+              this.remark = last.remark
2423
+            }
2424
+           
2362 2425
             weight_before = 0
2363 2426
 
2364 2427
           }

+ 11 - 1
src/xt_pages/dialysis/newDoctorAdvice.vue View File

@@ -1088,7 +1088,17 @@ export default {
1088 1088
         if(name == '全部'){
1089 1089
           name = ""
1090 1090
        }
1091
-      this.$router.push({ path: "/dialysis/doctorAdvicePrint",query:{time: new Date(this.time).getTime(),delivery_way:name} });
1091
+      
1092
+       if(this.org_id == 9671 || this.org_id == 10340 || this.org_id == 0){
1093
+        this.$router.push({ path: "/dialysis/doctorAdvicePrint/one",query:{time: new Date(this.time).getTime(),delivery_way:name} });
1094
+       }
1095
+
1096
+       if(this.org_id != 9671 && this.org_id != 10340 && this.org_id!=0){
1097
+        this.$router.push({ path: "/dialysis/doctorAdvicePrint",query:{time: new Date(this.time).getTime(),delivery_way:name} });
1098
+       }
1099
+
1100
+
1101
+    
1092 1102
 
1093 1103
     },
1094 1104
     signPrintAction:function(){

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

@@ -80,7 +80,7 @@
80 80
              <td width="40">透析备注:</td>
81 81
              <td width="500">
82 82
                <div class="under-line">
83
-                {{prescription.dialysis_remark?prescription.dialysis_remark:"" }}
83
+                 {{prescription.dialysis_remark?prescription.dialysis_remark:prescription.remark }}
84 84
               </div>
85 85
              </td>
86 86
            

+ 1 - 1
src/xt_pages/hospitalStation/components/deskPrescription.vue View File

@@ -2400,7 +2400,7 @@ export default {
2400 2400
                 }
2401 2401
               }
2402 2402
 
2403
-la
2403
+
2404 2404
 
2405 2405
               let prescription = []
2406 2406
 

+ 7 - 1
src/xt_pages/outpatientTool/components/settle.vue View File

@@ -66,6 +66,11 @@
66 66
             {{scope.row.id_card_no}}
67 67
           </template>
68 68
         </el-table-column>
69
+        <el-table-column align="center" prop="item_name" label="就诊号">
70
+          <template slot-scope="scope">
71
+            {{scope.row.mdtrt_id}}
72
+          </template>
73
+        </el-table-column>
69 74
         <el-table-column align="center" prop="item_name" label="治疗日期">
70 75
           <template slot-scope="scope">
71 76
             {{getTimes(scope.row.settle_accounts_date)}}
@@ -233,6 +238,7 @@ import { uParseTime } from '@/utils/tools'
233 238
                 let order = data[i].orders[b]
234 239
                 order['other_name'] = data[i].name
235 240
                 order['id_card_no'] = data[i].id_card_no
241
+                order['mdtrt_id'] =order.mdtrt_id
236 242
 
237 243
                 total = parseFloat((parseFloat(total.toString()) + parseFloat(data[i].orders[b].medfee_sumamt.toString())).toFixed(2).toString())
238 244
               }
@@ -324,7 +330,7 @@ import { uParseTime } from '@/utils/tools'
324 330
         })
325 331
         this.sameRowArr = sameRowArr
326 332
       }, merge({ row, column, rowIndex, columnIndex }) {
327
-        if (columnIndex === 0 || columnIndex === 1 || columnIndex === 15) {
333
+        if (columnIndex === 0 || columnIndex === 1  || columnIndex === 15) {
328 334
           const _row = this.tempArr[rowIndex]
329 335
           const _col = _row > 0 ? 1 : 0
330 336
           return {

+ 2 - 3
src/xt_pages/stock/drugs/components/drugQuery.vue View File

@@ -1053,10 +1053,9 @@ export default {
1053 1053
           this.tableList[i].manufacturer_name = this.getManufacturName(this.tableList[i].manufacturer)
1054 1054
 
1055 1055
           this.tableList[i].stock_in_count = this.getStockIn(this.tableList[i].drug_stock_count, this.tableList[i].max_unit, this.tableList[i].min_unit,this.tableList[i].min_number);
1056
-
1057
-          this.tableList[i].stock_out_count = this.getStockOut(this.tableList[i].drug_stock_count,this.tableList[i].max_unit,this.tableList[i].min_unit,this.tableList[i].min_number,this.tableList[i].drug_cancel_stock_info)
1056
+          this.tableList[i].stock_out_count =  this.getActCount(this.tableList[i].drug_stock_count,this.tableList[i].max_unit,this.tableList[i].min_unit,this.tableList[i].min_number)
1058 1057
           this.tableList[i].cancle_out_count = this.getCancleOut(this.tableList[i].drug_stock_count,this.tableList[i].max_unit,this.tableList[i].min_unit,this.tableList[i].min_number)
1059
-          this.tableList[i].act_cout =  this.getActCount(this.tableList[i].drug_stock_count,this.tableList[i].max_unit,this.tableList[i].min_unit,this.tableList[i].min_number)
1058
+          this.tableList[i].act_cout =  this.getStockOut(this.tableList[i].drug_stock_count,this.tableList[i].max_unit,this.tableList[i].min_unit,this.tableList[i].min_number,this.tableList[i].drug_cancel_stock_info)
1060 1059
           this.tableList[i].over_count = this.getOverCount(this.tableList[i].drug_stock_count,this.tableList[i].max_unit,this.tableList[i].min_unit,this.tableList[i].min_number)
1061 1060
           this.tableList[i].sum_count = this.getOverCount(this.tableList[i].drug_stock_count,this.tableList[i].max_unit,this.tableList[i].min_unit,this.tableList[i].min_number)
1062 1061
         }

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

@@ -2754,7 +2754,7 @@ export default {
2754 2754
                   } else {
2755 2755
                     let obj = {
2756 2756
                       week_type:this.weeks[b].week_type,
2757
-                      order_id:schedules[i].order.id,
2757
+                      order_id:sch[i].order.id,
2758 2758
                     }
2759 2759
                     this.first_weeks.push(obj)
2760 2760
                     this.weeks[b].is_edit = false;

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

@@ -344,6 +344,9 @@ export default {
344 344
           return value1 - value2;
345 345
       }
346 346
      },
347
+     getTimestamp(time) { //把时间日期转成时间戳
348
+      return (new Date(time)).getTime()
349
+    },
347 350
     getNextScheduleWeekDay() {
348 351
        this.loading = true
349 352
         const start = moment().weekday(1).format('YYYY-MM-DD'); //本周一
@@ -363,22 +366,19 @@ export default {
363 366
           str = zone.join(",")
364 367
         }
365 368
 
366
-        var now_time = parseInt(this.week_type) * 86400 + this.start_time
367
-        
369
+       
368 370
         let weekOfDay = parseInt(moment().format('E'))
369 371
         let next_monday = moment().add((7 - weekOfDay) + 1, 'days').format('YYYY-MM-DD');
370
-        console.log("卡 is h2323233232",new Date(next_monday))
372
+        
371 373
         let next_sunday = moment().add((7 - weekOfDay) + 7, 'days').format('YYYY-MM-DD')
372
-        console.log("下周日",next_sunday.valueOf())
373
-        // const params = {
374
-        //   start_time:moment().week(moment().week() + 1).startOf('week').unix(),
375
-        //   end_time:moment().week(moment().week() + 1).endOf('week').unix(),
376
-        //   week_type:this.week_type,
377
-        //   week_time:this.week_time,
378
-        //   zone:str,
379
-        //   record_date:this.getTime(now_time)
380
-        // }
381 374
 
375
+        console.log("开始时间++++++++",(this.getTimestamp(next_monday)/1000)-28800)
376
+
377
+        var now_time = parseInt(this.week_type - 1)*86400 + (this.getTimestamp(next_monday)/1000 -28800)
378
+        console.log("now_time------------------",now_time)
379
+
380
+       
381
+      
382 382
        const params = {
383 383
           start_time:next_monday,
384 384
           end_time:next_sunday,
@@ -665,7 +665,7 @@ export default {
665 665
     },
666 666
     signPrint() {
667 667
         
668
-        if(this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340){
668
+        if(this.org_id == 9671 || this.org_id == 9675 || this.org_id == 10340 || this.org_id == 0){
669 669
          var zone = this.zone
670 670
           var newArr = []
671 671
           for(let i=0;i<this.zoneList.length;i++){

+ 66 - 56
src/xt_pages/workforce/next_remind_print.vue View File

@@ -155,74 +155,84 @@
155 155
       this.modeOptions = this.$store.getters.treatment_mode
156 156
       this.anticoagulants_confit = this.$store.getters.anticoagulants_confit
157 157
       this.week_type = this.$route.query.week_type
158
-      var now_time = parseInt(this.week_type) * 86400 + this.start_time
159
-      // console.log("now_time23233232322323",now_time)
160
-      this.now_time = now_time
158
+      // var now_time = parseInt(this.week_type) * 86400 + this.start_time
159
+      // // console.log("now_time23233232322323",now_time)
160
+      // this.now_time = now_time
161 161
       this.week_time  = this.$route.query.week_time
162 162
       this.zone = this.$route.query.zone
163 163
       this.pre_status = this.$route.query.prestatus
164 164
       this.loading = true;
165
-      let weekOfDay = parseInt(moment().format('E'))
166
-      let next_monday = moment().add((7 - weekOfDay) + 1, 'days').format('YYYY-MM-DD');
167
-      let next_sunday = moment().add((7 - weekOfDay) + 7, 'days').format('YYYY-MM-DD')
168
-      const params = {
169
-          week_type:this.week_type,
170
-          week_time:this.week_time,
171
-          start_time:next_monday,
172
-          end_time:next_sunday,
173
-          zone:this.zone,
174
-          record_date:this.getTime(now_time)
175
-        }
176
-    //  console.log("下周打印时间",params)
177
-      getNextScheduleWeekDay(params).then(rs => {
178
-        var resp = rs.data
179
-        console.log(resp)
180
-        if (resp.state == 1) {
181
-         var scheduleData = resp.data.schedule
182
-
183
-          if(this.pre_status == 0){
184
-              for(let i=0;i<scheduleData.length;i++){
185
-              scheduleData[i].sort = scheduleData[i].number.sort
186
-            }
187
-            var arr =   scheduleData.sort(this.compare('sort'))
188
-           
189
-            this.scheduleData = arr
165
+
166
+      this.getNextScheduleWeekDay()
167
+
168
+    
169
+    },
170
+    methods: {
171
+      getTimestamp(time) { //把时间日期转成时间戳
172
+        return (new Date(time)).getTime()
173
+      },
174
+      getNextScheduleWeekDay(){
175
+        let weekOfDay = parseInt(moment().format('E'))
176
+        let next_monday = moment().add((7 - weekOfDay) + 1, 'days').format('YYYY-MM-DD');
177
+        let next_sunday = moment().add((7 - weekOfDay) + 7, 'days').format('YYYY-MM-DD')
178
+        var now_time = parseInt(this.week_type - 1)*86400 + (this.getTimestamp(next_monday)/1000 -28800)
179
+        const params = {
180
+            week_type:this.week_type,
181
+            week_time:this.week_time,
182
+            start_time:next_monday,
183
+            end_time:next_sunday,
184
+            zone:this.zone,
185
+            record_date:this.getTime(now_time)
190 186
           }
191
-          if(this.pre_status == 1){
192
-            var newList = []
193
-            for(let i=0;i<scheduleData.length;i++){
194
-              if(scheduleData.prescription.id > 0){
195
-                 newList.push(scheduleData[i])
187
+      console.log("下周打印时间",params)
188
+        getNextScheduleWeekDay(params).then(rs => {
189
+          var resp = rs.data
190
+          console.log(resp)
191
+          if (resp.state == 1) {
192
+          var scheduleData = resp.data.schedule
193
+
194
+            if(this.pre_status == 0){
195
+                for(let i=0;i<scheduleData.length;i++){
196
+                scheduleData[i].sort = scheduleData[i].number.sort
196 197
               }
198
+              var arr =   scheduleData.sort(this.compare('sort'))
199
+            
200
+              this.scheduleData = arr
197 201
             }
198
-            var arr =   newList.sort(this.compare('sort'))
199
-           
200
-            this.scheduleData = arr
201
-          }
202
-
203
-          if(this.pre_status == 2){
204
-            var newList = []
205
-            for(let i=0;i<scheduleData.length;i++){
206
-              if(scheduleData.prescription.id == 0){
207
-                 newList.push(scheduleData[i])
202
+            if(this.pre_status == 1){
203
+              var newList = []
204
+              for(let i=0;i<scheduleData.length;i++){
205
+                if(scheduleData.prescription.id > 0){
206
+                  newList.push(scheduleData[i])
207
+                }
208 208
               }
209
+              var arr =   newList.sort(this.compare('sort'))
210
+            
211
+              this.scheduleData = arr
209 212
             }
210
-            var arr =   newList.sort(this.compare('sort'))
211
-           
212
-            this.scheduleData = arr
213
+
214
+            if(this.pre_status == 2){
215
+              var newList = []
216
+              for(let i=0;i<scheduleData.length;i++){
217
+                if(scheduleData.prescription.id == 0){
218
+                  newList.push(scheduleData[i])
219
+                }
220
+              }
221
+              var arr =   newList.sort(this.compare('sort'))
213 222
             
223
+              this.scheduleData = arr
224
+              
225
+            }
226
+            this.loading = false
227
+          } else {
228
+            this.$message.error(resp.msg)
214 229
           }
215
-          this.loading = false
216
-        } else {
217
-          this.$message.error(resp.msg)
218
-        }
219
-      }).catch(err => {
220
-        this.$message.error(err)
221
-      })
230
+        }).catch(err => {
231
+          this.$message.error(err)
232
+        })
222 233
 
223
-    
224
-    },
225
-    methods: {
234
+      },
235
+   
226 236
       getAdvice:function(doctor_advice) {
227 237
         if (doctor_advice != null) {
228 238
 

+ 7 - 1
src/xt_pages/workforce/remind_print_setting.vue View File

@@ -501,6 +501,9 @@
501 501
          }
502 502
       })
503 503
      },
504
+     getTimestamp(time) { //把时间日期转成时间戳
505
+        return (new Date(time)).getTime()
506
+    },
504 507
     getNextScheduleWeekDay() {
505 508
         const start = moment().weekday(1).format('YYYY-MM-DD'); //本周一
506 509
         const end = moment().weekday(7).format('YYYY-MM-DD')
@@ -517,7 +520,10 @@
517 520
         // if(zone != 0){
518 521
         //   str = zone.join(",")
519 522
         // }
520
-        var now_time = parseInt(this.week_type) * 86400 + this.start_time
523
+        // var now_time = parseInt(this.week_type) * 86400 + this.start_time
524
+        let weekOfDay = parseInt(moment().format('E'))
525
+        let next_monday = moment().add((7 - weekOfDay) + 1, 'days').format('YYYY-MM-DD');
526
+        var now_time = parseInt(this.week_type - 1)*86400 + (this.getTimestamp(next_monday)/1000 -28800)
521 527
         const params = {
522 528
           start_time:moment().week(moment().week() + 1).startOf('week').unix(),
523 529
           end_time:moment().week(moment().week() + 1).endOf('week').unix(),

+ 8 - 1
src/xt_pages/workforce/remind_print_setting_one.vue View File

@@ -154,7 +154,7 @@
154 154
                     <span>上次脱水量:{{ main_collection.prescription.target_ultrafiltration }}ml</span>
155 155
                 </div>
156 156
                 <div class="printCell" v-if="org_id==9671 || org_id==9675 || org_id==10340">
157
-                    <span>上次透析时长:{{ main_collection.lastafterweight.actual_treatment_hour }}小时{{ main_collection.lastafterweight.actual_treatment_minute }}分钟</span>
157
+                    <span v-if="main_collection.lastafterweight!=undefined">上次透析时长:{{ main_collection.lastafterweight.actual_treatment_hour }}小时{{ main_collection.lastafterweight.actual_treatment_minute }}分钟</span>
158 158
                 </div>
159 159
                 <div class="printCell">身份证:
160 160
                     <span v-if="type ==1">{{main_collection.patient.id_card_no}} </span>
@@ -498,6 +498,12 @@
498 498
         // if(zone != 0){
499 499
         //   str = zone.join(",")
500 500
         // }
501
+        const loading = this.$loading({
502
+          lock: true,
503
+          text: "加载中...",
504
+          spinner: "el-icon-loading",
505
+          background: "rgba(0, 0, 0, 0.7)"
506
+        });
501 507
         var now_time = parseInt(this.week_type) * 86400 + this.start_time
502 508
 
503 509
         const weekOfDay = parseInt(moment().format('E'))
@@ -524,6 +530,7 @@
524 530
         getNextScheduleWeekDayOne(params).then(response => {
525 531
           this.scheduleData = []
526 532
           if (response.data.state == 1) {
533
+            loading.close()
527 534
             var scheduleData = response.data.data.schedule
528 535
 
529 536
             for (let i = 0; i < scheduleData.length; i++) {