|
@@ -143,7 +143,7 @@
|
|
|
|
|
|
<script>
|
|
|
import { mapGetters } from 'vuex'
|
|
|
-import { getStagecustomerListV2 } from '@/api/basic_data/dealer'
|
|
|
+import { getDealerListV2 } from '@/api/basic_data/dealer'
|
|
|
import {
|
|
|
addEngineeringUser,
|
|
|
deleteRole,
|
|
@@ -211,17 +211,10 @@ export default {
|
|
|
return true
|
|
|
},
|
|
|
// 获取子经销商
|
|
|
- getStagecustomerListV2() {
|
|
|
- getStagecustomerListV2({
|
|
|
+ getDealerListV2() {
|
|
|
+ getDealerListV2({
|
|
|
pageNum: 1,
|
|
|
- pageSize: -1,
|
|
|
- params: [
|
|
|
- {
|
|
|
- param: 'a.jiaxian_type',
|
|
|
- compare: '=',
|
|
|
- value: 'KING'
|
|
|
- }
|
|
|
- ]
|
|
|
+ pageSize: -1
|
|
|
}).then(res => {
|
|
|
this.subCustomerList = res.data.records
|
|
|
})
|
|
@@ -276,7 +269,7 @@ export default {
|
|
|
}
|
|
|
})
|
|
|
}
|
|
|
- this.getStagecustomerListV2()
|
|
|
+ this.getDealerListV2()
|
|
|
},
|
|
|
|
|
|
// 取消 新增编辑
|