| | |
| | | <el-row> |
| | | <el-tabs v-model="activeName" > |
| | | <el-tab-pane label="分销员管理" name="first"> |
| | | <el-row> |
| | | <el-form ref="form" :model="form" inline > |
| | | |
| | | <el-form-item label="交易类型" prop="fenxiaoGrade"> |
| | | <el-select v-model="form.fenxiaoGrade" placeholder="请选择"> |
| | | <el-option |
| | | v-for="item in fenxiaoGradeList" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | |
| | | <el-form-item label="分销员等级" prop="shenheState"> |
| | | <el-select v-model="form.shenheState" placeholder="请选择"> |
| | | <el-option |
| | | v-for="item in shenheStateList" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value"> |
| | | </el-option> |
| | | </el-select> |
| | | </el-form-item> |
| | | |
| | | <el-row style="display:flex;align-items: center;"> |
| | | <el-col> |
| | | <el-button type="primary" @click="submits()">新增分销员</el-button> |
| | | </el-col> |
| | | <el-col style="display:flex;align-items: center;"> |
| | | |
| | | <el-select v-model="fenxiaoGrade" placeholder="分销员等级"> |
| | | <el-option label="初始等级" value="1"></el-option> |
| | | <el-option label="合伙人" value="2"></el-option> |
| | | <el-row style="display:flex;align-items: center;"> |
| | | <el-col> |
| | | <el-button type="primary" @click="submits()">新增分销员</el-button> |
| | | </el-col> |
| | | <el-col> |
| | | <el-form ref="form" :model="form" inline > |
| | | <el-form-item label="审核状态" prop="shenheState"> |
| | | <el-select v-model="form.shenheState" placeholder="请选择"> |
| | | <el-option |
| | | v-for="item in shenheStateList" |
| | | :key="item.value" |
| | | :label="item.label" |
| | | :value="item.value" |
| | | > |
| | | </el-option> |
| | | </el-select> |
| | | <el-button type="primary" @click="search" >搜索</el-button> |
| | | <el-button type="primary" @click="submits()">搜索</el-button> |
| | | <el-button @click="resetForm('form')">重置</el-button> |
| | | </el-col> |
| | | </el-row> |
| | | |
| | | <el-button type="primary" @click="search" >搜索</el-button> |
| | | <el-button @click="resetForm('form')">重置</el-button> |
| | | </el-form> |
| | | </el-form-item> |
| | | <el-button type="primary" @click="search" >搜索</el-button> |
| | | <el-button @click="resetForm('form')">重置</el-button> |
| | | </el-form> |
| | | </el-col> |
| | | </el-row> |
| | | <template> |
| | | <el-table id="proj" :data="fxyList.rows" :height="height" stripe @sort-change="sortChange"> |
| | | <el-table |
| | | ref="multipleTable" |
| | | :data="fxy" |
| | |
| | | width="55"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="name" |
| | | prop="nickname" |
| | | label="分销员姓名" |
| | | width="180"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="name" |
| | | label="分销员姓名" |
| | | width="180"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="name" |
| | | label="邀请人" |
| | | width="180"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="name" |
| | | label="下级客户数" |
| | | width="180"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="name" |
| | | label="累计收益" |
| | | width="180"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="name" |
| | | label="待结算" |
| | | width="180"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="name" |
| | | label="等级" |
| | | width="180"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="date" |
| | | label="加入时间" |
| | | width="180"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="name" |
| | | label="状态" |
| | | width="180"> |
| | | </el-table-column> |
| | | <el-table-column |
| | | prop="name" |
| | | label="来源" |
| | | width="180"> |
| | | </el-table-column> |
| | | <el-table-column |
| | |
| | | <script type="text/javascript" th:src="@{/js/plugin/vue.js}"></script> |
| | | <script type="text/javascript" th:src="@{/plugin/element-ui/index.js}"></script> |
| | | <script type="text/javascript" th:src="@{/js/systools/MJsBase.js}"></script> |
| | | <script type="text/javascript" th:src="@{/plugin/layer/layer.js}"></script> |
| | | <script type="text/javascript" th:src="@{/plugin/moment.min.js}"></script> |
| | | |
| | | <script> |
| | | //百度编辑器 |
| | |
| | | el: '#app', |
| | | data: { |
| | | fxy:[], |
| | | shenheState: "", |
| | | fenxiaoGrade: "", |
| | | tableData:[], |
| | | tgwa: "", |
| | |
| | | mdjf:[], |
| | | scjf:[], |
| | | form:{ |
| | | name:null, |
| | | datetimeArr:'', |
| | | payMethod:'', |
| | | flowType:'', |
| | | orderNo:'', |
| | | oprationMan:'', |
| | | queryKey:'', |
| | | shenheState:'', |
| | | order:'', |
| | | sort:'' |
| | | }, |
| | |
| | | {value:'2',label:'未审核'}, |
| | | {value:'3',label:'未通过'} |
| | | ], |
| | | shenheStateList:[ |
| | | {value:'',label:'全部'}, |
| | | {value:'1',label:'已审核'}, |
| | | {value:'2',label:'未审核'}, |
| | | {value:'3',label:'未通过'} |
| | | ], |
| | | fxyList:{ |
| | | rows:[], |
| | | total:0, |
| | | pageSize:10, |
| | | currentPage:1, |
| | | }, |
| | | height:'calc(100vh - 240px)', |
| | | }, |
| | | |
| | | |
| | | created: function () { |
| | | this.loadInfo(); |
| | | window.addEventListener("keydown", this.keydown); |
| | | //初始化编辑器 |
| | | ue = UE.getEditor('description'); |
| | | //百度编辑器 |
| | |
| | | }, |
| | | loadParamSetting() { |
| | | let _this = this; |
| | | //加载配置 |
| | | let data=_this.getRequestParam(); |
| | | data.limit=_this.fxyList.pageSize; |
| | | data.offset=_this.fxyList.pageSize |
| | | AjaxProxy.requst({ |
| | | app: _this, |
| | | data: {}, |
| | | url: basePath + '/score/fenXiaoUser/fenXiaoUser', |
| | | data:data, |
| | | url: basePath + '/fenXiao/fenXiaoUser/findShopSalesmanApplyList', |
| | | callback: function (data) { |
| | | console.log("over"); |
| | | _this.fxyList.rows = data.rows; |
| | | _this.fxyList.total=data.total; |
| | | } |
| | | }); |
| | | }, |
| | | getRequestParam(){ |
| | | let _this = this; |
| | | return { |
| | | shenheState:_this.form.shenheState, |
| | | order:_this.form.order, |
| | | sort:_this.form.sort, |
| | | } |
| | | }, |
| | | search:function(){ |
| | | this.fxyList.currentPage=1; |
| | | this.loadInfo(); |
| | | }, |
| | | keydown(evt){ |
| | | if(evt.keyCode==13) { |
| | | this.search(); |
| | | } |
| | | }, |
| | | resetForm(formName) { |
| | | this.$refs[formName].resetFields(); |
| | | }, |
| | | sortChange:function (column){ |
| | | if(column.order){ |
| | | if(column.order.indexOf("desc")){ |
| | | this.form.order="desc"; |
| | | }else{ |
| | | this.form.order="asc"; |
| | | } |
| | | this.form.sort=column.prop; |
| | | this.loadInfo(); |
| | | } |
| | | }, |
| | | |
| | | submit() { |
| | | } |