新版交易所前段管理后台
1
admin
2026-02-01 d841e83acfd09a5c4f455a2cc74c615ac30c049d
1
5 files modified
90 ■■■■ changed files
.env.development 4 ●●●● patch | view | raw | blame | history
.env.production 4 ●●●● patch | view | raw | blame | history
src/views/modules/c2c/c2c-order-other-msg.vue 53 ●●●●● patch | view | raw | blame | history
src/views/modules/recharge/address.vue 12 ●●●● patch | view | raw | blame | history
src/views/modules/recharge/finance-add-or-update.vue 17 ●●●●● patch | view | raw | blame | history
.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/'
.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/'
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>
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",
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){