From 5e169b36f8561078664b42ef4e12cd2d089c0f36 Mon Sep 17 00:00:00 2001
From: quanyawei <401863037@qq.com>
Date: Thu, 21 Dec 2023 10:06:46 +0800
Subject: [PATCH] fix:热力图播放

---
 src/views/dailyreport/index.vue |   10 +++++++---
 1 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/src/views/dailyreport/index.vue b/src/views/dailyreport/index.vue
index 8468f93..1040361 100644
--- a/src/views/dailyreport/index.vue
+++ b/src/views/dailyreport/index.vue
@@ -882,12 +882,16 @@
         upObj.time = this.upTime
         var objJson = JSON.stringify(upObj)
         console.log(objJson, 'objJson')
+        // const formData = new FormData()
+        // formData.append(`objJson`, objJson)
         // ������������
         this.openBox = false
         this.$request({
           url: 'uav/getUavDaily',
+          // data: formData,
           data: { objJson: objJson },
-          method: 'post'
+          method: 'post',
+          contentType: 'application/json'
         }).then(res => {
           this.isDisplay = false
           if (res.code === 0) {
@@ -952,7 +956,7 @@
         this.sailingReport.index = imagesObj.length
         var data2 = obj.date.split('-')
         this.sailingReport.date2 = data2[0] + '���' + data2[1] + '���' + data2[2] + '���'
-        var time = []   
+        var time = []
         for (let i = 0; i < res.data.code.time.length; i++) {
           time.push(res.data.code.time[i])
         }
@@ -969,7 +973,7 @@
         } else {
           this.sailingReport.city = '���������'
         }
-        exportDocx('/sailingReport.docx', this.sailingReport, `${obj.name}.docx`)
+        exportDocx('/sailingReport1.docx', this.sailingReport, `${obj.name}.docx`)
       }).catch(err => {
         console.log(err)
       })

--
Gitblit v1.8.0