Browse Source

Merge branch 'vue_statistics_branch'

csx 4 years ago
parent
commit
c9ca5e7c16
1 changed files with 4 additions and 1 deletions
  1. 4 1
      src/xt_pages/user/inspection.vue

+ 4 - 1
src/xt_pages/user/inspection.vue View File

@@ -543,6 +543,8 @@ export default {
543 543
                 console.log(this.patient_info.remind_cycle);
544 544
 
545 545
                 this.itemDate = this.form.inspect_date;
546
+                console.log(this.itemDate);
547
+
546 548
                 this.items = [];
547 549
                 for (var index in this.projects) {
548 550
                   if (this.projects[index].project_id == this.form.project_id) {
@@ -668,7 +670,8 @@ export default {
668 670
           if (response.data.state == 1) {
669 671
             var inspections = response.data.data.inspections;
670 672
             this.total = response.data.data.total;
671
-            this.itemDate = response.data.data.date;
673
+            this.itemDate = response.data.data.date.split(" ")[0];
674
+            console.log("1111"+this.itemDate)
672 675
             this.inspections = response.data.data.inspections;
673 676
             if (inspections == null) {
674 677
               this.inspections = [];