Compare commits

...

4 Commits

Author SHA1 Message Date
Jruome 7910334283 管理端 推广员修改 2023-06-16 15:04:30 +08:00
Jruome a47200d78a Merge remote-tracking branch 'origin/test' 2023-06-16 15:03:45 +08:00
Jruome 1a49815b43 Merge remote-tracking branch 'origin/master' 2023-06-16 11:40:51 +08:00
tangqian 683c14137c Merge branch 'feature/mall_product' 2023-06-15 16:20:17 +08:00
3 changed files with 8 additions and 7 deletions

View File

@ -4,7 +4,7 @@
<div slot="header" class="clearfix">
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="100px">
<el-form-item label="快速查看" class="width100" prop="type">
<el-radio-group v-model="queryParams.type" type="button" class="mr20" size="small" @change="getList">
<el-radio-group v-model="queryParams.type" type="button" class="mr20" size="small" @change="handleChange">
<el-radio-button v-for="(item,i) in lookList" :label=i+1 :key="i">{{item.name}}</el-radio-button>
</el-radio-group>
</el-form-item>
@ -113,10 +113,13 @@ export default {
created() {
this.getList();
},
computed:{
},
methods: {
handleChange(){
this.queryParams ={type:this.queryParams.type}
this.getList()
},
onchangeTime(value){
this.queryParams.type = null
this.queryParams.startTime = value[0]
this.queryParams.endTime = value[1]
},

View File

@ -5,7 +5,6 @@
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="110px">
<el-form-item label="所属组织" prop="deptId">
<treeselect style="width: 240px;" v-model="queryParams.deptId" :options="deptOptions" :show-count="true"
:clearable="false"
placeholder="请选择所属组织" :normalizer="normalizer" />
</el-form-item>
<!-- <el-form-item label="启用状态" prop="status">-->
@ -18,7 +17,7 @@
<el-input v-model="queryParams.nickname" placeholder="请输入" clearable @keyup.enter.native="handleQuery"/>
</el-form-item>
<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" @clear="()=>{queryParams.sourceType = undefined}">
<el-option value="1" label="后台注册"/>
<el-option value="2" label="扫码注册"/>
</el-select>

View File

@ -5,7 +5,6 @@
<el-form :model="queryParams" ref="queryForm" size="small" :inline="true" v-show="showSearch" label-width="110px">
<el-form-item label="所属组织" prop="deptId">
<treeselect style="width: 240px;" v-model="queryParams.deptId" :options="deptOptions" :show-count="true"
:clearable="false"
placeholder="请选择所属组织" :normalizer="normalizer"/>
</el-form-item>
<el-form-item label="启用状态" prop="status">
@ -18,7 +17,7 @@
<el-input v-model="queryParams.nickname" placeholder="请输入" clearable @keyup.enter.native="handleQuery"/>
</el-form-item>
<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" @clear="()=>{queryParams.sourceType = undefined}">
<el-option value="1" label="后台注册"/>
<el-option value="2" label="扫码注册"/>
</el-select>