From 68defbe491894e01c4402922de33c39633fca091 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Tue, 29 Mar 2022 14:25:54 +0800
Subject: [PATCH] 系统名称
---
zq-erp/src/main/resources/templates/views/admin/fenxiao/fenxiao-apply.html | 52 +++++++++++++++++++++++++++++++++-------------------
1 files changed, 33 insertions(+), 19 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..71bded8 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
@@ -28,29 +28,35 @@
</head>
<body>
<div class="panel-body" id="app">
- <el-row style="display:flex;align-items: center;">
- <el-form ref="form" :model="form" inline >
- <el-form-item prop="nickName">
- <el-input v-model="form.nickName" placeholder="请输入会员姓名"></el-input>
- </el-form-item>
+ <el-row style="display:flex;align-items: center;text-align: right;">
+ <el-col>
+ <el-form ref="form" :model="form" inline >
+ <el-form-item prop="nickName">
+ <el-input v-model="form.nickName" placeholder="请输入会员姓名"></el-input>
+ </el-form-item>
- <el-button type="primary" @click="search" >搜索</el-button>
- <el-button @click="resetForm('form')">重置</el-button>
- </el-form>
+ <el-button type="primary" @click="search" >搜索</el-button>
+ <el-button @click="resetForm('form')">重置</el-button>
+ </el-form>
+ </el-col>
</el-row>
- <el-row class="table-style" >
-
+ <el-row class="table-style" style="margin-left: 50px;">
<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 +113,7 @@
order:'',
sort:''
},
+ proJbruserValue : "",
salesGradeList: [],
height:'calc(100vh - 240px)',
},
@@ -119,13 +126,20 @@
addSaleManApply(row){
let _this = this;
let userId = row.userId;
- let gradeId = row.salesGrade;
+ let openId = row.openId;
+ let gradeId = row.proJbruserValue;
+ let obj = {
+ userId: userId,
+ openId: openId,
+ 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