|
@@ -707,7 +707,7 @@ function getMonitor(flag?) {
|
|
} else if (deviceType.value.startsWith('gasDayReport')) {
|
|
} else if (deviceType.value.startsWith('gasDayReport')) {
|
|
let searchParams = glob.sysOrgCode == 'sdmtjtbetmk' ? searchReportParam1.value : searchReportParam.value
|
|
let searchParams = glob.sysOrgCode == 'sdmtjtbetmk' ? searchReportParam1.value : searchReportParam.value
|
|
await getSearchReport(searchParams)//瓦斯日报
|
|
await getSearchReport(searchParams)//瓦斯日报
|
|
- } else if (deviceType.value.startsWith('substation_normal')) {//分站
|
|
|
|
|
|
+ } else if (deviceType.value.startsWith('substation')) {//分站
|
|
await getStationList()
|
|
await getStationList()
|
|
} else {
|
|
} else {
|
|
await getDataSource();
|
|
await getDataSource();
|
|
@@ -901,12 +901,12 @@ function goLocation(record) {
|
|
actions.setGlobalState({ locationId: record.devNum, locationObj: null, pageObj: null, type: record['deviceType'].split('_')[0] });
|
|
actions.setGlobalState({ locationId: record.devNum, locationObj: null, pageObj: null, type: record['deviceType'].split('_')[0] });
|
|
} else if (deviceType.value == 'bundleSpyDayReport' || deviceType.value == 'dustDayReport' || deviceType.value == 'bundleDayReport') {
|
|
} else if (deviceType.value == 'bundleSpyDayReport' || deviceType.value == 'dustDayReport' || deviceType.value == 'bundleDayReport') {
|
|
actions.setGlobalState({ locationName: record.jcdd, locationObj: null, pageObj: null, type: record['deviceType'] });
|
|
actions.setGlobalState({ locationName: record.jcdd, locationObj: null, pageObj: null, type: record['deviceType'] });
|
|
- } else if (deviceType.value == 'gasDay_normal') {
|
|
|
|
|
|
+ } else if (deviceType.value.startsWith('gasDay')) {
|
|
actions.setGlobalState({ locationName: record.strInstallPos, locationObj: null, pageObj: null, type: record['deviceType'] });
|
|
actions.setGlobalState({ locationName: record.strInstallPos, locationObj: null, pageObj: null, type: record['deviceType'] });
|
|
} else if (deviceType.value == 'gasDayReport') {
|
|
} else if (deviceType.value == 'gasDayReport') {
|
|
actions.setGlobalState({ locationName: record.jcdd, locationObj: null, pageObj: null, type: record['deviceType'] });
|
|
actions.setGlobalState({ locationName: record.jcdd, locationObj: null, pageObj: null, type: record['deviceType'] });
|
|
- } else if (deviceType.value == 'substation_normal') {
|
|
|
|
- actions.setGlobalState({ locationName: record.strinstallpos, locationObj: null, pageObj: null, type: record['deviceType'] });
|
|
|
|
|
|
+ } else if (deviceType.value.startsWith('substation')) {
|
|
|
|
+ actions.setGlobalState({ locationId: record.id, locationObj: null, pageObj: null, type: record['deviceType'] });
|
|
} else {
|
|
} else {
|
|
if (deviceType.value.startsWith('location')) {
|
|
if (deviceType.value.startsWith('location')) {
|
|
actions.setGlobalState({ locationId: record.deviceID, locationObj: null, pageObj: null, type: 'person' });
|
|
actions.setGlobalState({ locationId: record.deviceID, locationObj: null, pageObj: null, type: 'person' });
|