From d841e83acfd09a5c4f455a2cc74c615ac30c049d Mon Sep 17 00:00:00 2001
From: admin <344137771@qq.com>
Date: Sun, 01 Feb 2026 17:57:20 +0800
Subject: [PATCH] 1

---
 .env.development                                     |    4 +-
 src/views/modules/c2c/c2c-order-other-msg.vue        |   53 +++++++++++++++++++++++++-
 .env.production                                      |    4 +-
 src/views/modules/recharge/finance-add-or-update.vue |   17 +++++---
 src/views/modules/recharge/address.vue               |   12 +++---
 5 files changed, 70 insertions(+), 20 deletions(-)

diff --git a/.env.development b/.env.development
index e9b818d..edc2a80 100644
--- a/.env.development
+++ b/.env.development
@@ -4,8 +4,8 @@
 # api接口请求地址
 # VUE_APP_BASE_API = 'https://zhapi.coinbtcs.com'
 # VUE_APP_BASE_API = 'http://192.168.10.7:8085'
-VUE_APP_BASE_API = 'https://api.amcfcxn.org'
+VUE_APP_BASE_API = 'https://api.amcfcxn.one'
 # VUE_APP_BASE_API = 'https://syjysapi.yanshiz.com'
 
 # 静态资源文件url
-VUE_APP_RESOURCES_URL = 'https://sysimg.yanshiz.com/'
+VUE_APP_RESOURCES_URL = 'https://bzimg.amcfcxn.one/'
diff --git a/.env.production b/.env.production
index 1f57622..a9995ac 100644
--- a/.env.production
+++ b/.env.production
@@ -5,10 +5,10 @@
 # VUE_APP_BASE_API = 'https://mini-admin.mall4j.com/apis'
 
 # VUE_APP_BASE_API = 'https://zhapi.coinbtcs.com/aip'
-VUE_APP_BASE_API = 'https://api.amcfcxn.org'
+VUE_APP_BASE_API = 'https://api.amcfcxn.one'
 
 
 # 静态资源文件url   app端的前端打開下
-VUE_APP_RESOURCES_URL = 'hhttps://sysimg.yanshiz.com/'
+VUE_APP_RESOURCES_URL = 'hhttps://bzimg.amcfcxn.one/'
 
 
diff --git a/src/views/modules/c2c/c2c-order-other-msg.vue b/src/views/modules/c2c/c2c-order-other-msg.vue
index ad7da49..c2de195 100644
--- a/src/views/modules/c2c/c2c-order-other-msg.vue
+++ b/src/views/modules/c2c/c2c-order-other-msg.vue
@@ -131,9 +131,18 @@
               <span class="textFigTwo" v-if="roleList.param_value15">{{ roleList.param_value15 }}</span>
             </div>
             <div class="miniTitle" style="margin-top: 20px">
-              <span class="titLeft">支付二维码</span>
+              <span class="titLeft">支付方真实姓名</span>
+
+              <span class="titRight">支付二维码</span>
+
             </div>
-            <div>
+            <div style="display: flex;justify-content: space-between;width: 400px;">
+              <el-input 
+                v-model="payRealName" 
+                placeholder="请输入支付方真实姓名"
+                style="width: 200px;"
+                size="small"
+              ></el-input>
               <img :src="roleList.qrcode" alt="" width="150" height="150" />
             </div>
           </div>
@@ -239,7 +248,7 @@
 
     <span slot="footer" class="dialog-footer">
       <el-button @click="closeDiog()">取消</el-button>
-      <el-button type="primary" @click="closeDiog()">确定</el-button>
+      <el-button type="primary" @click="updatePayRealName()">确定</el-button>
     </span>
      <!-- 取消订单 -->
      <passtpn
@@ -279,6 +288,7 @@
         id: "",
       },
       roleList: [],
+      payRealName: "", // 支付方真实姓名
       page: {
         total: 0, // 总页数
         currentPage: 1, // 当前页数
@@ -336,6 +346,8 @@
       }).then(({ data }) => {
         if (data.code == 0) {
           this.roleList = data.data;
+          // 回显支付方真实姓名
+          this.payRealName = data.data.pay_real_name || "";
         }
       });
     },
@@ -356,6 +368,41 @@
   this.visible = false
   this.$emit('refreshDataList', this.page)
 },
