浏览代码

贫困生管理、会员推广记录、会员充值记录页面修改bug

hzj18279462576@163.com 7 月之前
父节点
当前提交
0208022bc6
共有 2 个文件被更改,包括 16 次插入8 次删除
  1. 1 1
      src/views/coupon/memberRecharge.vue
  2. 15 7
      src/views/shopsList/shopsList.vue

+ 1 - 1
src/views/coupon/memberRecharge.vue

@@ -89,7 +89,7 @@
       <el-table-column prop="userName" label="用户名"> </el-table-column>
       <el-table-column prop="userPhone" label="手机号码"> </el-table-column>
       <el-table-column prop="payAmount" label="充值金额"> </el-table-column>
-      <el-table-column prop="promoCodeId" label="推广码"> </el-table-column>
+      <el-table-column prop="promoCode" label="推广码"> </el-table-column>
       <el-table-column prop="stationName" label="是否暖心用户">
         <template slot-scope="scope">
           <span v-if="scope.row.payType == 3">是</span>

+ 15 - 7
src/views/shopsList/shopsList.vue

@@ -2814,16 +2814,24 @@ export default {
         }
       }
       this.$http({
+        // url: this.$http.adornUrl(
+        //   `admin/shop/updateShopCashDeposit?shopId=` +
+        //     this.shopId +
+        //     "&money=" +
+        //     this.money +
+        //     "&type=" +
+        //     this.type
+        // ),
         url: this.$http.adornUrl(
-          `admin/shop/updateShopCashDeposit?shopId=` +
-            this.shopId +
-            "&money=" +
-            this.money +
-            "&type=" +
-            this.type
+          `admin/shop/updateShopCashDeposit`
         ),
         method: "get",
-        data: this.$http.adornData({})
+        data: this.$http.adornData({}),
+        params: this.$http.adornParams({
+          shopId: this.shopId,
+          money: this.money,
+          type: this.type
+        })
       }).then(({ data }) => {
         if (data.code == 0) {
           this.$message({