From 9c376c3c54702b872ad690055c7bac16b64e817c Mon Sep 17 00:00:00 2001
From: yz3456 <2753272399@qq.com>
Date: 星期一, 01 七月 2024 18:13:23 +0800
Subject: [PATCH] 完成了直播roomId的添加,完成了家庭小医生分享模块

---
 ruoyi-ui/src/views/secret/secretInfo.vue |   69 +++++++++++++++++++++++++++++-----
 1 files changed, 59 insertions(+), 10 deletions(-)

diff --git a/ruoyi-ui/src/views/secret/secretInfo.vue b/ruoyi-ui/src/views/secret/secretInfo.vue
index c3d9a85..eb150cb 100644
--- a/ruoyi-ui/src/views/secret/secretInfo.vue
+++ b/ruoyi-ui/src/views/secret/secretInfo.vue
@@ -355,6 +355,7 @@
         this.loading = true;
         getSecretInfo({id}).then((response) => {
           _this.formData = response.data;
+          console.log(_this.formData,'123')
           if(_this.formData.isFinger==1)
             _this.formData.isFinger = '鏄�'
           else
@@ -546,17 +547,17 @@
               });
             } else {
               if(this.formData.isFinger==1)
-                     this.formData.isFinger = '鏄�'
-                   else
-                   this.formData.isFinger = '鍚�'
+                this.formData.isFinger = '鏄�'
+              else
+                this.formData.isFinger = '鍚�'
               if(this.formData.isFace==1)
-                     this.formData.isFace = '鏄�'
-                   else
-                   this.formData.isFace = '鍚�'
-                   if(this.formData.isPrivate==0)
-                          this.formData.isPrivate = '鍏湁'
-                        else
-                        this.formData.isPrivate = '绉佹湁'
+                this.formData.isFace = '鏄�'
+              else
+                this.formData.isFace = '鍚�'
+              if(this.formData.isPrivate==0)
+                this.formData.isPrivate = '鍏湁'
+              else
+                this.formData.isPrivate = '绉佹湁'
               this.$modal.msgSuccess("淇敼澶辫触");
 
             }
@@ -624,6 +625,18 @@
         	  updateSecret(this.formData).then(response => {
         		this.$modal.msgSuccess("鍒犻櫎鎴愬姛");
         		// this.open = false;
+            if(this.formData.isFinger==1)
+              this.formData.isFinger = '鏄�'
+            else
+              this.formData.isFinger = '鍚�'
+            if(this.formData.isFace==1)
+              this.formData.isFace = '鏄�'
+            else
+              this.formData.isFace = '鍚�'
+            if(this.formData.isPrivate==0)
+              this.formData.isPrivate = '鍏湁'
+            else
+              this.formData.isPrivate = '绉佹湁'
 
         	  });
           }
@@ -680,6 +693,18 @@
 			            this.formData.isPrivate = 1
         	  updateSecret(this.formData).then(response => {
         		this.$modal.msgSuccess("鍒犻櫎鎴愬姛");
+            if(this.formData.isFinger==1)
+              this.formData.isFinger = '鏄�'
+            else
+              this.formData.isFinger = '鍚�'
+            if(this.formData.isFace==1)
+              this.formData.isFace = '鏄�'
+            else
+              this.formData.isFace = '鍚�'
+            if(this.formData.isPrivate==0)
+              this.formData.isPrivate = '鍏湁'
+            else
+              this.formData.isPrivate = '绉佹湁'
         	  });
           }
 
@@ -778,6 +803,18 @@
 			            _this.formData.isPrivate = 1
       		    updateSecret(_this.formData).then(response => {
       		      this.$modal.msgSuccess("鏂囨。涓婁紶鎴愬姛");
+                if(this.formData.isFinger==1)
+                  this.formData.isFinger = '鏄�'
+                else
+                  this.formData.isFinger = '鍚�'
+                if(this.formData.isFace==1)
+                  this.formData.isFace = '鏄�'
+                else
+                  this.formData.isFace = '鍚�'
+                if(this.formData.isPrivate==0)
+                  this.formData.isPrivate = '鍏湁'
+                else
+                  this.formData.isPrivate = '绉佹湁'
       		      // this.open = false;
                 this.getData()
                 this.fileListOther1=[]
@@ -840,6 +877,18 @@
                 updateSecret(_this.formData).then(response => {
                   _this.$modal.msgSuccess("鍥剧墖涓婁紶鎴愬姛");
                   // this.open = false;
+                  if(this.formData.isFinger==1)
+                    this.formData.isFinger = '鏄�'
+                  else
+                    this.formData.isFinger = '鍚�'
+                  if(this.formData.isFace==1)
+                    this.formData.isFace = '鏄�'
+                  else
+                    this.formData.isFace = '鍚�'
+                  if(this.formData.isPrivate==0)
+                    this.formData.isPrivate = '鍏湁'
+                  else
+                    this.formData.isPrivate = '绉佹湁'
 
                 });
               // }

--
Gitblit v1.9.1