From fcf1ab7acf2517d4a9884bc785430769b099b064 Mon Sep 17 00:00:00 2001
From: quanyawei <401863037@qq.com>
Date: Tue, 10 Oct 2023 10:29:30 +0800
Subject: [PATCH] fix:风场粒子修改

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

diff --git a/src/views/dailyreport/index.vue b/src/views/dailyreport/index.vue
index aba7a46..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) {
@@ -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)
       })
@@ -1397,7 +1401,6 @@
     },
     // ������������������������upload
     handleChange1(file, fileList) {
-      // console.log(file, fileList)
       this.fileList1 = fileList
       this.fileLists[0] = fileList
     },

--
Gitblit v1.8.0