+    // 更新支付方真实姓名
+    updatePayRealName() {
+      this.$http({
+        url: this.$http.adornUrl("/c2cOrder/update"),
+        method: "post",
+        data: this.$http.adornData({
+          order_no: this.dataForm.order_no,
+          pay_real_name: this.payRealName,
+        }),
+      }).then(({ data }) => {
+        if (data.code == 0) {
+          this.$message({
+            message: "操作成功",
+            type: "success",
+            duration: 1500,
+            onClose: () => {
+              this.visible = false;
+              this.$emit('refreshDataList', this.page);
+            },
+          });
+        } else {
+          this.$message({
+            message: data.msg || "操作失败",
+            type: "error",
+            duration: 1500,
+          });
+        }
+      }).catch(() => {
+        this.$message({
+          message: "操作失败",
+          type: "error",
+          duration: 1500,
+        });
+      });
+    },
   },
 };
 </script>
diff --git a/src/views/modules/recharge/address.vue b/src/views/modules/recharge/address.vue
index 0896946..1bcec56 100644
--- a/src/views/modules/recharge/address.vue
+++ b/src/views/modules/recharge/address.vue
@@ -103,20 +103,20 @@
       this.dataListSelections = val;
     },
     // 新增 / 修改
-    addOrUpdateHandle(id) {
+    addOrUpdateHandle(uuid) {
       this.addOrUpdateVisible = true;
       this.$nextTick(() => {
-        this.$refs.addOrUpdate.init(id);
+        this.$refs.addOrUpdate.init(uuid);
       });
     },
     // 删除
-    deleteHandle(id) {
-      var ids = id
-        ? [id]
+    deleteHandle(uuid) {
+      var ids = uuid
+        ? [uuid]
         : this.dataListSelections.map((item) => {
             return item.roleId;
           });
-      this.$confirm(`确定进行[${id ? "删除" : "批量删除"}]操作?`, "提示", {
+      this.$confirm(`确定进行[${uuid ? "删除" : "批量删除"}]操作?`, "提示", {
         confirmButtonText: "确定",
         cancelButtonText: "取消",
         type: "warning",
diff --git a/src/views/modules/recharge/finance-add-or-update.vue b/src/views/modules/recharge/finance-add-or-update.vue
index 37b17a4..ff5028f 100644
--- a/src/views/modules/recharge/finance-add-or-update.vue
+++ b/src/views/modules/recharge/finance-add-or-update.vue
@@ -1,15 +1,15 @@
 <template>
   <el-dialog
-    :title="!dataForm.id ? '新增' : '修改'"
+    :title="!dataForm.uuid ? '新增' : '修改'"
     :close-on-click-modal="false"
     :visible.sync="visible">
     <el-form :model="dataForm" :rules="dataRule" ref="dataForm" @keyup.enter.native="dataFormSubmit()" label-width="80px">
       <el-form-item label="地址" prop="address">
         <el-input v-model="dataForm.address" placeholder="地址"></el-input>
       </el-form-item>
-      <el-form-item label="加密密码" prop="password">
+      <!-- <el-form-item label="加密密码" prop="password">
         <el-input v-model="dataForm.password" placeholder="加密密码"></el-input>
-      </el-form-item>
+      </el-form-item> -->
     </el-form>
     <span slot="footer" class="dialog-footer">
       <el-button @click="visible = false">取消</el-button>
@@ -32,9 +32,10 @@
         },
         dataForm: {
           coin: '',
-		  chain: '',
+		      blockchainName: '',
           address: '',
-          password: ''
+          password: '',
+          uuid: '',
         },
         dataRule: {
           address: [
@@ -55,7 +56,8 @@
 		  this.dataForm.address = item.address
 		  this.dataForm.password = item.password
 		  this.dataForm.coin = item.coin
-		  this.dataForm.chain = item.blockchain_name
+		  this.dataForm.blockchainName = item.blockchain_name
+      this.dataForm.uuid = item.uuid
       },
       // 表单提交
       dataFormSubmit: Debounce(function () {
@@ -66,9 +68,10 @@
               method: 'post',
               data: this.$http.adornData({
                 'coin': this.dataForm.coin,
-                'chain': this.dataForm.chain,
+                'blockchainName': this.dataForm.blockchainName,
                 'address': this.dataForm.address,
                 'password':this.dataForm.password,
+                'id':this.dataForm.uuid,
               })
             }).then(({data}) => {
               if(data.code==0){

--
Gitblit v1.9.3