|
|
@@ -311,6 +311,22 @@
|
|
|
></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item label="推荐人" prop="referrerName">
|
|
|
+ <el-input
|
|
|
+ style="width: 100%"
|
|
|
+ v-model="formData.referrerName"
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
+ <el-col :span="8">
|
|
|
+ <el-form-item label="推荐人工号" prop="referrerId">
|
|
|
+ <el-input
|
|
|
+ style="width: 100%"
|
|
|
+ v-model="formData.referrerId"
|
|
|
+ ></el-input>
|
|
|
+ </el-form-item>
|
|
|
+ </el-col>
|
|
|
</el-row>
|
|
|
</el-form>
|
|
|
<div class="footerHandle" style="text-align: right">
|
|
|
@@ -516,6 +532,11 @@ export default {
|
|
|
isSex: true
|
|
|
},
|
|
|
{ prop: "mobile", label: "联系电话", minWidth: 100, sortable: false },
|
|
|
+ {
|
|
|
+ prop: "type",
|
|
|
+ label: "类型",
|
|
|
+ formatter:this.typeFormatter
|
|
|
+ },
|
|
|
{
|
|
|
prop: "roleId",
|
|
|
label: "角色",
|
|
|
@@ -528,6 +549,14 @@ export default {
|
|
|
type: "text",
|
|
|
minWidth: 100,
|
|
|
},
|
|
|
+ {
|
|
|
+ prop: "referrerName",
|
|
|
+ label: "推荐人",
|
|
|
+ }, {
|
|
|
+ prop: "referrerId",
|
|
|
+ label: "推荐人工号",
|
|
|
+ minWidth: 100,
|
|
|
+ },
|
|
|
{
|
|
|
prop: "approveTime",
|
|
|
label: "审核时间",
|
|
|
@@ -590,6 +619,9 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
+ typeFormatter(row) {
|
|
|
+ return row.type==1?'合伙人':row.type==2?'工作室':'普通用户'
|
|
|
+ },
|
|
|
closeDialogOut() {
|
|
|
this.showRemark = false;
|
|
|
},
|
|
|
@@ -674,6 +706,7 @@ export default {
|
|
|
leaderName: this.pageData.leaderId,
|
|
|
agentFlag: 0,
|
|
|
roleId: "22",
|
|
|
+ examine:1,
|
|
|
pageNum: this.pageData.pageNum,
|
|
|
pageSize: this.pageData.pageSize,
|
|
|
};
|
|
|
@@ -735,7 +768,8 @@ export default {
|
|
|
this.$api.dict
|
|
|
.findByLableName(typeName)
|
|
|
.then((response) => {
|
|
|
- this[typeName + "options"] = response.data; // 把获取到的数据赋给this.data
|
|
|
+ let arr=response.data.filter(e=>(e.value!=='0' && e.value!=='1'))
|
|
|
+ this[typeName + "options"] = arr; // 把获取到的数据赋给this.data
|
|
|
})
|
|
|
.catch((error) => {
|
|
|
this[typeName + "options"] = [];
|