管理端推广员修改

feature/mall_product
Jruome 2023-06-09 10:20:18 +08:00
parent e8386788ce
commit fd79239465
1 changed files with 14 additions and 6 deletions

View File

@ -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 = '添加推广员';
},