新版交易所前段管理后台
1
2026-05-29 8fe6e8a284b18a526ce689ad7b40d94be0495341
1
2 files modified
24 ■■■■ changed files
src/views/modules/recharge/address.vue 6 ●●●● patch | view | raw | blame | history
src/views/modules/recharge/finance-add-or-update.vue 18 ●●●●● patch | view | raw | blame | history
src/views/modules/recharge/address.vue
@@ -51,9 +51,9 @@
      this.dataListLoading = true;
      this.$http({
        //  url: this.$http.adornUrl("/address/list"),
        url: this.$http.adornUrl("/address/getUDList"),
        method: "get",
         url: this.$http.adornUrl("/address/list"),
        // url: this.$http.adornUrl("/address/getUDList"),
        method: "post",
        params,
      }).then(({ data }) => {
        this.dataList = data.data || [];
src/views/modules/recharge/finance-add-or-update.vue
@@ -7,9 +7,9 @@
      <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>
@@ -41,10 +41,10 @@
            { required: true, message: '地址不能为空', trigger: 'blur' },
            {  message: '请输入正确的地址', trigger: 'blur' }
          ],
          password: [
            { required: true, message: '加密密码不能为空', trigger: 'blur' },
            { message: '请输入正确的加密密码', trigger: 'blur' }
          ],
          // password: [
          //   { required: true, message: '加密密码不能为空', trigger: 'blur' },
          //   { message: '请输入正确的加密密码', trigger: 'blur' }
          // ],
        },
        tempKey: -666666 // 临时key, 用于解决tree半选中状态项不能传给后台接口问题. # 待优化
      }
@@ -56,6 +56,7 @@
          this.dataForm.password = item.password
          this.dataForm.coin = item.coin
          this.dataForm.chain = item.blockchain_name
      this.dataForm.id = item.uuid
      },
      // 表单提交
      dataFormSubmit: Debounce(function () {
@@ -66,9 +67,10 @@
              method: 'post',
              data: this.$http.adornData({
                'coin': this.dataForm.coin,
                'chain': this.dataForm.chain,
                'blockchainName': this.dataForm.chain,
                'address': this.dataForm.address,
                'password':this.dataForm.password,
                // 'password':this.dataForm.password,
                'id':this.dataForm.id,
              })
            }).then(({data}) => {
              if(data.code==0){