|
@@ -139,6 +139,7 @@ export default {
|
|
|
Filters: '',
|
|
|
PageNumber: this.page.pageNumber,
|
|
|
PageSize: this.page.pageSize,
|
|
|
+ Orders: 'EquipID asc'
|
|
|
},
|
|
|
type: this.zone,
|
|
|
spaceId: this.spaceId
|
|
@@ -157,7 +158,7 @@ export default {
|
|
|
pa.data.Filters += `;EquipName contain "${this.keycode}" or EquipLocalName contain "${this.keycode}" or EquipLocalID contain "${this.keycode}"`
|
|
|
}
|
|
|
// 删除首尾分号
|
|
|
- pa.data.Filters = pa.data.Filters.replace(/(^;)|(;$)/g,'');
|
|
|
+ pa.data.Filters = pa.data.Filters.replace(/(^;)|(;$)/g, '');
|
|
|
if (pa.data.Filters == '') {
|
|
|
delete pa.data.Filters
|
|
|
}
|