|  |  | 
 |  |  |         } | 
 |  |  |         .el-aside { | 
 |  |  |             color: #333; | 
 |  |  |             line-height: 50px; | 
 |  |  |             line-height: 15px; | 
 |  |  |         } | 
 |  |  |         .el-main { | 
 |  |  |             color: #333; | 
 |  |  |             line-height: 50px; | 
 |  |  |             line-height: 15px; | 
 |  |  |         } | 
 |  |  |         .box-card { | 
 |  |  |             width: 160px; | 
 |  |  |             border-radius: 5px; | 
 |  |  |             color: #ffffff; | 
 |  |  |             padding: 5px 5px; | 
 |  |  |             margin-right: 20px; | 
 |  |  |             cursor: pointer; | 
 |  |  |             float: right; | 
 |  |  |         } | 
 |  |  |         .el-card__body { | 
 |  |  |             padding: 0px; | 
 |  |  |         } | 
 |  |  |     </style> | 
 |  |  | </head> | 
 |  |  |  | 
 |  |  | <body> | 
 |  |  | <div class="ibox-content" id="app" v-cloak> | 
 |  |  |     <el-row> | 
 |  |  |         <p class="el-big-title">个人详情</p> | 
 |  |  |     </el-row> | 
 |  |  |     <el-container> | 
 |  |  |         <el-aside width="200px" style="display:flex;align-items: center;"> | 
 |  |  |             <el-avatar :size="100" :src="basicdetail.avatarUrl" style="display:flex;align-items: center;margin-left: 50px"></el-avatar> | 
 |  |  |         <el-aside width="60px" style="display:flex;align-items: center;"> | 
 |  |  |             <el-avatar :size="50" :src="basicdetail.avatarUrl" style="display:flex;align-items: center;margin-left: 10px"></el-avatar> | 
 |  |  |         </el-aside> | 
 |  |  |         <el-main> | 
 |  |  |             <el-row style="display:flex;align-items: center;"> | 
 |  |  |                 <el-col :span="3" style="display:flex;align-items: center;"> | 
 |  |  |             <el-row style="display:flex;align-items: center;padding: 10px;"> | 
 |  |  |                 <el-col :span="8" style="display:flex;align-items: center;"> | 
 |  |  |                     <span style="font-size: 20px;">{{basicdetail.nickname}} </span> | 
 |  |  |                 </el-col> | 
 |  |  |                 <el-col :span="3"> | 
 |  |  |  | 
 |  |  |                 <el-col :span="6"> | 
 |  |  |                     <el-select v-model="basicdetail.grade" @focus="getDatalist()" @change="changeSaleManGrade(basicdetail.grade)" placeholder="请选择" filterable allow-create> | 
 |  |  |                         <el-option v-for="item in salemanGradeList " :key="item.id" :label="item.name" :value="item.id"></el-option> | 
 |  |  |                     </el-select> | 
 |  |  |                 </el-col> | 
 |  |  |                 <el-col :span="18"> | 
 |  |  |                 <el-col :span="10"> | 
 |  |  |                 </el-col> | 
 |  |  |             </el-row> | 
 |  |  |             <el-row style="display:flex;"> | 
 |  |  |             <el-row style="display:flex;padding: 5px;"> | 
 |  |  |                 <el-col> | 
 |  |  |                     <span> | 
 |  |  |                         手机号码:{{basicdetail.phone}}   | | 
 |  |  |                         加入时间:{{basicdetail.createTime}}   | | 
 |  |  |                         加入时间:{{basicdetail.createTime}} | 
 |  |  |                     </span> | 
 |  |  |                 </el-col> | 
 |  |  |             </el-row> | 
 |  |  |             <el-row style="display:flex;padding: 5px;"> | 
 |  |  |                 <el-col> | 
 |  |  |                     <span> | 
 |  |  |                         邀请人:{{basicdetail.parentUser}}   | | 
 |  |  |                         来源: | 
 |  |  |                             <span v-if="basicdetail.applyWay == 1">自主申请</span> | 
 |  |  | 
 |  |  |                 </el-col> | 
 |  |  |             </el-row> | 
 |  |  |         </el-main> | 
 |  |  |         <el-main> | 
 |  |  |             <el-row> | 
 |  |  |                 <el-row style="display:flex;align-items: center;text-align: center;"> | 
 |  |  |                     <el-card class="box-card" style="background-color: #0f9aef;"> | 
 |  |  |                         <div style="padding:10px;font-size: 20px;">{{basicdetail.lowerLevelNum}}人</div> | 
 |  |  |                         <div>绑定客户</div> | 
 |  |  |                     </el-card > | 
 |  |  |                     <el-card class="box-card" style="background: #67C23A;"> | 
 |  |  |                         <div style="padding:10px;font-size: 20px;">{{basicdetail.invitedNum}}人</div> | 
 |  |  |                         <div>邀请下级</div> | 
 |  |  |                     </el-card > | 
 |  |  |                     <el-card class="box-card" style="background: rgb(121, 187, 255);"> | 
 |  |  |                         <div style="padding:10px;font-size: 20px;">{{basicdetail.totalRevenue}}元</div> | 
 |  |  |                         <div>累计收益</div> | 
 |  |  |                     </el-card > | 
 |  |  |                     <el-card class="box-card" style="background: rgb(93 191 45);"> | 
 |  |  |                         <div style="padding:10px;font-size: 20px;">{{basicdetail.balance}}元</div> | 
 |  |  |                         <div>待结算</div> | 
 |  |  |                     </el-card > | 
 |  |  |                 </el-row> | 
 |  |  |             </el-row> | 
 |  |  |         </el-main> | 
 |  |  |     </el-container> | 
 |  |  |     <el-row style="padding: 30px;"> | 
 |  |  |         <el-row :gutter="100"> | 
 |  |  |             <el-col class="line" :span="6" style="text-align: center"> | 
 |  |  |                 <el-card class="box-card" style="background-color: #eee;border-radius: 30px;"> | 
 |  |  |                     <div>绑定客户</div> | 
 |  |  |                     <div style="padding: 5px;font-size: 18px;">{{basicdetail.lowerLevelNum}}人</div> | 
 |  |  |                 </el-card > | 
 |  |  |             </el-col> | 
 |  |  |             <el-col class="line" :span="6" style="text-align: center"> | 
 |  |  |                 <el-card class="box-card" style="background-color: #eee;border-radius: 30px;"> | 
 |  |  |                     <div>邀请下级</div> | 
 |  |  |                     <div style="padding: 5px;font-size: 18px;">{{basicdetail.invitedNum}}人</div> | 
 |  |  |                 </el-card > | 
 |  |  |             </el-col> | 
 |  |  |             <el-col class="line" :span="6" style="text-align: center"> | 
 |  |  |                 <el-card class="box-card" style="background-color: #eee;border-radius: 30px;"> | 
 |  |  |                     <div>累计收益</div> | 
 |  |  |                     <div style="padding: 5px;font-size: 18px;">{{basicdetail.totalRevenue}}元</div> | 
 |  |  |                 </el-card > | 
 |  |  |             </el-col> | 
 |  |  |             <el-col class="line" :span="6" style="text-align: center"> | 
 |  |  |                 <el-card class="box-card" style="background-color: #eee;border-radius: 30px;"> | 
 |  |  |                     <div>待结算</div> | 
 |  |  |                     <div style="padding: 5px;font-size: 18px;">{{basicdetail.balance}}元</div> | 
 |  |  |                 </el-card > | 
 |  |  |             </el-col> | 
 |  |  |         </el-row> | 
 |  |  |     </el-row> | 
 |  |  |  | 
 |  |  |     <el-row> | 
 |  |  |         <el-tabs v-model="activeName" > | 
 |  |  |             <el-tab-pane label="绑定客户" name="first"> | 
 |  |  | 
 |  |  |                                 type="selection"> | 
 |  |  |                         </el-table-column> | 
 |  |  |                         <el-table-column | 
 |  |  |                                 label="客户"> | 
 |  |  |                                 label="客户" | 
 |  |  |                                 show-overflow-tooltip> | 
 |  |  |                             <template slot-scope="scope"> | 
 |  |  |                                 <img :src="scope.row.avatarUrl" width="40" height="40" class="head_pic"/> | 
 |  |  |                                 {{scope.row.nickname}} | 
 |  |  | 
 |  |  |                         </el-table-column> | 
 |  |  |                         <el-table-column | 
 |  |  |                                 prop="createTime" | 
 |  |  |                                 label="绑定时间"> | 
 |  |  |                         </el-table-column> | 
 |  |  |                         <el-table-column | 
 |  |  |                                 label="绑定方式"> | 
 |  |  |                             <template slot-scope="scope"> | 
 |  |  |                                 <span v-if="scope.row.applyWay == 1">自主申请</span> | 
 |  |  |                                 <span v-if="scope.row.applyWay == 2">自动添加</span> | 
 |  |  |                                 <span v-if="scope.row.applyWay == 3">上级邀请</span> | 
 |  |  |                                 <span v-if="scope.row.applyWay == 4">手动添加</span> | 
 |  |  |                             </template> | 
 |  |  |                                 label="绑定时间" | 
 |  |  |                                 show-overflow-tooltip> | 
 |  |  |                         </el-table-column> | 
 |  |  |                         <el-table-column | 
 |  |  |                                 label="客户状态"> | 
 |  |  | 
 |  |  |                     <el-table id="proj" :data="orderLevelList.rows"  :height="height" stripe:true  @sort-change="sortChange"> | 
 |  |  |                         <el-table-column | 
 |  |  |                                 prop="orderNo" | 
 |  |  |                                 label="订单编号"> | 
 |  |  |                                 label="订单编号" | 
 |  |  |                                 show-overflow-tooltip> | 
 |  |  |                         </el-table-column> | 
 |  |  |                         <el-table-column | 
 |  |  |                                 prop="orderMoney" | 
 |  |  | 
 |  |  |                         </el-table-column> | 
 |  |  |                         <el-table-column | 
 |  |  |                                 prop="storeName" | 
 |  |  |                                 label="下单门店"> | 
 |  |  |                                 label="下单门店" | 
 |  |  |                                 show-overflow-tooltip> | 
 |  |  |                         </el-table-column> | 
 |  |  |                         <el-table-column | 
 |  |  |                                 label="客户"> | 
 |  |  |                                 label="客户" | 
 |  |  |                                 show-overflow-tooltip> | 
 |  |  |                             <template slot-scope="scope"> | 
 |  |  |                                 <img :src="scope.row.avatarUrl" width="40" height="40" class="head_pic"/> | 
 |  |  |                                 {{scope.row.nickName}} | 
 |  |  | 
 |  |  |                         </el-table-column> | 
 |  |  |                         <el-table-column | 
 |  |  |                                 prop="createTime" | 
 |  |  |                                 label="时间"> | 
 |  |  |                                 label="时间" | 
 |  |  |                                 show-overflow-tooltip> | 
 |  |  |                         </el-table-column> | 
 |  |  |                         <el-table-column | 
 |  |  |                                 label="收益类型"> | 
 |  |  | 
 |  |  |                 pageSize:10, | 
 |  |  |                 currentPage:1, | 
 |  |  |             }, | 
 |  |  |             height:'calc(100vh - 240px)', | 
 |  |  |             height:'calc(100vh - 400px)', | 
 |  |  |         }, | 
 |  |  |  | 
 |  |  |         created: function () { | 
 |  |  | 
 |  |  |             }, | 
 |  |  |             //解绑 | 
 |  |  |             openExamineSaleMan(row) { | 
 |  |  |                 alert(this.activeName); | 
 |  |  |                 this.$confirm('是否解绑?', '解绑', { | 
 |  |  |                     distinguishCancelAndClose: true,//设置关闭按钮和不通过按钮的区别 | 
 |  |  |                     confirmButtonText: '同意', | 
 |  |  | 
 |  |  |                     url: basePath + '/fenXiao/fenXiaoUser/unbundlingSaleMan', | 
 |  |  |                     callback: function (data) { | 
 |  |  |                         _this.$message.success(data.info); | 
 |  |  |                         if(this.activeName == 'first'){ | 
 |  |  |                         if(_this.activeName == "first"){ | 
 |  |  |                             _this.loadParamSetting(); | 
 |  |  |                         } | 
 |  |  |                         if(this.activeName == 'second'){ | 
 |  |  |                         if(_this.activeName == "second"){ | 
 |  |  |                             _this.loadParamSettinglow(); | 
 |  |  |                         } | 
 |  |  |                         _this.loadParamSettingBasic(); | 
 |  |  |                     } | 
 |  |  |                 }); | 
 |  |  |             }, |