XMLWAN 3 年前
父节点
当前提交
9d4b37333e
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. 4 0
      src/xt_pages/user/templateSummary.vue

+ 4 - 0
src/xt_pages/user/templateSummary.vue 查看文件

919
         start_date: moment(new Date()).startOf("month").format("YYYY-MM-DD"),
919
         start_date: moment(new Date()).startOf("month").format("YYYY-MM-DD"),
920
         end_date: moment(new Date()).endOf('month').format("YYYY-MM-DD"),
920
         end_date: moment(new Date()).endOf('month').format("YYYY-MM-DD"),
921
         ids:"",
921
         ids:"",
922
+        lastYear:new moment().subtract(1,'months').date(1).format("YYYY-MM-DD"),
922
       }
923
       }
923
     },
924
     },
924
     created() {
925
     created() {
1034
 
1035
 
1035
       },
1036
       },
1036
       changeCurrentRecordTwo(val){
1037
       changeCurrentRecordTwo(val){
1038
+        console.log("val232232",val.id)
1037
         this.form.id = val.id
1039
         this.form.id = val.id
1038
         this.getCurrentRecordDetail(val.id)
1040
         this.getCurrentRecordDetail(val.id)
1039
       },
1041
       },
1147
           var params = {
1149
           var params = {
1148
             other_start_time:this.startYear,
1150
             other_start_time:this.startYear,
1149
             patient_id:this.patient_id,
1151
             patient_id:this.patient_id,
1152
+            last_time:this.lastYear,
1150
           }
1153
           }
1151
          console.log("开始数据",params)
1154
          console.log("开始数据",params)
1152
         getInspectionMajorItem(params).then(response=>{
1155
         getInspectionMajorItem(params).then(response=>{
1707
       changeYear(val){
1710
       changeYear(val){
1708
         console.log("val2323323223",val)
1711
         console.log("val2323323223",val)
1709
         this.startYear = val+"-" + "30"
1712
         this.startYear = val+"-" + "30"
1713
+        this.lastYear = val+"-"+"01"
1710
         this.getInspectionMajor()
1714
         this.getInspectionMajor()
1711
       },
1715
       },
1712
       selectSummary(val){
1716
       selectSummary(val){