From ad5eea58d5ac15dd08ff51658d717984d098f81e Mon Sep 17 00:00:00 2001
From: feige <feige@qq.com>
Date: 星期四, 07 十二月 2023 16:46:30 +0800
Subject: [PATCH] 标题修改

---
 ruoyi-ui/src/views/bignote/familyeventInfo.vue |   31 ++++++++++++++++---------------
 1 files changed, 16 insertions(+), 15 deletions(-)

diff --git a/ruoyi-ui/src/views/bignote/familyeventInfo.vue b/ruoyi-ui/src/views/bignote/familyeventInfo.vue
index 8063655..43cd819 100644
--- a/ruoyi-ui/src/views/bignote/familyeventInfo.vue
+++ b/ruoyi-ui/src/views/bignote/familyeventInfo.vue
@@ -237,11 +237,11 @@
       this.btn= jd
       this.dsb = !jd
       this.isShow=true
-      document.title = "淇敼澶т簨璁拌缁嗕俊鎭�";
+     // document.title = "淇敼澶т簨璁拌缁嗕俊鎭�";
       this.$route.meta.title = "淇敼澶т簨璁拌缁嗕俊鎭�";//鍒楄〃鐨勫悕绉�
     }
     else{
-      document.title = "瀹跺ぇ浜嬭璇︾粏淇℃伅";
+    //  document.title = "瀹跺ぇ浜嬭璇︾粏淇℃伅";
       this.$route.meta.title = "瀹跺ぇ浜嬭璇︾粏淇℃伅";//鍒楄〃鐨勫悕绉�
       this.btn = false;
       this.isShow=false
@@ -407,22 +407,23 @@
 
       uploadPic(formData).then(response => {
         let pth = response.data.originalFilename.substr(response.data.originalFilename.length-4, response.data.originalFilename.length)
-        this.uploading1= false;
+        _this.uploading1= false;
         console.log(_this.fot.includes(pth))
         // debugger
         if(_this.fot.includes(pth) === true)
         {
           _this.fileList.push({name:response.data.fileName, "url":response.data.url})
-          let ul = this.fileList.map(function (elem){
+          let ul = _this.fileList.map(function (elem){
             return elem.url.replace(process.env.VUE_APP_BASE_TRUE_API,"")
           }).join(",")
-          let uls = this.fileListOther.map(function (elem){
+          let uls = _this.fileListOther.map(function (elem){
             return elem.url.replace(process.env.VUE_APP_BASE_TRUE_API,"")
           }).join(",")
-          this.formData.url = ul+","+uls
-          console.log(this.formData.url)
-          updateFamilyevent(this.formData).then(response => {
-            this.$modal.msgSuccess("鍥剧墖涓婁紶鎴愬姛");
+          _this.formData.url = ul+","+uls
+          console.log(_this.formData.url)
+         // alert(87)
+          updateFamilyevent(_this.formData).then(response => {
+            _this.$modal.msgSuccess("鍥剧墖涓婁紶鎴愬姛");
             // this.open = false;
 
           });
@@ -443,7 +444,7 @@
       this.uploading = true;
       uploadPic(formData).then(response => {
         let pth = response.data.originalFilename.substr(response.data.originalFilename.length-4, response.data.originalFilename.length)
-        this.uploading = false;
+        _this.uploading = false;
         // this.$modal.msgSuccess("涓婁紶鎴愬姛");
         if(_this.fot.includes(pth) === true)
         {
@@ -453,15 +454,15 @@
 
         else{
           _this.fileListOther.push({name:response.data.fileName, url:response.data.url})
-          let ul = this.fileList.map(function (elem){
+          let ul = _this.fileList.map(function (elem){
             return elem.url.replace(process.env.VUE_APP_BASE_TRUE_API,"")
           }).join(",")
-          let uls = this.fileListOther.map(function (elem){
+          let uls = _this.fileListOther.map(function (elem){
             return elem.url.replace(process.env.VUE_APP_BASE_TRUE_API,"")
           }).join(",")
-          this.formData.url = ul+","+uls
-          console.log(this.formData.url)
-          updateFamilyevent(this.formData).then(response => {
+          _this.formData.url = ul+","+uls
+          console.log(_this.formData.url)
+          updateFamilyevent(_this.formData).then(response => {
             this.$modal.msgSuccess("鏂囨。涓婁紶鎴愬姛");
             // this.open = false;
 

--
Gitblit v1.9.1