|
@@ -57,6 +57,11 @@ export default {
|
|
|
notDealerSn: {
|
|
|
type: Array,
|
|
|
default: function () { return [] }
|
|
|
+ },
|
|
|
+ // 默认有权限
|
|
|
+ dataAuthFlag: {
|
|
|
+ type: [String, Number],
|
|
|
+ default: 1
|
|
|
}
|
|
|
},
|
|
|
data () {
|
|
@@ -76,7 +81,7 @@ export default {
|
|
|
const fetchId = this.lastFetchId
|
|
|
this.data = []
|
|
|
this.fetching = true
|
|
|
- const params = { pageNo: 1, pageSize: 20 }
|
|
|
+ const params = { pageNo: 1, pageSize: 20, dataAuthFlag: this.dataAuthFlag }
|
|
|
if (this.itemSn) {
|
|
|
params.dealerSn = this.itemSn
|
|
|
} else {
|