From 0e61d1b9f86009789aff05fc746afc06673ad6b1 Mon Sep 17 00:00:00 2001
From: 李 <344137771@qq.com>
Date: Wed, 29 Apr 2026 14:29:26 +0800
Subject: [PATCH] 1

---
 .env.development                                                 |    4 
 src/crud/user-relation/basics.js                                 |  205 ++++++++++++++++------------
 src/views/modules/user-relation/basics-variety-add-or-update.vue |  160 +++++++++++-----------
 .env.production                                                  |    4 
 4 files changed, 199 insertions(+), 174 deletions(-)

diff --git a/.env.development b/.env.development
index 0081632..390df91 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://blueapi.shenliankeji.top'
+VUE_APP_BASE_API = 'https://api.bingx.cyou'
  # VUE_APP_BASE_API = 'http://192.168.10.6:8086'
 
 # 静态资源文件url
-VUE_APP_RESOURCES_URL = 'https://blueimg.shenliankeji.top/'
+VUE_APP_RESOURCES_URL = 'https://img.bingx.cyou/'
diff --git a/.env.production b/.env.production
index b896aab..988662e 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://blueapi.shenliankeji.top'
+VUE_APP_BASE_API = 'https://api.bingx.cyou'
 
 
 # 静态资源文件url   app端的前端打開下
-VUE_APP_RESOURCES_URL = 'https://blueimg.shenliankeji.top/'
+VUE_APP_RESOURCES_URL = 'https://img.bingx.cyou/'
 
 
diff --git a/src/crud/user-relation/basics.js b/src/crud/user-relation/basics.js
index 909ef99..19730dc 100644
--- a/src/crud/user-relation/basics.js
+++ b/src/crud/user-relation/basics.js
@@ -4,103 +4,128 @@
   border: true,
   selection: false,
   index: false,
-  indexLabel: '序号',
+  indexLabel: "序号",
   stripe: true,
-  menuAlign: 'center',
+  menuAlign: "center",
   menuWidth: 220,
-  searchLabelWidth:120,
-  align: 'center',
+  searchLabelWidth: 120,
+  align: "center",
   refreshBtn: true,
-  searchSize: 'mini',
+  searchSize: "mini",
   addBtn: false,
   editBtn: false,
   delBtn: false,
   viewBtn: false,
-  menu:true,
+  menu: true,
   selection: false,
   props: {
-    label: 'label',
-    value: 'value'
+    label: "label",
+    value: "value",
   },
-  column: [{
-    label: '用户名(查看)',
-    prop: 'userName',
-    search: true,
-  }, {
-    label: 'UID',
-    prop: 'userCode',
-    search: false
-  }, {
-    label: '推荐人',
-    prop: 'recomUserName'
-  }, {
-    label: '证件号码',
-    prop: 'idNumber',
-    search: true,
-  }, {
-    label: '账户类型',
-    prop: 'roleName',
-    search: true,
-    type: 'select',
-    dicData:[{
-      label:'所有账号',
-      value:''
-    },{
-      label:'正式账号',
-      value:'MEMBER'
-    },{
-      label:'演示账号',
-      value:'GUEST'
-    },{
-      label:'试用账号',
-      value:'TEST'
-    }]
-  }, {
-    label: 'last name',
-    prop: 'name'
-  }, {
-    label: 'first Name',
-    prop: 'firstName'
-  }, {
-    label: '生日',
-    prop: 'birth'
-  }, {
-    label: '绑定手机',
-    prop: 'userMobile'
-  }, {
-    label: '绑定邮箱',
-    prop: 'userMail'
-  }, {
-    label: '认证状态',
-    prop: 'status',
-    type: 'select',
-    dicData: [{
-      label: '已申请未审核',
-      value: 0
-    }, {
-      label: '审核中',
-      value: 1
-    }, {
-      label: '审核通过',
-      value: 2
-    }, {
-      label: '未通过',
-      value: 3
-    }]
-  }, {
-    label: '客户提交时间',
-    prop: 'createTime',
-    type: 'datetime',
-    format: "yyyy-MM-dd HH:mm:ss", // 组件展示的日期格式
-    valueFormat:"yyyy-MM-dd HH:mm:ss", // 组件vue值
-  }, {
-    label: '审核操作时间',
-    prop: 'operationTime',
-    type: 'datetime',
-    format: "yyyy-MM-dd HH:mm:ss", // 组件展示的日期格式
-    valueFormat:"yyyy-MM-dd HH:mm:ss", // 组件vue值
-  },{
-    label: '原因',
-    prop: 'msg'
-  },]
-}
+  column: [
+    {
+      label: "用户名(查看)",
+      prop: "userName",
+      search: true,
+    },
+    {
+      label: "UID",
+      prop: "userCode",
+      search: false,
+    },
+    {
+      label: "推荐人",
+      prop: "recomUserName",
+    },
+    {
+      label: "证件号码",
+      prop: "idNumber",
+      search: true,
+    },
+    {
+      label: "账户类型",
+      prop: "roleName",
+      search: true,
+      type: "select",
+      dicData: [
+        {
+          label: "所有账号",
+          value: "",
+        },
+        {
+          label: "正式账号",
+          value: "MEMBER",
+        },
+        {
+          label: "演示账号",
+          value: "GUEST",
+        },
+        {
+          label: "试用账号",
+          value: "TEST",
+        },
+      ],
+    },
+    {
+      label: "姓",
+      prop: "name",
+    },
+    {
+      label: "名",
+      prop: "firstName",
+    },
+    {
+      label: "生日",
+      prop: "birth",
+    },
+    {
+      label: "绑定手机",
+      prop: "userMobile",
+    },
+    {
+      label: "绑定邮箱",
+      prop: "userMail",
+    },
+    {
+      label: "认证状态",
+      prop: "status",
+      type: "select",
+      dicData: [
+        {
+          label: "已申请未审核",
+          value: 0,
+        },
+        {
+          label: "审核中",
+          value: 1,
+        },
+        {
+          label: "审核通过",
+          value: 2,
+        },
+        {
+          label: "未通过",
+          value: 3,
+        },
+      ],
+    },
+    {
+      label: "客户提交时间",
+      prop: "createTime",
+      type: "datetime",
+      format: "yyyy-MM-dd HH:mm:ss", // 组件展示的日期格式
+      valueFormat: "yyyy-MM-dd HH:mm:ss", // 组件vue值
+    },
+    {
+      label: "审核操作时间",
+      prop: "operationTime",
+      type: "datetime",
+      format: "yyyy-MM-dd HH:mm:ss", // 组件展示的日期格式
+      valueFormat: "yyyy-MM-dd HH:mm:ss", // 组件vue值
+    },
+    {
+      label: "原因",
+      prop: "msg",
+    },
+  ],
+};
diff --git a/src/views/modules/user-relation/basics-variety-add-or-update.vue b/src/views/modules/user-relation/basics-variety-add-or-update.vue
index 706bd53..797a743 100644
--- a/src/views/modules/user-relation/basics-variety-add-or-update.vue
+++ b/src/views/modules/user-relation/basics-variety-add-or-update.vue
@@ -19,16 +19,16 @@
       <span>详细信息</span>
       <el-divider></el-divider>
 
