Browse Source

10月16日

XMLWAN 3 years ago
parent
commit
f9cd80cd09
1 changed files with 7 additions and 8 deletions
  1. 7 8
      src/xt_pages/user/templateSummary.vue

+ 7 - 8
src/xt_pages/user/templateSummary.vue View File

@@ -900,6 +900,7 @@
900 900
           start_time:"",
901 901
           end_time:"",
902 902
           template_plan_content:"",
903
+          inspect_date:"",
903 904
         },
904 905
         timeType:[
905 906
           {id:1,name:"第一季度"},
@@ -1451,9 +1452,10 @@
1451 1452
            if(response.data.state == 1){
1452 1453
               var list = response.data.data.list
1453 1454
               var inspectlist = response.data.data.inspectlist
1454
-              console.log("inspectlist2322332",list)
1455
+
1456
+              console.log("列表数据",list)
1455 1457
               let arr = this.unique(inspectlist,'project_name')
1456
-              console.log("hhh23h2323223223232323",arr)
1458
+              console.log("内容233323232323223",arr)
1457 1459
               list.template_inspection_content = arr
1458 1460
               this.editObj = list
1459 1461
 
@@ -1530,6 +1532,7 @@
1530 1532
               this.form.anticoagulant = list.anticoagulant
1531 1533
               this.form.autunite = list.autunite
1532 1534
               this.form.befor_pressure = list.befor_pressure
1535
+              this.projectIndate = list.inspect_date
1533 1536
               if( list.befor_weight == 0){
1534 1537
                  this.form.befor_weight = ""
1535 1538
               }else{
@@ -1552,7 +1555,6 @@
1552 1555
                this.form.natrium =list.natrium
1553 1556
                this.form.perfusion_apparatus= list.perfusion_apparatus
1554 1557
                this.form.other_count = list.other_count
1555
-              //  this.form.record_time = this.getTimeTwo(list.record_time)
1556 1558
                console.log("时间232233232",list.record_time)
1557 1559
                if(list.template_inspection_id == 0){
1558 1560
                   list.template_inspection_id = ""
@@ -1573,8 +1575,6 @@
1573 1575
                }else{
1574 1576
                  this.form.template_summary_id = list.template_summary_id
1575 1577
                }
1576
-
1577
-              //  this.projectIndate = list.inspect_date
1578 1578
                this.projectStr = list.project_id
1579 1579
            }
1580 1580
         })
@@ -1633,8 +1633,6 @@
1633 1633
             befor_weight:this.form.befor_weight.toString(),
1634 1634
             after_weight:this.form.after_weight.toString(),
1635 1635
             befor_pressure:this.form.befor_pressure,
1636
-            // template_summary_content:this.form.template_summary_content,
1637
-            // template_plan_content:this.form.template_plan_content,
1638 1636
             template_plan_content:"",
1639 1637
             template_summary_content:this.$refs.edit_neditor.content,
1640 1638
             admin_user_id:this.form.admin_user_id,
@@ -1648,7 +1646,8 @@
1648 1646
             inspect_date:this.projectIndate,
1649 1647
          }
1650 1648
          console.log("parawm232323223",params)
1651
-
1649
+        
1650
+       
1652 1651
         UpdateTemplateSummary(params).then(response=>{
1653 1652
           if(response.data.state == 1){
1654 1653
             var list = response.data.data.list