From 0cb21bc650d8225d77d3bbb353395d3070f9029b Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Sun, 14 Mar 2021 20:32:12 +0800
Subject: [PATCH] 分销员后台0315

---
 zq-erp/src/main/resources/templates/views/admin/fenxiao/fenxiao-user.html |   16 +++++++++-------
 1 files changed, 9 insertions(+), 7 deletions(-)

diff --git a/zq-erp/src/main/resources/templates/views/admin/fenxiao/fenxiao-user.html b/zq-erp/src/main/resources/templates/views/admin/fenxiao/fenxiao-user.html
index 17e7e78..ddfd73b 100644
--- a/zq-erp/src/main/resources/templates/views/admin/fenxiao/fenxiao-user.html
+++ b/zq-erp/src/main/resources/templates/views/admin/fenxiao/fenxiao-user.html
@@ -37,11 +37,11 @@
         <el-row>
             <el-tabs v-model="activeName" >
                 <el-tab-pane label="分销员管理" name="first">
-                    <el-row style="display:flex;align-items: center;">
-                        <el-col>
+                    <el-row >
+                        <el-col :span="6" style="display:flex;align-items: center;">
                             <el-button type="primary" @click="addSaleMan()">新增分销员</el-button>
                         </el-col>
-                        <el-col>
+                        <el-col :span="12" style="display: flex;align-items: center;">
                             <el-form ref="form" :model="form" inline >
                                 <el-form-item label="审核状态" prop="shenheState">
                                     <el-select v-model="form.shenheState" placeholder="请选择">
@@ -63,9 +63,11 @@
                                 <el-form-item prop="userName">
                                     <el-input v-model="form.userName" placeholder="请输入会员姓名"></el-input>
                                 </el-form-item>
-                                <el-button type="primary" @click="search" >搜索</el-button>
-                                <el-button @click="resetForm('form')">重置</el-button>
                             </el-form>
+                        </el-col>
+                        <el-col :span="6" style="display:flex;align-items: center;">
+                            <el-button type="primary" @click="search" >搜索</el-button>
+                            <el-button @click="resetForm('form')">重置</el-button>
                         </el-col>
                     </el-row>
                     <el-row class="table-style" >
@@ -370,9 +372,9 @@
                     url: basePath + '/fenXiao/fenXiaoUser/addFyfa',
                     callback: function (data) {
                         _this.$message.success(data.info);
+                        _this.loadFyfaSetting();
                     }
                 });
-                _this.loadFyfaSetting();
             },
             updateFyfa(row){
                 let _this = this;
@@ -567,7 +569,7 @@
             openUpdateSaleManGrade(row){
                 layer.full(layer.open({
                     type: 2,
-                    title: "修改等级",
+                    title: "查看",
                     maxmin: true,
                     area: [MUI.SIZE_L, '500px'],
                     content : [ basePath + '/admin/redirect/fenxiao/fenxiao-update?userId=' + row.userId+'&applyId='+row.id ]

--
Gitblit v1.9.1