|
@@ -66,7 +66,7 @@ import { commonMixin } from '@/utils/mixin'
|
|
|
import { STable, VSelect } from '@/components'
|
|
|
import AreaList from '@/views/common/areaList.js'
|
|
|
import subarea from '@/views/common/subarea.js'
|
|
|
-import { queryAuditPageList } from '@/api/promotion'
|
|
|
+import { queryDealerPage } from '@/api/promotion'
|
|
|
import { getDealerListInfo } from '@/api/dealer'
|
|
|
export default {
|
|
|
name: 'ChooseDealer',
|
|
@@ -78,6 +78,10 @@ export default {
|
|
|
default: function () {
|
|
|
return null
|
|
|
}
|
|
|
+ },
|
|
|
+ promotionSn: {
|
|
|
+ type: String,
|
|
|
+ default: ''
|
|
|
}
|
|
|
},
|
|
|
data () {
|
|
@@ -138,8 +142,9 @@ export default {
|
|
|
},
|
|
|
loadData () {
|
|
|
this.spinning = true
|
|
|
- const params = { pageSize: 20, pageNo: 1, ...this.pagination }
|
|
|
- queryAuditPageList(Object.assign(params, this.queryParam)).then(res => {
|
|
|
+ const params = { pageSize: 20, pageNo: 1, ...this.pagination, promotionSn: this.promotionSn }
|
|
|
+
|
|
|
+ queryDealerPage(Object.assign(params, this.queryParam)).then(res => {
|
|
|
let data
|
|
|
if (res.status == 200) {
|
|
|
data = res.data
|