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
31e205c51c

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

1420
         for (let index = 0; index < this.monitors.length; index++) {
1420
         for (let index = 0; index < this.monitors.length; index++) {
1421
           const monitor = this.monitors[index]
1421
           const monitor = this.monitors[index]
1422
           this.monitors[index].end = ''
1422
           this.monitors[index].end = ''
1423
-          if (Object.keys(monitor).length > 0 && index > 1) {
1423
+          if (Object.keys(monitor).length > 0 && index >= 1) {
1424
             if (this.dialysisOrder && monitor.operate_time == this.dialysisOrder.end_time) {
1424
             if (this.dialysisOrder && monitor.operate_time == this.dialysisOrder.end_time) {
1425
               if(this.org_id != 10233){
1425
               if(this.org_id != 10233){
1426
                 this.monitors[index].end = '【结束透析】回血100ml/min'
1426
                 this.monitors[index].end = '【结束透析】回血100ml/min'
1438
             }
1438
             }
1439
           }
1439
           }
1440
         }
1440
         }
1441
+        
1442
+        console.log('this.monitors',this.monitors)
1441
 
1443
 
1442
         this.jilurow = this.monitors.length + 1
1444
         this.jilurow = this.monitors.length + 1
1443
 
1445
 

+ 2 - 2
src/xt_pages/stock/drugs/cancelDrugStockOrderEdit.vue View File

595
               response.data.data.list[i].count = response.data.data.list[i].count.toString()
595
               response.data.data.list[i].count = response.data.data.list[i].count.toString()
596
               response.data.data.list[i].price = response.data.data.list[i].price.toString()
596
               response.data.data.list[i].price = response.data.data.list[i].price.toString()
597
               response.data.data.list[i].retail_price = response.data.data.list[i].retail_price.toString()
597
               response.data.data.list[i].retail_price = response.data.data.list[i].retail_price.toString()
598
-              response.data.data.list[i].product_date = this.getTime(response.data.data.list[i].product_date)
599
-              response.data.data.list[i].expiry_date = this.getTime(response.data.data.list[i].expiry_date)
598
+              response.data.data.list[i].product_date = this.getTime(response.data.data.list[i].product_date,'{y}-{m}-{d}')
599
+              response.data.data.list[i].expiry_date = this.getTime(response.data.data.list[i].expiry_date,'{y}-{m}-{d}')
600
               response.data.data.list[i].drug_name = response.data.data.list[i].drug.drug_name
600
               response.data.data.list[i].drug_name = response.data.data.list[i].drug.drug_name
601
               response.data.data.list[i].name =  response.data.data.list[i].drug.dose +''+response.data.data.list[i].drug.dose_unit+"*"+response.data.data.list[i].drug.min_number+response.data.data.list[i].drug.min_unit+"/"+response.data.data.list[i].drug.max_unit
601
               response.data.data.list[i].name =  response.data.data.list[i].drug.dose +''+response.data.data.list[i].drug.dose_unit+"*"+response.data.data.list[i].drug.min_number+response.data.data.list[i].drug.min_unit+"/"+response.data.data.list[i].drug.max_unit
602
 
602
 

+ 15 - 24
src/xt_pages/stock/drugs/components/drugOutDetail.vue View File

584
        const tHeader = ['序号','单据编号', '药品类型', '药品名称','规格型号','操作时间','制单人','出货价','数量','总价']
584
        const tHeader = ['序号','单据编号', '药品类型', '药品名称','规格型号','操作时间','制单人','出货价','数量','总价']
585
        const filterVal = ['index','warehouse_out_order_number', 'drugtype', 'drug_name','specification_name','time','user_name','price','count','total_price']
585
        const filterVal = ['index','warehouse_out_order_number', 'drugtype', 'drug_name','specification_name','time','user_name','price','count','total_price']
586
        for(let i=0;i<this.tableData.length;i++){
586
        for(let i=0;i<this.tableData.length;i++){
587
-         this.tableData[i].index = i+1
588
-   
589
-        this.tableData[i].drugtype = this.getTypeList(this.tableData[i].drugtype)
590
-        this.tableData[i].specification_name = this.tableData[i].dose + this.tableData[i].dose_unit +"*" + this.tableData[i].min_number + this.tableData[i].min_unit +  "/" + this.tableData[i].max_unit
591
-        this.tableData[i].time = this.getTime(this.tableData[i].ctime)
592
-        this.tableData[i].user_name = this.getAdminUser(this.tableData[i].creater)
593
-        if(this.org_id == 9671 || this.org_id == 9919){
594
-          this.tableData[i].total = (this.tableData[i].count * this.tableData[i].last_price)
595
-          this.tableData[i].total_price = (this.tableData[i].count * this.tableData[i].last_price)
596
-        }else{
597
-          this.tableData[i].total = (this.tableData[i].count * this.tableData[i].price)
598
-          this.tableData[i].total_price = (this.tableData[i].count * this.tableData[i].price)
599
-        }
587
+         if(this.tableData[i].is_total == 0){
588
+            this.tableData[i].index = i+1
600
       
589
       
601
-       
602
-       }
603
-       let obj = {'index':'合计','total_price':0.00}
604
-       for(let i=0;i<this.tableData.length;i++){
605
-         obj.total_price += this.tableData[i].total
606
-       }
607
-       
608
-       this.tableData.push(obj)
609
-       for(let j=0;j<this.tableData.length;j++){
610
-          this.tableData[j].total_price = this.tableData[j].total_price.toFixed(2)
590
+            this.tableData[i].drugtype = this.getTypeList(this.tableData[i].drugtype)
591
+            this.tableData[i].specification_name = this.tableData[i].dose + this.tableData[i].dose_unit +"*" + this.tableData[i].min_number + this.tableData[i].min_unit +  "/" + this.tableData[i].max_unit
592
+            this.tableData[i].time = this.getTime(this.tableData[i].ctime)
593
+            this.tableData[i].user_name = this.getAdminUser(this.tableData[i].creater)
594
+            if(this.org_id == 9671 || this.org_id == 9919){
595
+              this.tableData[i].total = (this.tableData[i].count * this.tableData[i].last_price)
596
+              this.tableData[i].total_price = (this.tableData[i].count * this.tableData[i].last_price)
597
+            }else{
598
+              this.tableData[i].total = (this.tableData[i].count * this.tableData[i].price)
599
+              this.tableData[i].total_price = (this.tableData[i].count * this.tableData[i].price)
600
+            }
601
+         }
611
        }
602
        }
612
        const data = this.formatJson(filterVal, this.tableData)
603
        const data = this.formatJson(filterVal, this.tableData)
613
        console.log("data",data)
604
        console.log("data",data)
614
-       
605
+     
615
        excel.export_json_to_excel({
606
        excel.export_json_to_excel({
616
            header: tHeader,
607
            header: tHeader,
617
            data,
608
            data,

+ 5 - 4
src/xt_pages/stock/drugs/drugStockOutOrderDetailPrint.vue View File

42
                 <span>{{item.count_unit}}</span>
42
                 <span>{{item.count_unit}}</span>
43
               </td>
43
               </td>
44
               <td style="line-height:50px">
44
               <td style="line-height:50px">
45
-                  {{item.last_price}}
45
+                  {{item.price}}
46
               </td>
46
               </td>
47
              <td  style="line-height:50px">
47
              <td  style="line-height:50px">
48
-                {{(item.count * item.last_price).toFixed(2)}}
48
+                {{(item.count * item.price).toFixed(2)}}
49
              </td>
49
              </td>
50
              <td>{{item.batch_number}}</td>
50
              <td>{{item.batch_number}}</td>
51
              <td>{{(getTime(item.product_date))}}</td>
51
              <td>{{(getTime(item.product_date))}}</td>
52
-             <td>{{(getTime(item.expiry_date))}}</td>
52
+             <td>{{(getTime(item.expire_date))}}</td>
53
             </tr>
53
             </tr>
54
              <tr>
54
              <tr>
55
                <td style="line-height:50px">合计</td>
55
                <td style="line-height:50px">合计</td>
319
             var warehousing = response.data.data.warehousing
319
             var warehousing = response.data.data.warehousing
320
             console.log("ware2232",warehousing)
320
             console.log("ware2232",warehousing)
321
             this.warehouseList = warehousing
321
             this.warehouseList = warehousing
322
+          
322
             for(let i=0;i<info.length;i++){
323
             for(let i=0;i<info.length;i++){
323
                info[i].child = []
324
                info[i].child = []
324
               for(let j=0;j<warehousing.length;j++){
325
               for(let j=0;j<warehousing.length;j++){
341
         var count = 0
342
         var count = 0
342
         for(let i=0;i<this.warehouseList.length;i++){
343
         for(let i=0;i<this.warehouseList.length;i++){
343
           if(id == this.warehouseList[i].warehouse_out_id){
344
           if(id == this.warehouseList[i].warehouse_out_id){
344
-             count +=this.warehouseList[i].count * this.warehouseList[i].last_price
345
+             count +=this.warehouseList[i].count * this.warehouseList[i].price
345
           }
346
           }
346
         }
347
         }
347
         return count
348
         return count

+ 11 - 2
src/xt_pages/stock/stockDamaged.vue View File

57
         </el-table-column>
57
         </el-table-column>
58
         <el-table-column prop="date" label="总报损金额"  align="center">
58
         <el-table-column prop="date" label="总报损金额"  align="center">
59
           <template  slot-scope="scope">
59
           <template  slot-scope="scope">
60
-            {{scope.row.count}}
60
+            {{getAllDamageCount(scope.row.good_id,scope.row.buy_price)}}
61
             </template>    
61
             </template>    
62
         </el-table-column>
62
         </el-table-column>
63
         <el-table-column prop="name" label="操作"  align="center">
63
         <el-table-column prop="name" label="操作"  align="center">
645
        getReportStockList(params).then(response=>{
645
        getReportStockList(params).then(response=>{
646
           if(response.data.state == 1){
646
           if(response.data.state == 1){
647
             var list = response.data.data.list
647
             var list = response.data.data.list
648
-     
648
+            console.log("报损金额22222",list)
649
             this.total = response.data.data.total
649
             this.total = response.data.data.total
650
             this.tableList = list
650
             this.tableList = list
651
            var doctorlist = response.data.data.doctorlist
651
            var doctorlist = response.data.data.doctorlist
749
         }
749
         }
750
         return count
750
         return count
751
       },
751
       },
752
+      getAllDamageCount(good_id,price){
753
+        var count = 0
754
+        for(let i=0;i<this.damageList.length;i++){
755
+          if(good_id == this.damageList[i].good_id){
756
+             count = this.damageList[i].count
757
+          }
758
+        }
759
+        return (count * price).toFixed(2)
760
+      },
752
       changeReason(val){
761
       changeReason(val){
753
         this.form.type = val
762
         this.form.type = val
754
         this.toDamagedDetail(this.good_id)
763
         this.toDamagedDetail(this.good_id)

+ 34 - 35
src/xt_pages/user/hospitalSummaryPrint.vue View File

1
 <template>
1
 <template>
2
 <div>
2
 <div>
3
-  <div style="float:right">
3
+  <div style="float:right;margin-right:10px">
4
     <el-button type="primary" size="small" @click="printThisPage">打印</el-button> 
4
     <el-button type="primary" size="small" @click="printThisPage">打印</el-button> 
5
   </div>
5
   </div>
6
   <div id="dialysis-print-box">
6
   <div id="dialysis-print-box">
11
       <div>
11
       <div>
12
         <table class="print-table" border="1" style="margin-top: 10px;">
12
         <table class="print-table" border="1" style="margin-top: 10px;">
13
           <tr>
13
           <tr>
14
-            <td style="text-align:center;width:50px" colspan="1">
14
+            <td style="text-align:center;width:200px" colspan="1">
15
               姓名:
15
               姓名:
16
             </td>
16
             </td>
17
-             <td style="text-align:center;width:50px" colspan="1">
17
+             <td style="text-align:center;width:200px" colspan="1">
18
               <span style="display:inline-block;margin-left:10px;">
18
               <span style="display:inline-block;margin-left:10px;">
19
                {{patient.name}}
19
                {{patient.name}}
20
               </span>
20
               </span>
21
             </td>
21
             </td>
22
-            <td style="text-align:center;width:50px" colspan="1">
22
+            <td style="text-align:center;width:200px" colspan="1">
23
               性别:
23
               性别:
24
             </td>
24
             </td>
25
-             <td style="text-align:center;width:50px" colspan="1">
25
+             <td style="text-align:center;width:200px" colspan="1">
26
               <span style="display:inline-block;margin-left:10px;">
26
               <span style="display:inline-block;margin-left:10px;">
27
                 <span v-if="patient.gender == 1">男</span>
27
                 <span v-if="patient.gender == 1">男</span>
28
                 <span v-if="patient.gender == 2">女</span>
28
                 <span v-if="patient.gender == 2">女</span>
29
               </span>
29
               </span>
30
             </td>
30
             </td>
31
-            <td style="text-align:center;width:50px" colspan="1">
31
+            <td style="text-align:center;width:100px" colspan="1">
32
               年龄:
32
               年龄:
33
             </td>
33
             </td>
34
             <td style="text-align:center;width:50px" colspan="1">
34
             <td style="text-align:center;width:50px" colspan="1">
36
                  {{getNewAge(patient.id_card_no)}}
36
                  {{getNewAge(patient.id_card_no)}}
37
               </span>
37
               </span>
38
             </td>
38
             </td>
39
-            <td style="text-align:center;width:50px" colspan="1">
39
+            <td style="text-align:center;width:100px" colspan="1">
40
               婚姻:
40
               婚姻:
41
             </td>
41
             </td>
42
-             <td style="text-align:center;width:50px" colspan="1">
42
+             <td style="text-align:center;width:100px" colspan="1">
43
               <span style="display:inline-block;margin-left:10px;">
43
               <span style="display:inline-block;margin-left:10px;">
44
-                 <span v-if="patient.marital_status == 0">未婚</span>
45
-                 <span v-if="patient.marital_status == 1">婚</span>
46
-                 <span v-if="patient.marital_status == 2">婚</span>
44
+                 <span v-if="patient.marital_status == 0"></span>
45
+                 <span v-if="patient.marital_status == 1">婚</span>
46
+                 <span v-if="patient.marital_status == 2">婚</span>
47
                  <span v-if="patient.marital_status == 3">离异</span>
47
                  <span v-if="patient.marital_status == 3">离异</span>
48
                  <span v-if="patient.marital_status == 4">丧偶</span>
48
                  <span v-if="patient.marital_status == 4">丧偶</span>
49
               </span>
49
               </span>
50
             </td>
50
             </td>
51
-             <td style="text-align:center;width:50px" colspan="1">
51
+             <td style="text-align:center;width:200px" colspan="1">
52
               职业: 
52
               职业: 
53
             </td>
53
             </td>
54
-             <td style="text-align:center;width:50px" colspan="1">
54
+             <td style="text-align:center;width:100px" colspan="1">
55
               <span style="display:inline-block;margin-left:10px;">
55
               <span style="display:inline-block;margin-left:10px;">
56
                {{getProfession(patient.profession)?getProfession(patient.profession):''}}
56
                {{getProfession(patient.profession)?getProfession(patient.profession):''}}
57
               </span>
57
               </span>
58
             </td>
58
             </td>
59
-             <td style="text-align:center;width:50px" colspan="1">
59
+             <td style="text-align:center;width:300px" colspan="1">
60
               电话:
60
               电话:
61
             </td>
61
             </td>
62
-             <td style="text-align:center;width:50px" colspan="1">
62
+             <td style="text-align:center;width:100px" colspan="1">
63
               <span style="display:inline-block;margin-left:10px;">
63
               <span style="display:inline-block;margin-left:10px;">
64
                 {{patient.phone}}
64
                 {{patient.phone}}
65
               </span>
65
               </span>
67
           </tr>
67
           </tr>
68
 
68
 
69
           <tr>
69
           <tr>
70
-            <td style="text-align:center;" colspan="1">
70
+            <td style="text-align:center;width:100px" colspan="1">
71
               住址:
71
               住址:
72
             </td>   
72
             </td>   
73
-            <td style="text-align:center;" colspan="11">
73
+            <td style="text-align:center;width:500px" colspan="12">
74
             
74
             
75
               <span style="display:inline-block;margin-left:10px;">
75
               <span style="display:inline-block;margin-left:10px;">
76
                 {{patient.home_address}}
76
                 {{patient.home_address}}
78
             </td>   
78
             </td>   
79
           </tr>
79
           </tr>
80
           <tr>
80
           <tr>
81
-            <td style="text-align:center;width:170px" colspan="1">
81
+            <td style="text-align:center;width:300px" colspan="1">
82
               入院时间:
82
               入院时间:
83
             </td>
83
             </td>
84
-            <td style="text-align:center;width:170px" colspan="2">
84
+            <td style="text-align:center;width:200px" colspan="2">
85
               <span style="display:inline-block;margin-left:10px;">
85
               <span style="display:inline-block;margin-left:10px;">
86
                 {{getTime(hosDetail.admission_time)}}
86
                 {{getTime(hosDetail.admission_time)}}
87
               </span>
87
               </span>
88
             </td>
88
             </td>
89
-            <td style="text-align:center;width:100px" colspan="2">
89
+            <td style="text-align:center;width:250px" colspan="1">
90
               出院时间:
90
               出院时间:
91
             </td>
91
             </td>
92
-            <td style="text-align:center;width:100px" colspan="2">
92
+            <td style="text-align:center;width:250px" colspan="3">
93
               <span style="display:inline-block;margin-left:10px;">
93
               <span style="display:inline-block;margin-left:10px;">
94
                 {{getTime(hosDetail.discharge_time)}}
94
                 {{getTime(hosDetail.discharge_time)}}
95
               </span>
95
               </span>
96
             </td>
96
             </td>
97
-            <td style="text-align:center;width:100px"  colspan="1">
97
+            <td style="text-align:center;width:100px"  colspan="2">
98
               住院天数:
98
               住院天数:
99
             </td>
99
             </td>
100
             <td style="text-align:center;width:50px" colspan="1">
100
             <td style="text-align:center;width:50px" colspan="1">
103
                
103
                
104
               </span>
104
               </span>
105
             </td>
105
             </td>
106
-            <td style="text-align:center;width:50px" colspan="2">
106
+            <td style="text-align:center;width:50px" colspan="1">
107
               转归:
107
               转归:
108
-            
109
             </td>
108
             </td>
110
             <td style="text-align:center;width:50px" colspan="1">
109
             <td style="text-align:center;width:50px" colspan="1">
111
               <span style="display:inline-block;margin-left:10px;">
110
               <span style="display:inline-block;margin-left:10px;">
119
             <td style="text-align:center;width:50px" colspan="1">
118
             <td style="text-align:center;width:50px" colspan="1">
120
               检查号:
119
               检查号:
121
             </td>
120
             </td>
122
-            <td style="text-align:center;width:50px" colspan="2">
121
+            <td style="text-align:center;width:50px" colspan="1">
123
               X线:
122
               X线:
124
             </td>
123
             </td>
125
-            <td style="text-align:center;width:50px" colspan="1">
124
+            <td style="text-align:center;width:50px" colspan="2">
126
               <span style="display:inline-block;margin-left:10px;">
125
               <span style="display:inline-block;margin-left:10px;">
127
                 {{hosDetail.xray}}
126
                 {{hosDetail.xray}}
128
               </span>
127
               </span>
143
                 {{hosDetail.nuclear_magnetic_resonance}}
142
                 {{hosDetail.nuclear_magnetic_resonance}}
144
               </span>
143
               </span>
145
             </td>
144
             </td>
146
-             <td style="text-align:center;width:50px" colspan="1">
145
+             <td style="text-align:center;width:100px" colspan="1">
147
               超声:
146
               超声:
148
             </td>
147
             </td>
149
-             <td style="text-align:center;width:50px" colspan="1">
148
+             <td style="text-align:center;width:100px" colspan="1">
150
               <span style="display:inline-block;margin-left:10px;">
149
               <span style="display:inline-block;margin-left:10px;">
151
                 {{hosDetail.ultrasound}}
150
                 {{hosDetail.ultrasound}}
152
               </span>
151
               </span>
161
             </td>
160
             </td>
162
           </tr>
161
           </tr>
163
           <tr>
162
           <tr>
164
-            <td style="text-align:center;" colspan="1">
163
+            <td style="text-align:center;width:300px" colspan="1">
165
               入院诊断:
164
               入院诊断:
166
               <span style="display:inline-block;margin-left:10px;">
165
               <span style="display:inline-block;margin-left:10px;">
167
                
166
                
174
             </td>   
173
             </td>   
175
           </tr>
174
           </tr>
176
           <tr>
175
           <tr>
177
-            <td style="text-align:center;width:170px" colspan="1">
176
+            <td style="text-align:center;width:300px" colspan="1">
178
               出院诊断:
177
               出院诊断:
179
             </td>
178
             </td>
180
              <td style="text-align:center;width:170px" colspan="11">
179
              <td style="text-align:center;width:170px" colspan="11">
186
             
185
             
187
           </tr>
186
           </tr>
188
            <tr>
187
            <tr>
189
-            <td style="text-align:center;width:170px" colspan="1">
188
+            <td style="text-align:center;width:300px" colspan="1">
190
               入院时病情:
189
               入院时病情:
191
             </td>
190
             </td>
192
            <td style="text-align:center;width:170px" colspan="11">
191
            <td style="text-align:center;width:170px" colspan="11">
199
           </tr>
198
           </tr>
200
         
199
         
201
           <tr>
200
           <tr>
202
-            <td style="text-align:center;width:170px" colspan="1">
201
+            <td style="text-align:center;width:300px" colspan="1">
203
               诊断经过:
202
               诊断经过:
204
            
203
            
205
             </td>
204
             </td>
224
             
223
             
225
           </tr>
224
           </tr>
226
           <tr>
225
           <tr>
227
-            <td style="text-align:center;width:170px" colspan="1">
226
+            <td style="text-align:center;width:300px" colspan="1">
228
               出院医嘱:
227
               出院医嘱:
229
             </td>
228
             </td>
230
             <td style="text-align:center;width:170px" colspan="11">
229
             <td style="text-align:center;width:170px" colspan="11">
383
       var name = ""
382
       var name = ""
384
       for(let i=0;i<this.educationOptions.length;i++){
383
       for(let i=0;i<this.educationOptions.length;i++){
385
           if(id == this.educationOptions[i].id){
384
           if(id == this.educationOptions[i].id){
386
-              name = this.educationOptions[i].name
385
+           name = this.educationOptions[i].name
387
           }
386
           }
388
       }
387
       }
389
       return name
388
       return name
396
   },
395
   },
397
  
396
  
398
   created() {
397
   created() {
399
-    this.educationOptions = getDataConfig("patient", "education_types");
398
+    this.educationOptions = getDataConfig("patient", "profession_options");
400
     var xtuser = this.$store.getters.xt_user
399
     var xtuser = this.$store.getters.xt_user
401
     this.orgname = xtuser.org.org_name
400
     this.orgname = xtuser.org.org_name
402
     var id = this.$route.query.id
401
     var id = this.$route.query.id

+ 7 - 2
src/xt_pages/workforce/next_remind_print.vue View File

14
         </el-col>
14
         </el-col>
15
       </el-row>
15
       </el-row>
16
     </div>
16
     </div>
17
-    <div class="app-container" style="background-color: white;">
17
+    <div class="app-container" style="background-color: white;"  v-loading="loading"
18
+      element-loading-text="加载中">
18
       <div id="print_content">
19
       <div id="print_content">
19
         <div class="print_main_content">
20
         <div class="print_main_content">
20
           <div class="order_title_panl">
21
           <div class="order_title_panl">
137
         now_time:0,
138
         now_time:0,
138
         zone:"",
139
         zone:"",
139
         pre_status:0,
140
         pre_status:0,
140
-        printObj:{}
141
+        printObj:{},
142
+        loading: false,
141
       }
143
       }
142
     },
144
     },
143
     components: {
145
     components: {
156
       this.week_time  = this.$route.query.week_time
158
       this.week_time  = this.$route.query.week_time
157
       this.zone = this.$route.query.zone
159
       this.zone = this.$route.query.zone
158
       this.pre_status = this.$route.query.prestatus
160
       this.pre_status = this.$route.query.prestatus
161
+      this.loading = true;
159
       const params = {
162
       const params = {
160
           week_type:this.week_type,
163
           week_type:this.week_type,
161
           week_time:this.week_time,
164
           week_time:this.week_time,
178
         var resp = rs.data
181
         var resp = rs.data
179
         console.log(resp)
182
         console.log(resp)
180
         if (resp.state == 1) {
183
         if (resp.state == 1) {
184
+        this.loading = false
181
          var scheduleData = resp.data.schedule
185
          var scheduleData = resp.data.schedule
182
 
186
 
183
           if(this.pre_status == 0){
187
           if(this.pre_status == 0){
210
             var arr =   newList.sort(this.compare('sort'))
214
             var arr =   newList.sort(this.compare('sort'))
211
             console.log("打印",arr)
215
             console.log("打印",arr)
212
             this.scheduleData = arr
216
             this.scheduleData = arr
217
+           
213
           }
218
           }
214
         } else {
219
         } else {
215
           this.$message.error(resp.msg)
220
           this.$message.error(resp.msg)