From 000e2719d57fd6cfc94fb340730ab3722d6c47cb Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Sun, 14 Mar 2021 14:33:14 +0800
Subject: [PATCH] 分销员后台0314
---
zq-erp/src/main/resources/templates/views/admin/fenxiao/fenxiao-apply.html | 31 +++++++++++++++++++++----------
1 files changed, 21 insertions(+), 10 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..8be97f9 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
@@ -40,17 +40,21 @@
</el-row>
<el-row class="table-style" >
-
<el-table id="proj" :data="table.rows" :height="height" stripe @sort-change="sortChange">
<el-table-column
- prop="userId"
- label=""
- width="300">
+ label="会员">
+ <template slot-scope="scope">
+ <img :src="scope.row.avatarUrl" width="40" height="40" class="head_pic"/>
+ {{scope.row.nickname}}
+ </template>
</el-table-column>
<el-table-column
- prop="nickname"
- label="分销员昵称"
- width="180">
+ prop="phone"
+ label="手机号码">
+ </el-table-column>
+ <el-table-column
+ prop="createTime"
+ label="注册时间">
</el-table-column>
<el-table-column
prop="salesGrade"
@@ -107,6 +111,7 @@
order:'',
sort:''
},
+ proJbruserValue : "",
salesGradeList: [],
height:'calc(100vh - 240px)',
},
@@ -119,13 +124,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