From a32340336eceec8cf7d7f526d9f9fb83fc2efc5a Mon Sep 17 00:00:00 2001
From: admin <344137771@qq.com>
Date: Thu, 02 Apr 2026 16:48:50 +0800
Subject: [PATCH] 1

---
 src/views/modules/user/mang-fix-update-message.vue |   48 +++++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 47 insertions(+), 1 deletions(-)

diff --git a/src/views/modules/user/mang-fix-update-message.vue b/src/views/modules/user/mang-fix-update-message.vue
index 975acb8..459c8b5 100644
--- a/src/views/modules/user/mang-fix-update-message.vue
+++ b/src/views/modules/user/mang-fix-update-message.vue
@@ -109,6 +109,7 @@
           placeholder="请输入登录人谷歌验证码"
         ></el-input>
       </el-form-item>
+
       <el-form-item
         v-if="isShow == 6"
         label="限制流水"
@@ -120,7 +121,20 @@
           placeholder="0.0"
         ></el-input>
       </el-form-item>
-      <div v-if="isShow == 6" style="margin: 10px; color: #278927">
+
+      <el-form-item label-width="120px"
+        v-if="isShow == 13"
+        label="交割合约赢率"
+        prop="futuresMostPrfitLevel"
+      >
+        <el-input
+          type="number"
+          v-model="dataForm.futuresMostPrfitLevel"
+          placeholder="0.0"
+        ></el-input>
+      </el-form-item>
+
+      <div v-if="isShow == 6 || isShow == 13" style="margin: 10px; color: #278927">
         增加请输入正数,减少请输入负数
       </div>
       <!-- <el-form-item label="原密码" prop="password">
@@ -173,6 +187,7 @@
         googleAuthCode: "", //登录人谷歌验证器
         newSafeword: "", //新资金密码
         withdrawLimitAmount: "", //限制提现流水
+        futuresMostPrfitLevel: "", //交割合约赢率
         password: "",
         newPassword: "",
         confirmPassword: "",
@@ -259,6 +274,7 @@
       this.title = m;
       this.isShow = val;
       this.dataForm.withdrawLimitAmount = this.row.withdrawLimitAmount;
+      this.dataForm.futuresMostPrfitLevel = this.row.futuresMostPrfitLevel;
       this.visible = true;
       this.options.value = this.options[0].value;
       this.optionsTwo.value = this.optionsTwo[0].value;
@@ -293,6 +309,7 @@
         googleAuthCode: "", //登录人谷歌验证器
         newSafeword: "", //新资金密码
         withdrawLimitAmount: "", //限制提现流水
+        futuresMostPrfitLevel: "", //交割合约赢率
         password: "",
         newPassword: "",
         confirmPassword: "",
@@ -530,6 +547,35 @@
                 });
               }
             });
+          }else if (this.isShow == 13) {
+            //设置交割合约赢率
+            this.$http({
+              url: this.$http.adornUrl("/user/updateFuturesMostPrfitLevel"),
+              method: "post",
+              data: this.$http.adornData({
+                futuresMostPrfitLevel: this.dataForm.futuresMostPrfitLevel,
+                userId: this.userId,
+              }),
+            }).then(({ data }) => {
+              if (data.code == 0) {
+                this.$message({
+                  message: "修改成功",
+                  type: "success",
+                  duration: 1000,
+                  onClose: () => {
+                    this.visible = false;
+                    this.$nextTick(() => {
+                      this.$emit("refreshDataList");
+                    });
+                  },
+                });
+              } else {
+                this.$message({
+                  message: data.msg,
+                  type: "error",
+                });
+              }
+            });
           }
         }
       });

--
Gitblit v1.9.3