|
@@ -44,12 +44,12 @@ export default {
|
|
|
default: false
|
|
|
},
|
|
|
mainFlag: {
|
|
|
- type: Number,
|
|
|
- default: 1
|
|
|
+ type: Boolean,
|
|
|
+ default: true
|
|
|
},
|
|
|
satelliteFlag: {
|
|
|
- type: Number,
|
|
|
- default: 1
|
|
|
+ type: Boolean,
|
|
|
+ default: false
|
|
|
}
|
|
|
},
|
|
|
data () {
|
|
@@ -69,7 +69,10 @@ export default {
|
|
|
const fetchId = this.lastFetchId
|
|
|
this.data = []
|
|
|
this.fetching = true
|
|
|
- const params = { pageNo: 1, pageSize: 20, mainFlag: this.mainFlag }
|
|
|
+ const params = { pageNo: 1, pageSize: 20, mainFlag: this.mainFlag ? 1 : 0 }
|
|
|
+ if (this.satelliteFlag) {
|
|
|
+ params.satelliteFlag = 1
|
|
|
+ }
|
|
|
if (this.itemSn) {
|
|
|
params.customerSn = this.itemSn
|
|
|
} else {
|