Commit 0a936829 by 无尘

fix: 修改分配接口参数

parent ba3f54f8
......@@ -3,7 +3,7 @@
* @Author : 无尘
* @Date : 2020-08-13 14:02:22
* @LastEditors: 无尘
* @LastEditTime: 2020-09-16 15:13:04
* @LastEditTime: 2020-09-16 15:45:31
* @FilePath : haoban-4\src\components\app\my-customer\store-list.vue
-->
<!--
......@@ -204,8 +204,8 @@ export default {
wxEnterpriseId: that.wxEnterpriseId,
storeGroupId: that.departObj.storeGroupId,
enterpriseId: that.brandId,
searchName: that.searchInput || '', // 搜索字段
storeTypeId: that.storeTypeId,
search: that.searchInput || '', // 搜索字段
storeType: that.storeTypeId,
pageNum: that.currentPage, // 当前页
pageSize: that.pageSize // 一页显示个数
};
......
......@@ -4,7 +4,7 @@
* @Author: 无尘
* @Date: 2020-08-20 14:36:37
* @LastEditors: 无尘
* @LastEditTime: 2020-09-16 15:37:19
* @LastEditTime: 2020-09-16 15:45:02
-->
<template>
<div class="customer-assign-wrap">
......@@ -41,7 +41,7 @@
<el-option label="无归属" value="-1"></el-option>
<el-option v-for="item in clerkOptions" :key="item.clerkId" :label="item.clerkName" :value="item.clerkId"> </el-option>
</el-select><el-select class="w-168 m-l-10" v-model="storeBrandId" placeholder="" @change="changeCondition">
<el-option v-for="item in storeBrandOptions" :key="item.clerkId" :label="item.clerkName" :value="item.clerkId"></el-option>
<el-option v-for="item in storeBrandOptions" :key="item.brandId" :label="item.brandName" :value="item.brandId"></el-option>
</el-select>
</div>
<el-button type="primary" @click="toAssign">批量分配会员</el-button>
......@@ -583,6 +583,7 @@ export default {
toGetNavData() {
const that = this;
let params = {
enterpriseId: that.brandId,
wxEnterpriseId: that.wxEnterpriseId,
storeInfoId: that.storeObj.storeInfoId
};
......@@ -613,7 +614,7 @@ export default {
getListBrand(para)
.then(res => {
that.storeBrandOptions = res.result || [];
that.storeBrandId = res.result.length ? res.result[0].storeBrandId : '';
that.storeBrandId = res.result.length ? res.result[0].brandId : '';
})
.catch(function(error) {
......@@ -650,8 +651,9 @@ export default {
pageNum: that.currentPage,
pageSize: that.pageSize,
storeInfoId: that.storeObj.storeInfoId,
clerkId: that.clerkId,
keyword: that.searchInput
mainClerkId: that.clerkId,
brandId: that.storeBrandId,
search: that.searchInput
};
getMemberList(para)
.then(res => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment