管理端推广员修改
parent
e8386788ce
commit
fd79239465
|
@ -15,12 +15,12 @@
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="推广员名称" prop="nickname">
|
<el-form-item label="推广员名称" prop="nickname">
|
||||||
<el-input v-model="queryParams.nickname" placeholder="请输入" clearable @keyup.enter.native="handleQuery"/>
|
<el-input v-model="queryParams.nickname" placeholder="请输入" clearable @keyup.enter.native="handleQuery"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="注册来源" prop="sourceType">
|
<el-form-item label="注册来源" prop="sourceType">
|
||||||
<el-select v-model="queryParams.sourceType" placeholder="请选择来源" clearable @keyup.enter.native="handleQuery">
|
<el-select v-model="queryParams.sourceType" placeholder="请选择来源" clearable @keyup.enter.native="handleQuery">
|
||||||
<el-option :value="1" label="后台注册"/>
|
<el-option value="1" label="后台注册"/>
|
||||||
<el-option :value="2" label="扫码注册"/>
|
<el-option value="2" label="扫码注册"/>
|
||||||
</el-select>
|
</el-select>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="手机号" prop="mobile">
|
<el-form-item label="手机号" prop="mobile">
|
||||||
|
@ -58,7 +58,7 @@
|
||||||
<el-table-column label="手机号" align="center" prop="mobile"/>
|
<el-table-column label="手机号" align="center" prop="mobile"/>
|
||||||
<el-table-column label="注册来源" align="center" prop="sourceType">
|
<el-table-column label="注册来源" align="center" prop="sourceType">
|
||||||
<template v-slot="scope">
|
<template v-slot="scope">
|
||||||
<div>{{scope.row.sourceType == 1?'后台注册':'扫码注册'}}</div>
|
<div>{{scope.row.sourceType == "1"?'后台注册':'扫码注册'}}</div>
|
||||||
</template>
|
</template>
|
||||||
</el-table-column>
|
</el-table-column>
|
||||||
<el-table-column label="所属组织" align="center" prop="orgName"/>
|
<el-table-column label="所属组织" align="center" prop="orgName"/>
|
||||||
|
@ -98,8 +98,14 @@
|
||||||
</el-radio>
|
</el-radio>
|
||||||
</el-radio-group>
|
</el-radio-group>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
|
<el-form-item label="注册来源" prop="sourceType">
|
||||||
|
<el-select v-model="form.sourceType" placeholder="请选择来源" clearable disabled>
|
||||||
|
<el-option value="1" label="后台注册"/>
|
||||||
|
<el-option value="2" label="扫码注册"/>
|
||||||
|
</el-select>
|
||||||
|
</el-form-item>
|
||||||
<el-form-item label="推广员姓名" prop="nickname">
|
<el-form-item label="推广员姓名" prop="nickname">
|
||||||
<el-input v-model="form.nickname" placeholder="请输入"/>
|
<el-input v-model="form.nickname" maxlength="100" placeholder="请输入"/>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item label="推广员手机号" prop="mobile">
|
<el-form-item label="推广员手机号" prop="mobile">
|
||||||
<el-input v-model="form.mobile" placeholder="请输入"/>
|
<el-input v-model="form.mobile" placeholder="请输入"/>
|
||||||
|
@ -258,7 +264,8 @@ export default {
|
||||||
userId: null,
|
userId: null,
|
||||||
},
|
},
|
||||||
// 表单参数
|
// 表单参数
|
||||||
form: {},
|
form: {
|
||||||
|
},
|
||||||
// 表单校验
|
// 表单校验
|
||||||
rules: {
|
rules: {
|
||||||
deptId: [{
|
deptId: [{
|
||||||
|
@ -369,6 +376,7 @@ export default {
|
||||||
handleAdd() {
|
handleAdd() {
|
||||||
this.reset();
|
this.reset();
|
||||||
this.form.status = 0
|
this.form.status = 0
|
||||||
|
this.form.sourceType = "1"
|
||||||
this.open = true;
|
this.open = true;
|
||||||
this.title = '添加推广员';
|
this.title = '添加推广员';
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue