From a1c73f2cb7b4b070956b2e19d6ea1a1498d193f9 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Fri, 12 Mar 2021 13:07:07 +0800
Subject: [PATCH] 分销员后台6

---
 zq-erp/src/main/resources/templates/views/admin/fenxiao/fenxiao-apply.html |   13 ++++++++++---
 1 files changed, 10 insertions(+), 3 deletions(-)

diff --git a/zq-erp/src/main/resources/templates/views/admin/fenxiao/fenxiao-apply.html b/zq-erp/src/main/resources/templates/views/admin/fenxiao/fenxiao-apply.html
index 4e3352e..0f2728e 100644
--- a/zq-erp/src/main/resources/templates/views/admin/fenxiao/fenxiao-apply.html
+++ b/zq-erp/src/main/resources/templates/views/admin/fenxiao/fenxiao-apply.html
@@ -107,6 +107,7 @@
                 order:'',
                 sort:''
             },
+            proJbruserValue : "",
             salesGradeList: [],
             height:'calc(100vh - 240px)',
         },
@@ -119,13 +120,19 @@
             addSaleManApply(row){
                 let _this = this;
                 let userId = row.userId;
-                let gradeId = row.salesGrade;
+                let gradeId = row.proJbruserValue;
+                alert(gradeId);
+                let obj = {
+                    userId: userId,
+                    gradeId: gradeId,
+                }
                 AjaxProxy.requst({
                     app: _this,
-                    data:[],
-                    url: basePath + '/fenXiao/fenXiaoUser/addSaleManApply?userId='+userId+'&gradeId='+gradeId,
+                    data:obj,
+                    url: basePath + '/fenXiao/fenXiaoUser/addSaleManApply',
                     callback: function (data) {
                         _this.$message.success(data.info);
+                        this.loadData();
                     }
                 });
             },

--
Gitblit v1.9.1