|
@@ -27,6 +27,12 @@ export default {
|
|
|
disabled: {
|
|
|
type: [String, Number],
|
|
|
default: ''
|
|
|
+ },
|
|
|
+ params: {
|
|
|
+ type: Object,
|
|
|
+ default: ()=>{
|
|
|
+ return {}
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
data () {
|
|
@@ -46,7 +52,7 @@ export default {
|
|
|
const fetchId = this.lastFetchId
|
|
|
this.data = []
|
|
|
this.fetching = true
|
|
|
- jsxorgList({ 'name': dealerName, pageNo: 1, pageSize: 20 }).then(res => {
|
|
|
+ jsxorgList(Object.assign({ 'name': dealerName, pageNo: 1, pageSize: 20 }, this.params)).then(res => {
|
|
|
if (fetchId !== this.lastFetchId) {
|
|
|
return
|
|
|
}
|