修改
This commit is contained in:
@@ -462,7 +462,7 @@ export default {
|
||||
this.originData = null;
|
||||
this.hasData = true;
|
||||
if (this.$refs.searchBarForm) {
|
||||
this.$refs.searchBarForm.form.timeVal = [];
|
||||
// this.$refs.searchBarForm.form.timeVal = [];
|
||||
}
|
||||
},
|
||||
|
||||
|
||||
@@ -216,6 +216,7 @@ import {
|
||||
import { getTree } from '@/api/base/equipment';
|
||||
import { getEquipmentTypePage } from '@/api/base/equipmentType';
|
||||
import { getEquipmentOverall } from '@/api/base/equipment';
|
||||
import { getTenantId } from '@/utils/auth'
|
||||
|
||||
// import * as XLSX from 'xlsx';
|
||||
// import FileSaver from 'file-saver';
|
||||
@@ -569,7 +570,7 @@ export default {
|
||||
const token = getAccessToken();
|
||||
const headers = new Headers({
|
||||
Authorization: `Bearer ${token}`,
|
||||
'tenant-id': store.getters.userId,
|
||||
'tenant-id': getTenantId(),
|
||||
'Content-Type': 'text/event-stream',
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user