XMLWAN 3 years ago
parent
commit
03d1289060

+ 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

+ 60 - 31
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() {
@@ -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")
1198
-          }
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")
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
1202 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 = {
@@ -1407,6 +1423,7 @@
1407 1423
         })
1408 1424
       },
1409 1425
       getTemplateSummaryList(){
1426
+        
1410 1427
           var params = {
1411 1428
             patient_id:this.patient_id,
1412 1429
             start_time:this.start_time,
@@ -1859,6 +1876,18 @@
1859 1876
           })
1860 1877
           .catch(() => {
1861 1878
           })
1879
+     },
1880
+     changeRadio(val){
1881
+       if(val == 1){
1882
+         this.showtime = true
1883
+         this.showquarty = false
1884
+         this.getInspectionMajor()
1885
+       }
1886
+       if(val == 2){
1887
+         this.showquarty = true
1888
+         this.showtime = false
1889
+         this.getInspectionMajor()
1890
+       }
1862 1891
      }
1863 1892
 
1864 1893
     },

+ 26 - 0
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"
@@ -611,6 +619,24 @@ export default {
611 619
     changeZone(val){
612 620
       this.zone = val
613 621
       this.getNextScheduleWeekDay()
622
+    },
623
+    signPrint() {
624
+        var zone = this.zone
625
+        var newArr = []
626
+        for(let i=0;i<this.zoneList.length;i++){
627
+           newArr.push(this.zoneList[i].id)
628
+        }
629
+        var arr = newArr.join(",")
630
+        var str = ""
631
+        if(this.zone == 0){
632
+           str = arr  
633
+        }
634
+        if(zone != 0){
635
+          str = zone.join(",")
636
+        }
637
+        this.$router.push({
638
+          path: '/schedule/remind/print/setting?week_type=' + this.week_type + '&week_time=' + this.week_time + '&zone=' + str + '&prestatus=' + this.pre_status
639
+        })
614 640
     }
615 641
   },
616 642
   components: {

+ 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>