|
@@ -605,12 +605,13 @@ export default {
|
|
|
},
|
|
|
|
|
|
// 获取经销商列表
|
|
|
- async getDealerList() {
|
|
|
+ async getDealerList(id) {
|
|
|
const result = await new Promise((resolve, reject) => {
|
|
|
getDealerList({
|
|
|
pageNum: 1,
|
|
|
pageSize: -1,
|
|
|
- bindUser: false
|
|
|
+ bindUser: false,
|
|
|
+ adminUserId: id || ''
|
|
|
})
|
|
|
.then(res => {
|
|
|
this.dealerList = res.data.records
|
|
@@ -707,7 +708,7 @@ export default {
|
|
|
this.AccountFormType = type
|
|
|
this.AccountFormVisible = true
|
|
|
await this.getMerchantList()
|
|
|
- await this.getDealerList()
|
|
|
+ await this.getDealerList(id)
|
|
|
await this.getRoleList()
|
|
|
await this.getCategoryList()
|
|
|
|