-      <el-form-item label="last name" prop="userName" style="width: auto">
+      <el-form-item label="姓" prop="name" style="width: auto">
         <el-input
-          v-model="dataForm.userName"
+          v-model="dataForm.name"
           placeholder=""
           disabled
           style="width: 510px"
         ></el-input>
       </el-form-item>
 
-      <el-form-item label="first Name" prop="firstName" style="width: auto">
+      <el-form-item label="名" prop="firstName" style="width: auto">
         <el-input
           v-model="dataForm.firstName"
           placeholder=""
@@ -73,7 +73,7 @@
         ></el-input>
       </el-form-item>
 
-      <!-- <span>证件照</span>
+      <span>证件照</span>
       <el-divider></el-divider>
       <el-row>
         <el-col :span="8">
@@ -106,7 +106,7 @@
             </el-upload>
           </el-form-item>
         </el-col>
-        <el-col :span="8">
+        <!-- <el-col :span="8">
           <el-form-item label="手持正面照" prop="methodImg">
             <el-upload
               class="avatar-uploader"
@@ -120,8 +120,8 @@
               <i v-else class="el-icon-plus avatar-uploader-icon"></i>
             </el-upload>
           </el-form-item>
-        </el-col>
-      </el-row> -->
+        </el-col> -->
+      </el-row>
     </el-form>
     <span slot="footer" class="dialog-footer">
       <el-button @click="visible = false">关闭</el-button>
@@ -223,75 +223,75 @@
     dataFormSubmit: Debounce(function () {
       this.UpdateProjectBreed();
     }),
-    // handleAvatarSuccess0(res, file) {
-    //   if (res.code == 0) {
-    //     this.dataForm.idFrontImg = URL.createObjectURL(file.raw); //显示地址
-    //     this.dataForm.imgUrl = res.data.path; //接口传递
-    //     this.idFrontImg = this.dataForm.idFrontImg;
-    //     this.idFrontImg1 = this.dataForm.imgUrl;
-    //   } else {
-    //     this.$message({
-    //       message: res.msg,
-    //       type: "error",
-    //       duration: 1500,
-    //       onClose: () => {},
-    //     });
-    //   }
-    // },
-    // beforeAvatarUpload0(file) {
-    //   // const isJPG = file.type === 'image/jpeg';
-    //   const isLt2M = file.size / 1024 / 1024 < 10;
-    //   if (!isLt2M) {
-    //     this.$message.error("上传图片大小不能超过 10MB!");
-    //   }
-    //   return isLt2M;
-    // },
-    // handleAvatarSuccess1(res, file) {
-    //   if (res.code == 0) {
-    //     this.dataForm.idBackImg = URL.createObjectURL(file.raw); //显示地址
-    //     this.dataForm.imgUrl = res.data.path; //接口传递
-    //     this.idBackImg = this.dataForm.idBackImg || "";
-    //     this.idBackImg1 = this.dataForm.imgUrl;
-    //   } else {
-    //     this.$message({
-    //       message: res.msg,
-    //       type: "error",
-    //       duration: 1500,
-    //       onClose: () => {},
-    //     });
-    //   }
-    // },
-    // beforeAvatarUpload1(file) {
-    //   // const isJPG = file.type === 'image/jpeg';
-    //   const isLt2M = file.size / 1024 / 1024 < 10;
-    //   if (!isLt2M) {
-    //     this.$message.error("上传图片大小不能超过 10MB!");
-    //   }
-    //   return isLt2M;
-    // },
-    // handleAvatarSuccess2(res, file) {
-    //   if (res.code == 0) {
-    //     this.dataForm.handheldPhoto = URL.createObjectURL(file.raw); //显示地址
-    //     this.dataForm.imgUrl = res.data.path; //接口传递
-    //     this.handheldPhoto = this.dataForm.handheldPhoto || "";
-    //     this.handheldPhoto1 = this.dataForm.imgUrl;
-    //   } else {
-    //     this.$message({
-    //       message: res.msg,
-    //       type: "error",
-    //       duration: 1500,
-    //       onClose: () => {},
-    //     });
-    //   }
-    // },
-    // beforeAvatarUpload2(file) {
-    //   // const isJPG = file.type === 'image/jpeg';
-    //   const isLt2M = file.size / 1024 / 1024 < 10;
-    //   if (!isLt2M) {
-    //     this.$message.error("上传图片大小不能超过 10MB!");
-    //   }
-    //   return isLt2M;
-    // },
+    handleAvatarSuccess0(res, file) {
+      if (res.code == 0) {
+        this.dataForm.idFrontImg = URL.createObjectURL(file.raw); //显示地址
+        this.dataForm.imgUrl = res.data.path; //接口传递
+        this.idFrontImg = this.dataForm.idFrontImg;
+        this.idFrontImg1 = this.dataForm.imgUrl;
+      } else {
+        this.$message({
+          message: res.msg,
+          type: "error",
+          duration: 1500,
+          onClose: () => {},
+        });
+      }
+    },
+    beforeAvatarUpload0(file) {
+      // const isJPG = file.type === 'image/jpeg';
+      const isLt2M = file.size / 1024 / 1024 < 10;
+      if (!isLt2M) {
+        this.$message.error("上传图片大小不能超过 10MB!");
+      }
+      return isLt2M;
+    },
+    handleAvatarSuccess1(res, file) {
+      if (res.code == 0) {
+        this.dataForm.idBackImg = URL.createObjectURL(file.raw); //显示地址
+        this.dataForm.imgUrl = res.data.path; //接口传递
+        this.idBackImg = this.dataForm.idBackImg || "";
+        this.idBackImg1 = this.dataForm.imgUrl;
+      } else {
+        this.$message({
+          message: res.msg,
+          type: "error",
+          duration: 1500,
+          onClose: () => {},
+        });
+      }
+    },
+    beforeAvatarUpload1(file) {
+      // const isJPG = file.type === 'image/jpeg';
+      const isLt2M = file.size / 1024 / 1024 < 10;
+      if (!isLt2M) {
+        this.$message.error("上传图片大小不能超过 10MB!");
+      }
+      return isLt2M;
+    },
+    handleAvatarSuccess2(res, file) {
+      if (res.code == 0) {
+        this.dataForm.handheldPhoto = URL.createObjectURL(file.raw); //显示地址
+        this.dataForm.imgUrl = res.data.path; //接口传递
+        this.handheldPhoto = this.dataForm.handheldPhoto || "";
+        this.handheldPhoto1 = this.dataForm.imgUrl;
+      } else {
+        this.$message({
+          message: res.msg,
+          type: "error",
+          duration: 1500,
+          onClose: () => {},
+        });
+      }
+    },
+    beforeAvatarUpload2(file) {
+      // const isJPG = file.type === 'image/jpeg';
+      const isLt2M = file.size / 1024 / 1024 < 10;
+      if (!isLt2M) {
+        this.$message.error("上传图片大小不能超过 10MB!");
+      }
+      return isLt2M;
+    },
     UpdateProjectBreed() {
       //start
       this.$refs["dataForm"].validate((valid) => {
@@ -302,8 +302,8 @@
             method: "put",
             data: this.$http.adornData({
               uuid: this.dataForm.uuid,
-              // idFrontImg: this.idFrontImg1,
-              // idBackImg: this.idBackImg1,
+              idFrontImg: this.idFrontImg1,
+              idBackImg: this.idBackImg1,
               // handheldPhoto: this.handheldPhoto1,
             }),
           }).then(({ data }) => {
@@ -343,8 +343,8 @@
         if (data.code == 0) {
           this.dataForm = data.data;
 
-          // this.idFrontImg = this.dataForm.idFrontImg || "";
-          // this.idBackImg = this.dataForm.idBackImg || "";
+          this.idFrontImg = this.dataForm.idFrontImg || "";
+          this.idBackImg = this.dataForm.idBackImg || "";
           // this.handheldPhoto = this.dataForm.handheldPhoto || "";
         } else {
           this.$message({

--
Gitblit v1.9.3