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