From bfd4f0e5ac1c8da2b997c2fee7738e9f4bb976da Mon Sep 17 00:00:00 2001
From: dcc <dcc@163.com>
Date: Wed, 10 Jul 2024 17:47:15 +0800
Subject: [PATCH] 涨停板审核

---
 src/views/vip/components/VIPScramble-hold.vue |   13 ++++++-------
 1 files changed, 6 insertions(+), 7 deletions(-)

diff --git a/src/views/vip/components/VIPScramble-hold.vue b/src/views/vip/components/VIPScramble-hold.vue
index e86697a..802a051 100644
--- a/src/views/vip/components/VIPScramble-hold.vue
+++ b/src/views/vip/components/VIPScramble-hold.vue
@@ -374,11 +374,9 @@
       })
     },
     geteditStock(val) {
-      console.log(val);
       this.currentdetail = val
       this.Lockvisibledialog = true
       this.fields.forEach((v) => this.addUserform.getFieldDecorator(v))
-      console.log(this.fields);
       this.addUserform.setFieldsValue(pick(val, this.fields))
     },
     getLockopen(val) {
@@ -422,7 +420,7 @@
         console.log(values);
         if (!errors) {
           if (this.currentdetail != '') {
-            this.Lockvisibledialog = true
+            this.Lockvisibleloading = true
             values.id = this.currentdetail.id
 
             // values.subscriptionTime = this.subscriptionTime
@@ -437,10 +435,10 @@
               } else {
                 this.$message.error(res.msg)
               }
-              this.Lockvisibledialog = false
+              this.Lockvisibleloading = false
             })
           } else {
-            this.addUserDialogloading = true
+            this.Lockvisibleloading = true
             sitevipAdd(values).then((res) => {
               if (res.status == 0) {
                 this.Lockvisibledialog = false
@@ -450,7 +448,7 @@
               } else {
                 this.$message.error(res.msg)
               }
-              this.addUserDialogloading = false
+              this.Lockvisibleloading = false
             })
           }
         }
@@ -462,6 +460,7 @@
       form.validateFields((errors, values) => {
         if (!errors) {
           values.id = this.details.id
+          this.keyvisibleloading = true
           setupdate(values).then((res) => {
               if (res.status == 0) {
                 this.visibledialog = false
@@ -471,7 +470,7 @@
               } else {
                 this.$message.error(res.msg)
               }
-              this.visibledialog = false
+              this.keyvisibleloading = false
             })
         }
       })

--
Gitblit v1.9.3