From e84e71bda390661a98d2f548d11f3721d2ec110c Mon Sep 17 00:00:00 2001 From: jyy <935090232@qq.com> Date: Fri, 12 Mar 2021 17:30:00 +0800 Subject: [PATCH] 新增申请成为分销员接口10 --- 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